Query your MCPSpend usage: cost today, top tools, recent sessions, budget projections.
Connect Runs on your machine
claude mcp add mcpspend -e MCPSPEND_API_KEY=<MCPSPEND_API_KEY> -e MCPSPEND_ENDPOINT=<MCPSPEND_ENDPOINT> -- npx -y @mcpspend/[email protected]
{
"mcpServers": {
"mcpspend": {
"command": "npx",
"args": [
"-y",
"@mcpspend/[email protected]"
],
"env": {
"MCPSPEND_API_KEY": "<MCPSPEND_API_KEY>",
"MCPSPEND_ENDPOINT": "<MCPSPEND_ENDPOINT>"
}
}
}
}
{
"mcpServers": {
"mcpspend": {
"command": "npx",
"args": [
"-y",
"@mcpspend/[email protected]"
],
"env": {
"MCPSPEND_API_KEY": "<MCPSPEND_API_KEY>",
"MCPSPEND_ENDPOINT": "<MCPSPEND_ENDPOINT>"
}
}
}
}
{
"servers": {
"mcpspend": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mcpspend/[email protected]"
],
"env": {
"MCPSPEND_API_KEY": "<MCPSPEND_API_KEY>",
"MCPSPEND_ENDPOINT": "<MCPSPEND_ENDPOINT>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
MCPSPEND_API_KEYOptional, secret | Your MCPSpend API key. Create one at https://mcpspend.com/dashboard/keys. Starts with mcps_live_ or mcps_test_. Optional — the server boots and lists tools without it; only tool calls require auth. |
MCPSPEND_ENDPOINTOptional | Optional. Override the MCPSpend API endpoint. Defaults to https://api.mcpspend.com. Use only if you self-host MCPSpend. |
Details
| Package | @mcpspend/[email protected] (NPM, stdio) |
| First published | 25 May 2026 |
| Last updated | 25 May 2026 |
| Registry name | io.github.andreisirbu91-lab/mcpspend |
More other servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
