Claude Code model router
Llm Interceptor
A MITM proxy tool to intercept, analyze and log AI coding assistant (Claude Code, Open Code, etc.) communications with LLM APIs
Install
npx skills add chouzz/llm-interceptorFound in the project README. Check it for setup steps after installing.
git clone https://github.com/chouzz/llm-interceptor.gitFrom the README
LLM Interceptor (LLI) 🔍 Proxy-layer microscope for LLM traffic analysis A cross-platform command-line tool that intercepts, analyzes, and logs communications between AI coding tools/agents (Claude Code, Cursor, Codex, OpenCode, etc.) and their backend LLM APIs. ✨ Features - Watch Mode - Interactive continuous capture with session management - One-Shot Capture (lli run) - Wrap any command (claude -p, codex exec, ...) with fully automated, non-interactive capture — ideal for scripted agent experiments - Transparent Inspection - See exactly what prompts are sent and what responses are received - Streaming Support - Captures both streaming (SSE) and non-streaming API responses - Multi-Provider - Works with Anthropic, OpenAI (Chat Completions and Responses API), Google, Groq, Together, Mistral, and more - Automatic Masking - Protects API keys and sensitive data in logs - Auto Processing - Automatically merges and splits session data - Cross-Platform - Works on Windows, macOS, and Linux 📦 Installation For AI coding agents (install the agent skill first) If you are an AI agent (OpenCode, Claude Code, Codex, Cursor, ...) reading this README: install the bundled agent skill first. It teaches you how to capture traffic with lli run and analyze existing traces/ directories (token usage, latency, tool calls, prompts) — including bootstrapping lli itself when it is not installed yet. This uses the open skills CLI and works with 70+ agents. Non-interactive examples: See Agent Skill for what the skill covers. The human-oriented CLI installation continues below. Using uv (recommended) Using pip From source Development setup Git does not copy hooks from .git/hooks when you clone a repository, so each new clone must install the project's pre-commit hook once: If you…
Details
- Repository
- chouzz/llm-interceptor
- Language
- Python
- Last updated
- 7 September 2026
FAQ
What is Llm Interceptor?
A MITM proxy tool to intercept, analyze and log AI coding assistant (Claude Code, Open Code, etc.) communications with LLM APIs It is a model router for Claude Code, from chouzz/llm-interceptor on GitHub.
How do I install Llm Interceptor?
Run npx skills add chouzz/llm-interceptor, then follow the setup in the README.
Is Llm Interceptor popular?
chouzz/llm-interceptor has 81 GitHub stars and 16 forks. It was last updated on 7 September 2026.
More model routers & proxies
Starbase
84bstaruk/starbase
⭐ A front-end starter kit and Claude Code boilerplate -- built on Vite 8, TypeScript 6, Tailwind 4, TanStack Router, and TanStack Query.
Openrouter Proxy
77aaravarr/openrouter-proxy
A zero-dependency proxy that unlocks free Xiaomi MiMo on OpenRouter for any client, and fixes SSE streaming issues with the VS Code Claude Code extension.
Clauderipple
85PBJ-2/clauderipple
Use GPT, DeepSeek, GLM, Gemini, Kimi and 400+ models in Claude Desktop's own model picker and in Claude Code, while staying signed in to your Claude subscription (1P, no gateway mode). Auto reasoning effort per prompt, subagents routed by difficulty, cache and limit warnings. Claude inside Codex too.
Datafog Python
80DataFog/datafog-python
Offline PII firewall for AI agents and LLM apps: fast local detection and redaction, Claude Code hook, LiteLLM guardrail. Zero network calls, one dependency.
Tamp
95sliday/tamp
Token compression proxy for Claude Code. 50% fewer tokens, zero behavior change.
Claudex
74StringKe/claudex
Multi-instance Claude Code manager with intelligent translation proxy. Use Claude Code with Grok, ChatGPT, DeepSeek, Gemini, Kimi, GLM, Ollama and more.
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.