Tracks MCP tool-call costs through a local proxy, dashboard, and MCP usage-query server.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by MCPSpend.
andreisirbu91-lab/MCPSpend MCP server provides cost observability for MCP tool calls. Its proxy sits between an MCP client and the MCP servers configured for that client, records usage information, and sends the resulting telemetry to MCPSpend for dashboard reporting. The repository also includes a separate MCP server package for querying collected usage from an MCP client.
The reported data includes the tool name, MCP server name, model, latency, success status, and approximate input and output sizes. The proxy does not send actual tool arguments or response bodies to MCPSpend. Usage can be reviewed through the web dashboard, queried through MCP, or exported as CSV from the dashboard.
The proxy is distributed as @mcpspend/proxy on npm. Its initialization process can detect configurations for Claude Desktop, Cursor, Windsurf, VS Code user and workspace settings, and Claude Code user and project settings. It wraps each configured MCP server and creates a .mcpspend.bak backup of the relevant configuration.
Usage queries are available in two forms. A client can run @mcpspend/mcp-server over stdio, or connect to the HTTP MCP endpoint at https://api.mcpspend.com/api/mcp with a bearer token. The README gives get_today_cost and list_top_tools as examples of the available query tools. The dashboard provides an overview, top-tool reporting, session information, and CSV export.
The documented initialization command is:
The mcps_live_xxx value is an example key and must be replaced with a real MCPSpend key. Initialization starts streaming usage to mcpspend.com after wrapping the detected configurations. For direct HTTP MCP access, configure the client to use the documented endpoint and send the MCPSpend key as a bearer token.
The repository contains several published components: the proxy package, @mcpspend/mcp-server, and the mcpspend-vscode extension for Cursor, Windsurf, and VS Code. The proxy itself is MIT-licensed. The service has a free allowance of 25,000 tool calls per month without a credit card; paid plans add higher limits and features such as retention, exports, budget alerts, and role-based access.
get_today_cost and list_top_tools.andreisirbu91-lab/MCPSpend MCP server requires an MCPSpend key for initialization or authenticated HTTP access. The free plan is limited to 25,000 tool calls per month. The proxy reports approximate input and output sizes derived from JSON length rather than the complete payload contents.
The README describes the proxy and usage-query server as separate packages. Installing or configuring one does not, by itself, establish that every MCP client is supported; the documented detection list covers Claude Desktop, Cursor, Windsurf, VS Code, and Claude Code. Enterprise-specific items include a data processing agreement, while SOC 2 Type I is described as in progress rather than completed.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/andreisirbu91-lab-mcpspend)<a href="https://allmcps.com/mcp/andreisirbu91-lab-mcpspend"><img src="https://allmcps.com/api/badge/andreisirbu91-lab-mcpspend?style=directory" alt="MCPSpend on AllMCPs" /></a>