MCP Server Studio

Mcpspend MCP server

Query your MCPSpend usage: cost today, top tools, recent sessions, budget projections.

Registry name: io.github.andreisirbu91-lab/mcpspend

Publisher
andreisirbu91-lab
Runs
Runs locally
Package
npm
Version
0.2.1
Category
Databases
Updated
2026-05-25

Source code on GitHub

Set up Mcpspend (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcpspend": {
      "command": "npx",
      "args": [
        "-y",
        "@mcpspend/[email protected]"
      ],
      "env": {
        "MCPSPEND_API_KEY": "<MCPSPEND_API_KEY>",
        "MCPSPEND_ENDPOINT": "<MCPSPEND_ENDPOINT>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mcpspend -e MCPSPEND_API_KEY='<MCPSPEND_API_KEY>' -e MCPSPEND_ENDPOINT='<MCPSPEND_ENDPOINT>' -- npx -y @mcpspend/[email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcpspend": {
      "command": "npx",
      "args": [
        "-y",
        "@mcpspend/[email protected]"
      ],
      "env": {
        "MCPSPEND_API_KEY": "<MCPSPEND_API_KEY>",
        "MCPSPEND_ENDPOINT": "<MCPSPEND_ENDPOINT>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcpspend": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mcpspend/[email protected]"
      ],
      "env": {
        "MCPSPEND_API_KEY": "<MCPSPEND_API_KEY>",
        "MCPSPEND_ENDPOINT": "<MCPSPEND_ENDPOINT>"
      }
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "mcpspend": {
      "command": "npx",
      "args": [
        "-y",
        "@mcpspend/[email protected]"
      ],
      "env": {
        "MCPSPEND_API_KEY": "<MCPSPEND_API_KEY>",
        "MCPSPEND_ENDPOINT": "<MCPSPEND_ENDPOINT>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
MCPSPEND_API_KEYNoYour MCPSpend API key. Create one at https://mcpspend.com/dashboard/keys. Starts with mcps_live_ or mcps_test_. Optional — the server boots and lists tools without it; only tool calls require auth.
MCPSPEND_ENDPOINTNoOptional. Override the MCPSpend API endpoint. Defaults to https://api.mcpspend.com. Use only if you self-host MCPSpend.

More databases MCP servers