LocalFree server, account needed

Metrxbots MCP server

metrxbots/mcp-server

AI agent cost tracking: spend across providers, model selection optimization, budget enforcement, cost-leak detection and ROI reporting.

2 GitHub stars2 forks

Install Metrxbots in Claude Code

Claude Code
claude mcp add metrxbots -e METRX_API_KEY=... -- npx -y @metrxbot/mcp-server
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "metrxbots": {
      "command": "npx",
      "args": [
        "-y",
        "@metrxbot/mcp-server"
      ],
      "env": {
        "METRX_API_KEY": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Metrxbots MCP server do?

AI agent cost tracking: spend across providers, model selection optimization, budget enforcement, cost-leak detection and ROI reporting.

Is the Metrxbots MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Metrxbots run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Metrxbots to Claude Code?

Run: claude mcp add metrxbots -e METRX_API_KEY=... -- npx -y @metrxbot/mcp-server

More monitoring & observability MCP servers

View all