MCP ServerSTDIOOfficialv0.2.2

Metrxbots MCP Server

Monitor AI agent spending, detect cost anomalies, and optimize model selection across 10 domains with 23 built-in tools. For teams running multi-agent systems who need visibility into LLM costs and ROI.

io.github.metrxbots/mcp-server

Hosted URL

Local install

Transport

STDIO

Auth

1 required env var

What the Metrxbots MCP server does

How models use it and what it is built for.

Monitor AI agent spending, detect cost anomalies, and optimize model selection across 10 domains with 23 built-in tools. For teams running multi-agent systems who need visibility into LLM costs and ROI.

Connect to Metrxbots

Local install — runs as a subprocess.

npx @metrxbot/mcp-server@0.2.2

Environment variables

Configuration this server reads at startup.

  • METRX_API_KEYRequiredSecret

    Your Metrx API key (sign up free at https://app.metrxbot.com/sign-up — manage keys at https://app.metrxbot.com/settings/security)

Resources

Where to find authoritative docs and source for Metrxbots.

Example prompts for Metrxbots

Paste any of these into Agent Studio after connecting Metrxbots.

  • Show me total AI costs by model and agent over the last 7 days
  • Detect unusual spending patterns in my agent logs this week
  • Compare cost efficiency between GPT-4 and Claude for my workload
  • What's my estimated ROI on AI automation versus manual processes

Metrxbots MCP server — FAQ

Common questions about connecting and running Metrxbots.

  • What do I need to get started with this MCP server?

    Sign up free at https://app.metrxbot.com/sign-up to get a METRX_API_KEY, then set that environment variable when running the server. The server connects via stdio and exposes 23 tools across cost tracking, anomaly detection, and optimization domains.

  • Can this server track costs for multiple AI models?

    Yes. The server is designed to monitor spending across different models and agents, allowing you to compare cost efficiency and optimize model selection based on your actual usage patterns.

  • Does this MCP server require a paid Metrx plan?

    You can sign up free at https://app.metrxbot.com/sign-up. Pricing details and plan tiers are available on the Metrx website; check your account dashboard to manage API keys and billing.

  • What happens if my METRX_API_KEY is invalid or missing?

    The METRX_API_KEY environment variable is required to authenticate with the Metrx backend. If it's missing or invalid, the server will fail to initialize. Verify your key in the Metrx dashboard and ensure it's set before starting the MCP server.

  • How does this compare to manual cost tracking or other monitoring tools?

    This MCP server integrates cost tracking, anomaly detection, and ROI analysis into your AI workflow via 23 specialized tools, eliminating manual log parsing. It's built specifically for multi-agent systems and provides automated insights rather than static dashboards.

Skip the local setup — run MCP in your browser

MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 60+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.

Open Agent Studio

Related servers

More on MCP Playground