Mcpspend
Mcpspend is an MCP server that adds cloud and DevOps tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Query your MCPSpend usage: cost today, top tools, recent sessions, budget projections. It has 114 GitHub stars, is released under the MIT license and runs locally with npx -y @mcpspend/mcp-server.
- Cloud & DevOps
- MIT
- Actively maintained
Install Mcpspend
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"mcpspend": {
"command": "npx",
"args": [
"-y",
"@mcpspend/mcp-server"
],
"env": {
"MCPSPEND_API_KEY": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env MCPSPEND_API_KEY=your-value --transport stdio mcpspend -- npx -y @mcpspend/mcp-serverCursor
{
"mcpServers": {
"mcpspend": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mcpspend/mcp-server"
],
"env": {
"MCPSPEND_API_KEY": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "mcpspend_api_key",
"description": "MCPSPEND_API_KEY",
"password": true
}
],
"servers": {
"mcpspend": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mcpspend/mcp-server"
],
"env": {
"MCPSPEND_API_KEY": "${input:mcpspend_api_key}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
MCPSPEND_API_KEYsecret | No | Your MCPSpend API key. Create one at https://mcpspend.com/dashboard/keys. Starts with mcpslive or mcpstest. Optional — the server boots and lists tools… |
MCPSPEND_ENDPOINT | No | Optional. Override the MCPSpend API endpoint. Defaults to https://api.mcpspend.com. Use only if you self-host MCPSpend. |
About 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.
- ai-agents
- ai-observability
- claude-desktop
- cost-tracking
- cursor
- llm-cost
- mcp
- model-context-protocol
- typescript
- windsurf
Similar MCP servers
More cloud & devops MCP servers
Worldmonitor
koala73/worldmonitor
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface.
Cloud & DevOpsTypeScriptNetdata
netdata/netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Cloud & DevOpsGoopenstatus
openstatusHQ/openstatus
Manage monitors, status pages, incidents and maintenances in your openstatus workspace.
OfficialCloud & DevOpsTypeScriptMCP Server Cloudflare
cloudflare/mcp-server-cloudflare
Model Context Protocol (MCP) is a new, standardized protocol for managing context between large language models (LLMs) and external systems.
OfficialCloud & DevOpsTypeScriptDagu
dagucloud/dagu
Self-hostable workflow orchestrator for teams whose main work isn't orchestration.
Cloud & DevOpsGoAzure MCP Server
microsoft/mcp
All Azure MCP tools to create a seamless connection between AI agents and Azure services.
OfficialCloud & DevOpsC#
What is Mcpspend?
Mcpspend is an MCP server that adds cloud and DevOps tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Query your MCPSpend usage: cost today, top tools, recent sessions, budget projections. It has 114 GitHub stars, is released under the MIT license and runs locally with npx -y @mcpspend/mcp-server. The source code is at github.com/andreisirbu91-lab/MCPSpend.
How do I install the Mcpspend MCP server?
Add the command npx -y @mcpspend/mcp-server to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Mcpspend free?
The server is open source under the MIT license, so running it is free. It does not declare any required API key.
Is Mcpspend actively maintained?
The most recent commit was on Aug 31, 2026. The latest release is v1, published May 24, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.