Metrxbot MCP Server
by metrxbotsio.github.metrxbots/mcp-serverv0.2.2
Metrx MCP Server — AI agent cost intelligence tools for LLM agents. Track spend, optimize models, manage budgets, detect waste, and prove ROI.
context tax
queued
security
queued
cold start
queued
freshness
Slowing4mo ago
Install Metrxbot MCP server
Install in Claude Code
claude mcp add metrxbot -e METRX_API_KEY='<metrx-api-key>' -- npx -y @metrxbot/mcp-serverInstall in Cursor
{
"mcpServers": {
"metrxbot": {
"command": "npx",
"args": [
"-y",
"@metrxbot/mcp-server"
],
"env": {
"METRX_API_KEY": "<metrx-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"metrxbot": {
"command": "npx",
"args": [
"-y",
"@metrxbot/mcp-server"
],
"env": {
"METRX_API_KEY": "<metrx-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"metrxbot": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@metrxbot/mcp-server"
],
"env": {
"METRX_API_KEY": "<metrx-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"metrxbot": {
"command": "npx",
"args": [
"-y",
"@metrxbot/mcp-server"
],
"env": {
"METRX_API_KEY": "<metrx-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| METRX_API_KEY | yes | yes | Your Metrx API key (sign up free at https://app.metrxbot.com/sign-up — manage keys at https://app.metrxbot.com/settings/security) |
Freshness
Slowing — last maintenance signal 4mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-05-29 · 4mo ago · GitHub
Latest release
2026-05-29 · 4mo ago · GitHub · v0.2.5
Package published
no data · npm/PyPI
Registry entry updated
2026-03-12 · 7mo ago · official registry · v0.2.2
FAQ
›How do I install the Metrxbot MCP server in Claude Code?
Run: claude mcp add metrxbot -e METRX_API_KEY='<metrx-api-key>' -- npx -y @metrxbot/mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Metrxbot require an API key?
Yes. It expects METRX_API_KEY, of which 1 is a secret.
›Can I use Metrxbot as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Metrxbot in the official MCP registry?
Yes, as io.github.metrxbots/mcp-server.
Alternatives to Metrxbot
Other monitoring & observability MCP servers.