mcpspend

mcpspend is an MCP server for Claude Code, Codex, Cursor, Gemini CLI, OpenCode from andreisirbu91-lab/MCPSpend. Its token cost is not measured, scanned A, original, MIT.

A local MCP server for checking MCPSpend usage. MCP, or Model Context Protocol, lets an AI agent connect to external tools; this server reports usage and costs for those tool calls.

In plain words
What is it for?
Use it to check today's cost, identify heavily used tools, review recent sessions, and estimate future budget needs. It requires an API key and endpoint.
Why use it?
It gives you a way to see current spending, tool usage, recent sessions, and projected budgets in one place.

MCP server for Claude CodeCodexCursorGemini CLIOpenCode

Written for no agent in particular: it speaks MCP, so any client can run it.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add mcp/andreisirbu91-lab/mcpspend/mcp-server-mcpspend
Clone the repo
git clone --depth 1 https://github.com/andreisirbu91-lab/MCPSpend

Made for: Claude Code, Codex, Cursor, Gemini CLI, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcpspend

README.md
[![agentmods](https://agentmods.dev/badge/mcp/andreisirbu91-lab/mcpspend/mcp-server-mcpspend.svg)](https://agentmods.dev/mcp/andreisirbu91-lab/mcpspend/mcp-server-mcpspend)
Your own site
<a href="https://agentmods.dev/mcp/andreisirbu91-lab/mcpspend/mcp-server-mcpspend"><img src="https://agentmods.dev/badge/mcp/andreisirbu91-lab/mcpspend/mcp-server-mcpspend.svg" alt="Measured on agentmods" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

mcpspend scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/mcp-server/server.json · 13 lines

What it actually says

{
  "mcpspend": {
    "command": "npx",
    "args": [
      "-y",
      "@mcpspend/mcp-server"
    ],
    "env": {
      "MCPSPEND_API_KEY": "",
      "MCPSPEND_ENDPOINT": "https://api.mcpspend.com"
    }
  }
}
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 13 lines scan A d93bc1240ae5

Subscribe to this mod's changes

mcpspend is an MCP server published in the GitHub repository andreisirbu91-lab/MCPSpend (105 stars, last pushed 5d ago), licensed MIT. Its token cost is not measured: an MCP server costs its tool schemas, not its config file. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other mcp servers, from other repositories

applemusic-mcp

MCP server for Apple Music — cross-platform library, playlists, and playback; no Apple Developer account required. Runs locally from the applemusic-mcp Python package.

epheterson/applemusic-mcp · not measured

garminmcp

Privacy-first unofficial Garmin Connect MCP for AI health, sleep, activity & recovery agents. Runs locally from the garmin-mcp-unofficial npm package. Needs 6 environment variables to run.

davidmosiah/garmin-mcp · not measured

ethora-mcp-server

MCP server for the Ethora chat & messaging platform: chat ops, AI agents, RAG, automation. Runs locally from the @ethora/mcp-server npm package. Needs 5 environment variables to run.

dappros/ethora-mcp-server · not measured

google-search-console

MCP server for Google Search Console: query performance data, inspect URLs, check indexing, and generate HTML SEO audit reports from Claude, Cursor, Zed, and any Model Context Protocol client. Runs locally from the mcp-google-search-console Python package. Needs 4 environment variables to run.

acamolese/google-search-console-mcp · not measured

google-search-console-mcp

MCP server for Google Search Console: query performance data, inspect URLs, check indexing, and generate HTML SEO audit reports from Claude, Cursor, Zed, and any Model Context Protocol client. Runs locally from the mcp-google-search-console Python package. Needs 6 environment variables to run.

acamolese/google-search-console-mcp · not measured

pushengage-mcp

Send push notifications, build audiences, and view campaign analytics from PushEngage. Runs locally from the @pushengage/mcp npm package. Needs 2 environment variables to run.

awesomemotive/pushengage-mcp · not measured