mcp-context-cost

athakur3/mcp-context-cost
★ 1 stars TypeScript AI/LLM Updated today
Measure what your MCP servers cost you in context tokens — audit your own config, diff a change, gate it in CI
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-context-cost": {
      "command": "npx",
      "args": [
        "-y",
        "athakur3/mcp-context-cost"
      ]
    }
  }
}

README Excerpt

**What do the MCP servers in your config cost you before you type anything — and what did that last config change add to every session you will ever run?** Every MCP server you wire into an agent injects its tool schemas into the model's context on every single request. You pay that whether or not the agent ends up using the tools, and no

Topics

developer-toolsmcpmodel-context-protocolshields-iotokens