MCPSpend
MCPSpend is a TypeScript MCP server for Claude Desktop, Cursor, Windsurf with npx, remote URL. Real-time cost observability for Model Context Protocol (MCP) tool calls. Wraps any MCP server, attributes spend per tool/project/customer. Free tier 25K calls/mo. EU-hosted
How to use MCPSpend
Install or run
npx --yes @mcpspend/proxy@latest init --key mcps_live_xxxClient configuration
# Smithery deployment config.
#
# This file tells Smithery how to host the MCPSpend MCP server when a user
# selects the "Smithery hosted" option (run.tools URL). For self-hosted
# users this file has no effect — they just `npx -y @mcpspend/mcp-server`
# locally and we never touch their machine.
#
# https://smithery.ai/docs/build/deployments
startCommand:
type: stdio
configSchema:
type: object
required:
- mcpspendApiKey
properties:
mcpspendApiKey:
type: string
title: MCPSpend API key
description: >
Your MCPSpend API key. Get one at https://mcpspend.com/dashboard/keys.
Starts with mcps_live_ or mcps_test_.
format: password
mcpspendEndpoint:
type: string
title: API endpoint
description: >
Optional. Defaults to https://api.mcpspend.com. Override only if you're
self-hosting MCPSpend.
default: https://api.mcpspend.com
commandFunction: |-
(config) => ({
command: 'npx',
args: ['-y', '@mcpspend/mcp-server@latest'],
env: {
MCPSPEND_API_KEY: config.mcpspendApiKey,
MCPSPEND_ENDPOINT: config.mcpspendEndpoint || 'https://api.mcpspend.com',
},
})
build:
# @mcpspend/mcp-server is pulled from npm on demand. No build step needed.
dockerfile: |
FROM node:22-alpine
WORKDIR /app
# npx will fetch @mcpspend/mcp-server at runtime via commandFunction.
# Pre-warm the cache so first-call latency is acceptable.
RUN npx -y @mcpspend/mcp-server@latest --help 2>/dev/null || true
ENTRYPOINT ["sh", "-c"]
CMD ["npx -y @mcpspend/mcp-server@latest"]
# Smithery listing metadata. These render as chips above the fold on the
# server's catalog page — they boost click-through and help discoCompatible clients
What is MCPSpend?
MCPSpend is a TypeScript MCP server for Claude Desktop, Cursor, Windsurf with npx, remote URL. Real-time cost observability for Model Context Protocol (MCP) tool calls. Wraps any MCP server, attributes spend per tool/project/customer. Free tier 25K calls/mo. EU-hosted This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Tool access support
- Shell commands support
- Spreadsheet work support
- Anthropic provider support
- package.json config support
- smithery.yaml config support
- Connecting agents to external tools and data
Technical details
Install or run MCPSpend using npx. Check andreisirbu91-lab/MCPSpend for the latest setup command.
- Built for TypeScript
- Built for Node.js
- Install or run with npx
- Install or run with remote URL
- Works with Claude Desktop
- Works with Cursor
- Works with Windsurf
- Works with VS Code
Requirements and access
Security and permissions
Review permissions before connecting any MCP server to an agent. Pay special attention to whether it can read local files, write data, call external services, or perform destructive actions.
When to use MCPSpend
- Use it for connecting agents to external tools and data.
- Use it for integrations workflows.
- Use it for data workflows.
- Use it for research workflows.
- Use it for claude desktop users.
Built with
Explore related resources
Frequently asked questions
What is MCPSpend?
MCPSpend is a TypeScript MCP server for Claude Desktop, Cursor, Windsurf with npx, remote URL. Real-time cost observability for Model Context Protocol (MCP) tool calls. Wraps any MCP server, attributes spend per tool/project/customer. Free tier 25K calls/mo. EU-hosted
Who is MCPSpend best for?
MCPSpend is best for connecting agents to external tools and data, integrations workflows, data workflows, research workflows, claude desktop users.
How do I install MCPSpend?
Install or run MCPSpend using npx. Check MCPSpend for the latest setup command.
Is MCPSpend actively maintained?
MCPSpend may need a closer maintenance check before production use.
Auto-fetched from GitHub.