mcpspend for Grok
io.github.andreisirbu91-lab/mcpspend
Query your MCPSpend usage: cost today, top tools, recent sessions, budget projections.
client:Grok
transport:stdio
runtime:npm
Install mcpspend in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"mcpspend": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mcpspend/mcp-server"
],
"env": {
"MCPSPEND_API_KEY": "<MCPSPEND_API_KEY>",
"MCPSPEND_ENDPOINT": "<MCPSPEND_ENDPOINT>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs