andreisirbu91-lab/MCPSpend

View on GitHub ↗

Real-time cost observability for Model Context Protocol (MCP) tool calls. Wraps any MCP server, attributes spend per tool/project/customer. Free tier 25K calls/mo. EU-hosted

101 ★3 forksTypeScriptUpdated 1mo ago

What you need to know

Real-time cost tracking per MCP tool call across Cursor, Claude Desktop, Windsurf, VS Code, Claude Code

Install

npx @mcpspend/proxy init to wrap all servers

Usage

  • Wrap servers with the MCPSpend proxy and watch per-call cost

Key features

  • per-call cost tracking
  • one-command proxy wrapper
  • smithery/npm/Open VSX availability

Best for

Monitoring MCP token spend

Caveats

  • Wrapping all servers is required
Platforms: Node.jsClients: Cursor · Claude Desktop · Windsurf · VS Code · Claude Code

Reviewed 2026-08-11

Topics

ai-agentsai-observabilityclaude-desktopcost-trackingcursorllm-costmcpmodel-context-protocoltypescriptwindsurf
Stars
101★
Forks
3
Language
TypeScript
License
MIT
Created
2026-05-22
Last push
2026-07-29