{"slug":"metrxbots/mcp-server","name":"Metrx MCP Server","description":"Track AI agent costs, detect waste, optimize models, and prove ROI. 23 MCP tools for LLM cost tracking, provider arbitrage, budget enforcement, and revenue attribution.","category":"cloud-service","tags":[],"official":false,"stars":1,"transport":"http","install":[{"cmd":"npx @metrxbot/mcp-server","imports":[]}],"tools":[{"name":"metrx_get_cost_summary","description":"Comprehensive cost summary — total spend, call counts, error rates, and optimization opportunities"},{"name":"metrx_list_agents","description":"List all agents with status, category, cost metrics, and health indicators"},{"name":"metrx_get_agent_detail","description":"Detailed agent info including model, framework, cost breakdown, and performance history"},{"name":"metrx_get_optimization_recommendations","description":"AI-powered cost optimization recommendations per agent or fleet-wide"},{"name":"metrx_apply_optimization","description":"One-click apply an optimization recommendation to an agent"},{"name":"metrx_route_model","description":"Model routing recommendation for a specific task based on complexity"},{"name":"metrx_compare_models","description":"Compare LLM model pricing and capabilities across providers"},{"name":"metrx_get_budget_status","description":"Current status of all budget configurations with spend vs. limits"},{"name":"metrx_set_budget","description":"Create or update a budget with hard, soft, or monitor enforcement"},{"name":"metrx_update_budget_mode","description":"Change enforcement mode of an existing budget or pause/resume it"},{"name":"metrx_get_alerts","description":"Active alerts and notifications for your agent fleet"},{"name":"metrx_acknowledge_alert","description":"Mark one or more alerts as read/acknowledged"},{"name":"metrx_get_failure_predictions","description":"Predictive failure analysis — identify agents likely to fail before it happens"},{"name":"metrx_create_model_experiment","description":"Start an A/B test comparing two LLM models with traffic splitting"},{"name":"metrx_get_experiment_results","description":"Statistical significance, cost delta, and recommended action"},{"name":"metrx_stop_experiment","description":"Stop a running model routing experiment and lock in the winner"},{"name":"metrx_run_cost_leak_scan","description":"Comprehensive 7-check cost leak audit across your entire agent fleet"},{"name":"metrx_attribute_task","description":"Link agent actions to business outcomes for ROI tracking"},{"name":"metrx_get_task_roi","description":"Calculate return on investment for an agent — costs vs. attributed outcomes"},{"name":"metrx_get_attribution_report","description":"Multi-source attribution report with confidence scores and top contributors"},{"name":"metrx_configure_alert_threshold","description":"Set cost or operational alert thresholds with email, webhook, or auto-pause"}],"env_vars":["METRX_API_KEY","METRX_API_URL"],"auth_type":"none","github":"https://github.com/metrxbots/mcp-server","homepage":"","server_url":"","status":"active","source":"mcpservers.org","updated_at":"Thu May 28"}