AI Open Radar

Heratiki/locallama-mcp

MCP server that routes coding tasks to the cheapest capable model

★ 43 Last commit: 0d Transport: stdio Repository ↗

What it solves

Without it, coding tasks go straight to paid models while local and free capacity sits idle, driving up token costs.

Works with

Copy-ready config

{
  "mcpServers": {
    "locallama": {
      "command": "node",
      "args": [
        "/path/to/locallama-mcp/dist/index.js"
      ],
      "env": {
        "LM_STUDIO_ENDPOINT": "http://localhost:1234/v1",
        "OLLAMA_ENDPOINT": "http://localhost:11434/api",
        "DEFAULT_LOCAL_MODEL": "qwen2.5-coder-3b-instruct",
        "TOKEN_THRESHOLD": "1500",
        "COST_THRESHOLD": "0.02",
        "QUALITY_THRESHOLD": "0.07",
        "OPENROUTER_API_KEY": "your_openrouter_api_key_here"
      }
    }
  }
}

Security flags

Maintenance

Last commit2026-12-05(0d)
Stars43
Open issues0
License—
ArchivedNo
Data fetched2026-12-05

Source excerpt

Verbatim README excerpt, unedited, so you can check the summary above.

Local-first, provider-neutral Model Context Protocol server for coding-agent workflows.

Similar projects