A side-by-side look at the Context Doctor and MCP Cost Optimizer MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Context Doctor for conversational ai work as a local process; choose MCP Cost Optimizer for conversational ai as a local process. You can also run both side by side in one mcpServers block.
profile_context, optimize_context, pack_context.CONTROL_PLANE_URL.estimate_llm_cost, analyze_llm_usage, compare_llm_models.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Conversational AI | Conversational AI |
| Quality signal | 56/100 · Good | 56/100 · Good |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | Not declared | No auth required |
| Pricing | Not declared | Free |
| Required env vars | None listed | CONTROL_PLANE_URL |
| Verified owner | Community listing | Community listing |
| GitHub stars | 2 | 0 |
| Directory activity | 0 views 0 installs 0 upvotes | 0 views 0 installs 0 upvotes |
| Tools | 4 | 3 |
| Full listing | View Context Doctor | View MCP Cost Optimizer |
profile_contextToken breakdown by category, largest messages, findings with estimated savings. Takes either `conversation` (full JSON or text) or `sketch` (turns + large/repeated blocks, for chat apps)optimize_contextRewrites the conversation: dedupe, trim stale tool results, strip base64, optional history pruningpack_contextOnly the chunks of large local files or folders (or passed `text`) that a question needs, within `max_tokens`; outline without a query; `ids` to fetch more. Reads no files over HTTPcontext_best_practicesCurated checklist, optionally specialized for Anthropic / OpenAIestimate_llm_costSingle-request estimateanalyze_llm_usageCosts by model, unpriced models, duplicate opportunitycompare_llm_modelsIndependent migration scenarioPaste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
{
"mcpServers": {
"context-doctor": {
"command": "npx",
"args": [
"-y",
"context-doctor"
]
}
}
}
{
"mcpServers": {
"mcp-cost-optimizer": {
"command": "npx",
"args": [
"-y",
"mcp-cost-optimizer"
],
"env": {
"CONTROL_PLANE_URL": "YOUR_CONTROL_PLANE_URL_HERE"
}
}
}
}