See where your AI agent's tokens go and stop paying for the ones that do nothing. Local CLI, MCP server, hook and proxy for Claude Code, Claude Desktop, Cursor, Codex, Gemini CLI and Anthropic/OpenAI/Gemini API apps. No API key, no telemetry.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add context-doctor -- npx -y context-doctor~/.codex/config.toml
[mcp_servers.context-doctor]
command = "npx"
args = ["-y", "context-doctor"]
# codex mcp add context-doctor -- npx -y context-doctor~/.cursor/mcp.json
{
"mcpServers": {
"context-doctor": {
"command": "npx",
"args": [
"-y",
"context-doctor"
]
}
}
}.vscode/mcp.json
{
"servers": {
"context-doctor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"context-doctor"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"context-doctor": {
"command": "npx",
"args": [
"-y",
"context-doctor"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"context-doctor": {
"command": "npx",
"args": [
"-y",
"context-doctor"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"context-doctor": {
"command": "npx",
"args": [
"-y",
"context-doctor"
]
}
}
}