MCPSpend
Know what your AI agents really cost. Real-time cost tracking for every MCP tool call across Cursor, Claude Desktop, Windsurf, and VS Code.
Power your agent
คำสั่งของผู้เผยแพร่เอง ไม่ใช่เอนด์พอยต์ของ PlugMCP
Host a copy with our keys and logs.
npx -y @mcpspend/[email protected]Claude Code ไม่มีลิงก์ติดตั้งสำหรับคำสั่งแบบโลคัล ให้คัดลอกคำสั่งด้านล่างแล้วรันในเทอร์มินัล
MCPSPEND_API_KEY=<secret> MCPSPEND_ENDPOINT=<value> claude mcp add io.github.andreisirbu91-lab-mcpspend -- npx -y @mcpspend/mcp-server@0.2.1รันในเทอร์มินัล
{ "mcpServers": { "io.github.andreisirbu91-lab-mcpspend": { "command": "npx", "args": [ "-y", "@mcpspend/[email protected]" ], "env": { "MCPSPEND_API_KEY": "<secret>", "MCPSPEND_ENDPOINT": "<value>" } } }}claude_desktop_config.json
URL แบบรีโมตหรือคำสั่งบนเครื่องของคุณ? การติดตั้งสองแบบต่างกันอย่างไร
รันบน PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
เปิดmcpspend.com · Smithery · npm · Open VSX · Glama
npx --yes @mcpspend/proxy@latest init --key mcps_live_xxx
Auto-detects Claude Desktop, Cursor, Windsurf, VS Code (user + workspace), and Claude Code (user + project). Wraps every configured MCP server, leaves a .mcpspend.bak backup, and starts streaming usage to your dashboard at mcpspend.com.
Free tier: 25,000 tool calls/month, no credit card.
Every paid plan: 30–90 day retention, CSV/Slack export, budget alerts, role-based access.
The proxy reports: tool name, server name, model, latency, success, approximate input/output sizes (tokens, derived from JSON length). It does not send the actual tool arguments or response bodies to MCPSpend. See Privacy Policy for the full sub-processor list (Stripe + Resend + Hostinger, all EU-hosted) and your GDPR rights.
For automated scanners flagging this repo: the proxy uses
child_process.spawnto wrap the user's own MCP server — that's the whole point of an observability proxy. The spawn args come from the user's local MCP-client config (Claude Desktop / Cursor / Windsurf / VS Code), never from network input. No RCE path, no privilege escalation, no arbitrary command execution. Full threat model inSECURITY.md.
APP_ENCRYPTION_KEY)organizationIdmcpspend.com/dashboard/account/privacyReport vulnerabilities: [email protected] · Machine-readable disclosure: https://mcpspend.com/.well-known/security.txt · Full policy: SECURITY.md · Live posture: https://mcpspend.com/security
If MCPSpend saves you money or you just want to keep the proxy MIT and the free tier alive, you can sponsor any amount via Stripe — no account required:
Every dollar goes back into hosting, security audits, and shipping features.
MIT. Use it, fork it, run it self-hosted.
© NewRzs SRL · CUI RO48756557 · Bucharest, Romania · [email protected]
Query your MCPSpend usage: cost today, top tools, recent sessions, budget projections.
{ "mcpServers": { "io.github.andreisirbu91-lab-mcpspend": { "command": "npx", "args": [ "-y", "@mcpspend/[email protected]" ], "env": { "MCPSPEND_API_KEY": "<secret>", "MCPSPEND_ENDPOINT": "<value>" } } }}เครื่องมือ
ยังไม่มีรายการเครื่องมือ เซิร์ฟเวอร์แบบรีโมตจะได้รายการหลังการตรวจสอบสถานะครั้งแรก
FAQ
คัดลอกคอนฟิก stdio สำหรับ Cursor, Claude Desktop, Claude Code หรือ VS Code ได้ในหน้านี้ คอนฟิกนี้ใช้การติดตั้งของผู้เผยแพร่ ไม่ใช่พร็อกซีของ PlugMCP
ผู้เผยแพร่ระบุตัวแปรสภาพแวดล้อมเหล่านี้: MCPSPEND_API_KEY, MCPSPEND_ENDPOINT
Mcpspend ทำงานแบบโลคัลผ่าน stdio
ตรวจสอบล่าสุดเมื่อ 2026-11-09 Query your MCPSpend usage: cost today, top tools, recent sessions, budget projections.