Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

mcpspend

local MCP server

mcpspend is a local MCP server: Query your MCPSpend usage: cost today, top tools, recent sessions, budget projections. Install it from npm as @mcpspend/mcp-server.

Installation

Terminal

claude mcp add mcpspend -e MCPSPEND_API_KEY=... -e MCPSPEND_ENDPOINT=... -- npx -y @mcpspend/mcp-server

Run in your project folder. Add --scope user to use it everywhere.

Claude Desktop, Cursor & other clients

Add to claude_desktop_config.json or .cursor/mcp.json.

{
  "mcpServers": {
    "mcpspend": {
      "command": "npx",
      "args": [
        "-y",
        "@mcpspend/mcp-server"
      ],
      "env": {
        "MCPSPEND_API_KEY": "...",
        "MCPSPEND_ENDPOINT": "..."
      }
    }
  }
}

Fill in the environment variables with your own credentials.

What you need

  • Runtime: Node.js 18+ (runs with npx).
  • MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
  • Environment variables: MCPSPEND_API_KEY, MCPSPEND_ENDPOINT

Summary

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

mcpspend vs similar servers

ServerStarsTypeAPI keyRuntime
mcpspend113LocalYesnpm
Hex SSH565LocalNonpm
QVeris262HostedYesNone
three.ws Agent Payments218LocalYesnpm
totem122LocalYesnpm

Questions

It reads 2 environment variables: MCPSPEND_API_KEY, MCPSPEND_ENDPOINT. Set them in your MCP config before starting the server.

Node.js 18+ (runs with npx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.

mcpspend is a local MCP server distributed as the npm package @mcpspend/mcp-server.

Run: claude mcp add mcpspend -e MCPSPEND_API_KEY=... -e MCPSPEND_ENDPOINT=... -- npx -y @mcpspend/mcp-server

Run: codex mcp add mcpspend --env MCPSPEND_API_KEY=... --env MCPSPEND_ENDPOINT=... -- npx -y @mcpspend/mcp-server

Similar MCP servers

NameStars
  1. Hex SSHio.github.levnikolaevich/hex-ssh-mcp565
  2. QVerisio.github.QVerisAI/mcp262
  3. three.ws Agent Paymentsio.github.nirholas/agentcore-payments-mcp218
  4. totemio.github.briangaoo/totem122
  5. totemio.github.thebriangao/totem122
  6. SAP HANA CLIio.github.SAP-samples/hana-cli113
  7. agentmapio.github.raymondchins/agentmap49
  8. alive-analysisio.github.with-geun/alive-analysis41