ccglass
See what your coding agent (Claude Code, Codex, Kimi) sends to the model — local proxy + web dashboard
MCP Agents Market is an independent directory. We are not affiliated with jianshuo or ccglass, and we do not host or distribute it. All links point to the official GitHub repository.
ccglass is a local logging proxy and web dashboard that captures and visualizes exactly what AI coding agents send to their underlying language models. It works as a lightweight reverse-proxy that sits between coding assistants like Claude Code, Codex, DeepSeek-TUI, Reasonix, or Kimi and their API endpoints, recording full request details including system prompts, tool schemas, message history, token usage, cache statistics, and cost estimates. Unlike traditional HTTP proxies that fail with Node/native apps ignoring proxy environment variables, ccglass redirects traffic by temporarily overriding the client's base-URL configuration, requiring no certificate installation or TLS manipulation for most providers. The tool displays captured requests in real-time through a browser dashboard featuring conversation flow diagrams, turn-to-turn diffs, and per-request latency metrics.
Key Features
Use Cases
- 01Debug why an AI coding agent chose a specific tool or missed available context by inspecting the exact prompt and tool menu
- 02Monitor token usage and API costs across coding sessions to optimize prompt engineering and caching strategies
- 03Compare consecutive requests to understand how context windows evolve and identify cache optimization opportunities
- 04Analyze latency patterns and time-to-first-token metrics across different models or API providers
- 05Audit system prompts and tool schemas sent by third-party coding assistants for security or compliance review
- 06Self-inspect agent behavior during development by registering ccglass's MCP tools within Claude Code sessions
Related Plugins
View moreandrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
claude-mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Understand-Anything
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
rtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
ccglass — FAQ
What is ccglass and what does it do?+
ccglass is a local reverse-proxy and web dashboard that intercepts API requests from AI coding agents like Claude Code or Codex, logging everything they send to language models including prompts, tools, messages, tokens, and costs. It helps developers understand and debug agent behavior by making the entire request/response cycle visible in real-time.
How do I install ccglass?+
Install globally via npm with `npm install -g ccglass` or using Homebrew with `brew install jianshuo/tap/ccglass`. Then run `ccglass` to choose a client interactively, or run `ccglass claude`, `ccglass codex`, etc. to inspect a specific coding agent directly.
Which AI coding clients does ccglass support?+
ccglass supports Claude Code, Codex (in API-key mode), DeepSeek-TUI, Reasonix, Kimi, OpenCode, CodeBuddy, Qoder, and any client using Ollama, LM Studio, OpenRouter, GLM/Zhipu, AWS Bedrock, or Google Vertex AI. It also works with IDE extensions like Cursor, Cline, and Continue.dev when configured in BYOK mode.
Does ccglass require API keys or special configuration?+
ccglass itself requires no API keys—it only proxies your existing client's traffic. You must already have the necessary API keys configured for your coding agent (e.g., `ANTHROPIC_API_KEY` for Claude Code, `OPENAI_API_KEY` for Codex). ccglass temporarily overrides the base URL via environment variables to route requests through its proxy.
Is ccglass free and open source?+
Yes, ccglass is free and released under the MIT license. The source code is available at https://github.com/jianshuo/ccglass.
Why doesn't ccglass work with Codex in ChatGPT login mode?+
When Codex authenticates via ChatGPT login, it uses a WebSocket transport to `wss://chatgpt.com` that bypasses the `OPENAI_BASE_URL` environment variable ccglass relies on. Run `codex doctor` to check your auth mode; switch to API-key mode (`OPENAI_API_KEY`) to enable ccglass interception.
How do I install ccglass?+
Open the source repository on GitHub and follow its README. ccglass is a plugin — MCP Agents Market links you directly to the official repo.
Is ccglass free?+
ccglass is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.