
Research
/Security News
Popular npm Packages in the keyv and Cacheable Namespaces Compromised in Active Supply Chain Attack
Popular npm packages keyv and cacheable compromised.
@mcpspend/mcp-server
Advanced tools
Query your MCPSpend usage from any MCP client. Exposes get_today_cost, list_top_tools, recent_sessions, and budget tools.
Query your MCPSpend usage from any MCP client — see your cost, recent sessions, and top tools right in the chat.
Exposes 5 tools to your AI agent:
get_today_cost — total cost & calls todayget_usage_this_month — calls used, plan limit, projected end-of-monthlist_top_tools — most expensive tools (last N days)list_recent_sessions — recent agent sessions with costget_session_details — drill into one session, every tool callThen ask the agent things like "How much did I spend on AI yesterday?", "What's the most expensive MCP tool we use?", "What did session X do?" — it'll call these tools and answer with real numbers.
Get an API key at mcpspend.com/dashboard/keys, then add the server to whichever MCP client you use:
{
"mcpServers": {
"mcpspend": {
"command": "npx",
"args": ["-y", "@mcpspend/mcp-server"],
"env": {
"MCPSPEND_API_KEY": "mcps_live_xxx"
}
}
}
}
Locations:
%APPDATA%\Claude\claude_desktop_config.json · ~/Library/Application Support/Claude/claude_desktop_config.json~/.cursor/mcp.json%APPDATA%\Code\User\mcp.json.mcp.json in your project| Env var | Purpose |
|---|---|
MCPSPEND_API_KEY | Required. Bearer key for your org. |
MCPSPEND_ENDPOINT | Override API endpoint. Default https://api.mcpspend.com. |
@mcpspend/proxy — the actual tracker; wraps every MCP server you have configured to forward usage to MCPSpend.© NewRzs SRL · MIT licensed
FAQs
Query your MCPSpend usage from any MCP client. Exposes get_today_cost, list_top_tools, recent_sessions, and budget tools.
The npm package @mcpspend/mcp-server receives a total of 100 weekly downloads. As such, @mcpspend/mcp-server popularity was classified as not popular.
We found that @mcpspend/mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.

Security News
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.