Koskamo

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.

context-doctor MCP logo, by gAI VenturesCommunity listingLocal stdioSource reviewed; not executedPublished by gAI Ventures
Vendor documentation

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

Community listingRegistry 0.40.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

context-doctor 0.40.0

npm
context-doctor package definition
{
  "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.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "context-doctor-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "context-doctor@0.40.0",
        "mcp"
      ]
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "context-doctor-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "context-doctor@0.40.0",
        "mcp"
      ]
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "context-doctor-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "context-doctor@0.40.0",
        "mcp"
      ]
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "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.