{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.KIvanow/spend-brake",
  "slug": "io.github.kivanow.spend-brake",
  "title": "Spend Brake",
  "summary": "Capped search, maps and other paid APIs over MCP, with hard dollar limits per key.",
  "version": "0.4.0",
  "serverKey": "spend-brake",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.kivanow.spend-brake",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.kivanow.spend-brake/install.md",
  "trust": {
    "score": 94,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T13:42:06.854442693Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@spend-brake/mcp@0.4.0",
        "spend-brake-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add spend-brake -e 'BRAKE_API_URL=<BRAKE_API_URL>' -e 'BRAKE_KEY=<BRAKE_KEY>' -e 'BRAKE_URL=<BRAKE_URL>' -- npx -y --package=@spend-brake/mcp@0.4.0 spend-brake-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"spend-brake\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@spend-brake/mcp@0.4.0\",\n        \"spend-brake-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"BRAKE_API_URL\": \"<BRAKE_API_URL>\",\n        \"BRAKE_KEY\": \"<BRAKE_KEY>\",\n        \"BRAKE_URL\": \"<BRAKE_URL>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"spend-brake\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@spend-brake/mcp@0.4.0\",\n        \"spend-brake-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"BRAKE_API_URL\": \"<BRAKE_API_URL>\",\n        \"BRAKE_KEY\": \"<BRAKE_KEY>\",\n        \"BRAKE_URL\": \"<BRAKE_URL>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"BRAKE_API_URL\",\n      \"id\": \"brake-api-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"BRAKE_KEY\",\n      \"id\": \"brake-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"BRAKE_URL\",\n      \"id\": \"brake-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"spend-brake\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@spend-brake/mcp@0.4.0\",\n        \"spend-brake-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"BRAKE_API_URL\": \"${input:brake-api-url}\",\n        \"BRAKE_KEY\": \"${input:brake-key}\",\n        \"BRAKE_URL\": \"${input:brake-url}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.spend-brake]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@spend-brake/mcp@0.4.0\", \"spend-brake-mcp\"]\nenv = { \"BRAKE_API_URL\" = \"<BRAKE_API_URL>\", \"BRAKE_KEY\" = \"<BRAKE_KEY>\", \"BRAKE_URL\" = \"<BRAKE_URL>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "BRAKE_KEY",
      "required": true,
      "secret": true,
      "description": "A Spend Brake virtual key (sb_live_…); its caps apply to every call",
      "help": "A Spend Brake virtual key (sb_live_…); its caps apply to every call",
      "placeholder": "<BRAKE_KEY>"
    },
    {
      "name": "BRAKE_URL",
      "required": true,
      "secret": false,
      "description": "The Spend Brake proxy, e.g. https://proxy.spendbrake.dev",
      "help": "The Spend Brake proxy, e.g. https://proxy.spendbrake.dev",
      "placeholder": "<BRAKE_URL>"
    },
    {
      "name": "BRAKE_API_URL",
      "required": true,
      "secret": false,
      "description": "The Spend Brake admin API, for the budget tool and for --admin, e.g. https://app.spendbrake.dev",
      "help": "The Spend Brake admin API, for the budget tool and for --admin, e.g. https://app.spendbrake.dev",
      "placeholder": "<BRAKE_API_URL>"
    }
  ],
  "expectedTools": [
    "tavily_search",
    "exa_search",
    "brave_search",
    "serpapi_search",
    "maps_search",
    "maps_nearby",
    "maps_details",
    "maps_geocode",
    "maps_reverse",
    "maps_route",
    "brake_call",
    "brake_budget"
  ],
  "agentSteps": [
    "Ask the user for: BRAKE_KEY, BRAKE_URL, BRAKE_API_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: tavily_search, exa_search, brave_search, serpapi_search, maps_search, maps_nearby, maps_details, maps_geocode, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T13:42:06.854442693Z"
}
