Mcpspend
@andreisirbu91-lab
About Mcpspend
MCPSpend is the first cost-observability platform built natively for MCP. One CLI command wraps yourexisting MCP servers across Claude Desktop, Cursor, Windsurf, VS Code, and Claude Code — zero SDKchanges. Per-tool / per-project cost attribution, $ budget alerts via email + Slack
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcpspend": {
"command": "npx",
"args": [
"-y",
"@mcpspend/mcp-server@latest"
],
"env": {
"MCPSPEND_API_KEY": "<YOUR_MCPSPEND_API_KEY>"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Mcpspend?
MCPSpend is a cost-observability tool for the Model Context Protocol (MCP). It uses a transparent stdio proxy to record metadata on every tool call—server name, tool name, latency, success/error, and estimated token usage—and streams that data to a dashboard for cost analysis. It is built for developers running MCP clients like Claude Desktop, Cursor, Windsurf, VS Code, and Claude Code who need to understand which tool calls drive their LLM bills.
How to use Mcpspend?
Run the single command npx @mcpspend/proxy add in the terminal. The CLI auto-detects every MCP client on the machine, lists the servers it found, asks for confirmation, then rewrites the configuration files in-place (with .mcpspend.bak backups) to wrap each server with the transparent proxy. The proxy then streams metadata to api.mcpspend.com/v1/ingest authenticated with your API key.
Key features of Mcpspend
- Transparent stdio proxy intercepting every tools/call
- Auto-detects MCP clients on the machine (Claude Desktop, Cursor, Windsurf, etc.)
- Dashboard shows top-N tools by cost with gradient bars
- Sessions view with drill-down into specific agent runs
- Budget projections with Slack alerts at 50/80/100%
- Per-project cost allocation by labeling MCP servers
- Privacy-by-design: never sends tool arguments, responses, or file contents
- 25,000 calls/month on the free tier
Use cases of Mcpspend
- Identify which MCP tool is consuming the most budget across multiple agents
- Track the cost of a single Claude Code or Cursor session in detail
- Project monthly spending and get alerted before exceeding a budget
- Allocate costs to specific projects by labeling MCP servers
FAQ from Mcpspend
How is MC
More Developer Tools MCP servers
MCP Framework
QuantGeekDevThe Typescript MCP Framework
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
test
cloudwegoThe ultimate LLM/AI application development framework in Go.
MCP Containers
metorialConnect any AI model to 1200+ integrations (MCP, CLI, API)
test
prysmaticlabsGo implementation of Ethereum proof of stake
Comments