Skip to content
MCP server

Contextbudget

Token budget auditor for agent context: per-file estimates, top offenders, exclusion…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.0
Listing updated
5 days ago

About Contextbudget

Contextbudget is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Token budget auditor for agent context: per-file estimates, top offenders, exclusion advice.

Install

Run in a terminal

claude mcp add contextbudget -- npx -y @reneturcios/contextbudget

Add to claude_desktop_config.json

{
  "mcpServers": {
    "contextbudget": {
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/contextbudget"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "contextbudget": {
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/contextbudget"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "contextbudget": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/contextbudget"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "contextbudget": {
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/contextbudget"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "contextbudget": {
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/contextbudget"
      ]
    }
  }
}

Pricing

Open source

Contextbudget FAQ

Is Contextbudget free?

Yes. Contextbudget is open source, so you can use and self-host it for free.

How do I add Contextbudget to Claude Code?

Run this command in your terminal: claude mcp add contextbudget -- npx -y @reneturcios/contextbudget