context-doctor MCP
A local CLI and MCP server that measures AI agent token waste and removes unnecessary context to reduce costs. It works with Claude Code, Cursor, Codex, and other LLM apps without requiring an API key or sending telemetry.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Measure token waste in AI agent sessions
- Remove unnecessary context before it enters the model
- Apply cost-saving fixes to prompts
- Monitor token usage across multiple IDEs
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
context-doctor 0.40.0
{
"version": "0.40.0",
"transport": "stdio",
"identifier": "context-doctor",
"registryType": "npm",
"packageArguments": [
{
"type": "positional",
"value": "mcp"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"context-doctor-mcp": {
"command": "npx",
"args": [
"-y",
"context-doctor@0.40.0",
"mcp"
]
}
}
}Cline
{
"mcpServers": {
"context-doctor-mcp": {
"command": "npx",
"args": [
"-y",
"context-doctor@0.40.0",
"mcp"
]
}
}
}VS Code
{
"servers": {
"context-doctor-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"context-doctor@0.40.0",
"mcp"
]
}
}
}Claude Desktop
{
"mcpServers": {
"context-doctor-mcp": {
"command": "npx",
"args": [
"-y",
"context-doctor@0.40.0",
"mcp"
]
}
}
}Let your agent find its tools
Find servers like context-doctor MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.