MCP Hub
Back to servers

Robot Resources Router

LLM routing proxy that cuts API costs 60-90% by auto-selecting the cheapest capable model across OpenAI, Anthropic, and Google. Provides stats, config, and model comparison tools via MCP.

glama
Forks
1
Updated
Mar 20, 2026

@robot-resources/router-mcp

MCP server for managing Robot Resources Router — stats, config, and model comparison.

What is Robot Resources?

Human Resources, but for your AI agents.

Robot Resources cuts your LLM API costs by 60-90%. It runs a local proxy that classifies each prompt by task type (coding, reasoning, analysis, simple Q&A, creative, general) and routes it to the cheapest model that can handle it — across 14 models from OpenAI, Anthropic, and Google.

Your API keys never leave your machine. Free, unlimited, no tiers.

Install the full suite

npx robot-resources

One command sets up the Router proxy, configures your agents, and gets you saving immediately.

Learn more at robotresources.ai


About this MCP server

This package gives AI agents management tools for the Router proxy via the Model Context Protocol. Use it to check cost savings, compare models, and adjust routing config — all from within Claude Desktop, Claude Code, or any MCP-compatible agent.

Quick Start

npx @robot-resources/router-mcp

Requires the Router proxy running at localhost:3838 (default). Override with ROUTER_URL env var.

Configuration

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "router": {
      "command": "npx",
      "args": ["-y", "@robot-resources/router-mcp"]
    }
  }
}

Claude Code

Add to your .mcp.json:

{
  "mcpServers": {
    "router": {
      "command": "npx",
      "args": ["-y", "@robot-resources/router-mcp"]
    }
  }
}

Custom Router URL

If the proxy runs on a non-default port:

{
  "mcpServers": {
    "router": {
      "command": "npx",
      "args": ["-y", "@robot-resources/router-mcp"],
      "env": {
        "ROUTER_URL": "http://localhost:4000"
      }
    }
  }
}

Tools

router_get_stats

Cost savings statistics for the Router proxy.

ParameterTypeDefaultDescription
period"daily" | "weekly" | "monthly""weekly"Time period
task_typestringFilter by task type
providerstringFilter by provider

router_compare_models

Compare models by capability and cost for a given task type.

ParameterTypeDefaultDescription
task_typestringrequiredTask type to compare
thresholdnumber0.7Minimum capability score
providerstringFilter by provider

router_get_config

Read current routing configuration (provider scope, thresholds, overrides).

No parameters required.

router_set_config

Update routing configuration at runtime. Changes are in-memory only (reset on restart).

ParameterTypeDescription
provider_scopestringLimit to specific provider(s)
capability_thresholdnumberMinimum capability score
baseline_modelstringModel for cost comparisons
log_levelstringLogging level

Pass null for any field to reset it to the env-var default.

Requirements

License

MIT

Reviews

No reviews yet

Sign in to write a review