context-doctor runs on your own machine — the client starts it, so there is no endpoint to ping. 1 140 installs a week from npm. Last commit 29 Nov 2026.
Cut LLM agent token use in Claude Code, Cursor, Codex, Gemini CLI. Local, no API key. gAI Ventures.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add context-doctor -- npx -y context-doctor mcp
{
"mcpServers": {
"context-doctor": {
"command": "npx",
"args": [
"-y",
"context-doctor",
"mcp"
]
}
}
}
[mcp_servers.context-doctor]
command = "npx"
args = ["-y", "context-doctor", "mcp"]
{
"mcpServers": {
"context-doctor": {
"command": "npx",
"args": [
"-y",
"context-doctor",
"mcp"
]
}
}
}
{
"servers": {
"context-doctor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"context-doctor",
"mcp"
]
}
}
}
We read the source, 8 h ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
r = subprocess.run(
const r = spawnSync(cmd, args, { ...RUN, cwd: toolCwd() });
const t = a.drop + i;
".npmrc", ".pypirc", ".netrc", "_netrc", ".git-credentials", ".pgpass", ".htpasswd", ".vault-token",
import { accessSync, chmodSync, constants as fsConstants, existsSync, lstatSync, mkdirSync, mkdtempSync, readdirSync, readFileSync, readlinkSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
Local memory & session search across fifty-three coding agents: Claude Code, Codex, Cursor.
Start, prompt and read AI coding agent sessions (Claude Code, Codex, Gemini CLI and more) in Codeman
Delegate from Claude Code to Gemini, Codex, Copilot, Cursor and opencode CLIs as sub-agents.
Your Google AI Pro plan in Claude, Codex and Gemini CLI: Gemini, Flow, Notebooks, Jules, Veo
On-demand, local code-context MCP server for AI coding agents with Tree-sitter AST.
Local-first persistent memory for coding agents: Claude Code, Codex, Cursor, Cline, Windsurf.
Tokens and cost for Claude Code, Codex and 22 more AI coding agents, from local session files.
Local-first intent and provenance for Codex, Claude Code, Cursor, Gemini CLI, and MCP agents.
Answers built from our own checks of this server.