Skip to main content
skill CX Codex

mcpspend-cost-tracking — Claude Code skill

mcpspend-cost-tracking is a Claude Code skill that tracks real-time spending on MCP tool calls by tool, project, and customer. It wraps MCP servers with a transparent proxy.

no license 117 installs ★ 9 updated 2026-10-09

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/mcp-skills --skill mcpspend-cost-tracking -a claude-code
Open on GitHub

What mcpspend-cost-tracking does

MCPSpend inserts a proxy layer between your MCP clients and servers. It intercepts every tool invocation, tallies the cost, and sends usage data to the MCPSpend dashboard. Compatible with Claude Desktop, Cursor, Windsurf, and VS Code.

Setup is a single command: npx --yes @mcpspend/proxy@latest init --key mcps_live_YOUR_KEY. The installer auto-detects your MCP clients, modifies their configs, and backs up the originals. All subsequent tool calls are tracked automatically.

View spend on the MCPSpend dashboard, configure budget thresholds and per-tool limits, set up alerts via Slack or email, and pause execution when you hit a ceiling. Requires an API key from mcpspend.com (free tier: 25K calls per month). Node.js and npm or pnpm must be in PATH.

What it helps with

  • track spending on MCP tools per day and per tool type
  • allocate costs across projects and customer accounts
  • configure alerts when budget limits are exceeded
  • export a cost report for a date range

Example prompts for the agent

  • Set up cost tracking for all my MCP servers
  • Show me the top 10 tools by spending this week
  • Wrap the filesystem MCP server to start tracking its costs

How to install mcpspend-cost-tracking

1Skills CLI (Vercel)

npx skills add reason-machines/mcp-skills --skill mcpspend-cost-tracking -a claude-code

2Manually: put the files in place

~/.claude/skills/mcpspend-cost-tracking/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/mcpspend-cost-tracking/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about mcpspend-cost-tracking

How do I install mcpspend-cost-tracking in Claude Code?

Run npx skills add reason-machines/mcp-skills --skill mcpspend-cost-tracking -a claude-code, then open ~/.claude/skills/mcpspend-cost-tracking/SKILL.md.

What does mcpspend-cost-tracking do?

It wraps MCP servers with a proxy that intercepts tool calls and logs their cost. Spending data flows to a dashboard where you can view totals by tool, project, and customer.

What do I need to use it?

An API key from mcpspend.com (free: 25K calls per month), Node.js, and npm or pnpm in PATH. Supports Claude Desktop, Cursor, Windsurf, and VS Code.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set98

The whole set →
mcp-servers-for-revit-integration mcp-servers-for-revit-integration — a skill that walks the assistant through the Revit MCP setup: server, in-Revit add-in and command set. Useful when model data has to be read or edited from a chat. CX Codex +1 123installs ios-mcp-jailbreak-automation The ios-mcp-jailbreak-automation skill for Claude Code connects an AI agent to an MCP server on a jailbroken iPhone to inspect its interface and operate apps. CX Codex +1 121installs apple-health-mcp-server Connects your Apple Health export to an AI agent through local or remote databases. Useful for checking activity metrics and pulse trends in chat. CX Codex +1 120installs osint-tools-mcp-server Adds an MCP server with seven OSINT tools to your assistant, so it can trace a username, check email registrations and look into a domain. CX Codex +1 118installs affine-mcp-server-integration affine-mcp-server-integration connects AI assistants to AFFiNE workspaces via the Model Context Protocol. Useful for searching, editing, and organizing docs directly from chat. CX Codex +1 116installs codedb-mcp-fast-code-intelligence The codedb-mcp-fast-code-intelligence skill guides setup of a local MCP server that indexes a repository for symbol lookup, reference searches, and dependency analysis. Use it to explore a codebase without dumping whole files into chat. CX Codex +1 116installs elementor-mcp-wordpress-builder The elementor-mcp-wordpress-builder skill connects an AI agent to Elementor through MCP, so it can create WordPress pages, adjust layouts, and manage widgets. CX Codex +1 115installs mcp-servers-reference mcp-servers-reference is a skill that groups MCP servers by task and provides setup commands, with examples for development, databases, and infrastructure. CX Codex +1 112installs

Project sponsors

Companies that keep this analytics open