Metrxbots MCP Server

Your AI agents are wasting money. Metrx finds out how much, and fixes it. The official MCP server for Metrx - the AI Agent Cost Intelligence Platform. Give any MCP-compatible agent (Claude, GPT, Gemini, Cursor, Windsurf) the ability to track its own costs, detect waste, optimize model selection, and prove ROI. It runs locally over stdio via the published package.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-05-29 · ★ 2 · #499 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install Metrxbots MCP Server

before you install - you'll need

METRX_API_KEY

Environment variables documented in the project's README - it lists which are required and which have defaults.

Claude Code

claude mcp add metrxbots-mcp-server -- npx -y @metrxbot/mcp-server

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "metrxbots-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@metrxbot/mcp-server"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @metrxbot/mcp-server - the @metrxbot scope differs from the repo owner (metrxbots); confirm it's the project's official package

registry namespace io.github.metrxbots is GitHub-verified and matches the repo owner

03 · What Metrxbots MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v0.2.5 · 2026-05-29

Highlights · Money bug - formatMicrocents / set_budget / get_task_roi were 100× off (correctness) · Convention is 1 cent = 10,000 microcents → 1 dollar = 1,000,000 microcents (source: agentledger…

v0.2.2 · 2026-03-12

Added · --demo mode for trying the MCP server without an API key · --auth CLI login flow to reduce signup friction · DRY'd API client headers into shared getter using constants · Fixed · ping() now uses fetchWithRetry…

v0.2.1 · 2026-03-12

PATCH retry: api-client.ts PATCH method now uses fetchWithRetry - budget updates and alert acks had zero retry on failure · Microcent math: attribution.ts division fixed from /1_000_000 to /100_000_000 - costs were…

04 · Who maintains Metrxbots MCP Server

mcp-server is maintained by metrxbots. It's the only MCP server we track from this author; the repo dates to Mar 2026.

05 · Facts

category
other - ranked #499 of 848 actively-maintained other servers as of 2026-08-25.
release cadence
1 release in the last 90 days (latest 2026-05-29)
registry
io.github.metrxbots/mcp-server (active, first published 2026-03-05 · 2 versions)
packages
npm:@metrxbot/mcp-server

06 · Metrxbots MCP Server FAQ

What is Metrxbots MCP Server?

Your AI agents are wasting money. Metrx finds out how much, and fixes it. The official MCP server for Metrx - the AI Agent Cost Intelligence Platform. Give any MCP-compatible agent (Claude, GPT, Gemini, Cursor, Windsurf) the ability to track its own costs, detect waste, optimize model selection, and prove ROI. It runs locally over stdio via the published package.

Is Metrxbots MCP Server still maintained?

Yes - as of 2026-08-25, its last commit was 2026-05-29 and it shipped 1 release in the last 90 days. We re-verify nightly.

How do I install Metrxbots MCP Server?

Run `npx -y @metrxbot/mcp-server`. The README documents one environment variable (METRX_API_KEY) to set first. You can also paste the ready-made client config above.

Does Metrxbots MCP Server run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Metrxbots MCP Server

More MCP servers to compare · Okf MCP · Bing Ads · Console MCP Server · Microsoft MCP Server for Enterprise · Awesome Copilot MCP Server (microsoft)

More TypeScript MCP servers · Gtm Ga4 · Bantou · Safeinstall · see all