SuperAPIAI Directory

MCPSpend

github.com · AI developer platforms

Real-time cost observability for MCP tool calls: a transparent proxy that attributes spend per tool, project and end customer.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

MCPSpend is a real-time cost observability project for Model Context Protocol (MCP) tool calls. Its core goal is to give users a clear understanding of the actual costs incurred by AI agents, and to provide real-time cost tracking for every MCP tool call, covering clients such as Cursor, Claude Desktop, Windsurf, and VS Code.

In terms of purpose, MCPSpend wraps any MCP server through a transparent proxy, attributing costs by tool, project, and end customer. Users can view usage through a dashboard, thereby understanding the distribution of costs generated by different tools, different projects, or different customers.

Main capabilities include: one-command installation, automatic detection of Claude Desktop, Cursor, Windsurf, VS Code (user-level and workspace-level), and Claude Code (user-level and project-level); wrapping all configured MCP servers and leaving a .mcpspend.bak backup; streaming usage data to the mcpspend.com dashboard. The information reported by the proxy includes tool name, server name, model, latency, success status, and approximate input/output size (token count is derived from JSON length). The proxy does not send actual tool parameters or response bodies to MCPSpend.

In terms of usage, the project provides one-command installation, automatically completing detection and wrapping. Users can query usage in three ways (the materials do not specify which three ways). The free tier includes 25,000 tool calls per month, with no credit card required. Paid plans provide 30–90 day data retention, CSV/Slack export, budget alerts, and role-based access control.

In terms of security and privacy, API keys are stored as SHA-256 hashes (plaintext is never stored on the server); passwords use bcrypt cost 12; secrets at rest use AES-256-GCM (APP_ENCRYPTION_KEY); transport is HTTPS only, with HSTS and helmet CSP headers enabled; tool parameters or responses never leave the user's machine; each query is tenant-isolated by organizationId; GDPR Articles 15/17/20 rights can be exercised self-service at mcpspend.com/dashboard/account/privacy; data is hosted in the EU (Hostinger EU region); SOC 2 Type I is in progress with Vanta (expected Q4 2026); enterprise customers can obtain a DPA.

Applicable scenarios include developers, teams, or service providers who need to monitor the cost of AI agent MCP tool calls, especially scenarios where costs need to be allocated by project or by customer.

In terms of limitations, the free tier includes 25,000 tool calls per month; the specific pricing of paid plans is not provided in the materials. The project uses the MIT license and can be freely used, forked, or self-hosted. Security vulnerabilities can be reported to security@mcpspend.com, with machine-readable disclosure at https://mcpspend.com/.well-known/security.txt,完整政策见 SECURITY.md, and the real-time security posture at https://mcpspend.com/security。

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools