← Back to directory
L

LLM Router

Community
Gateway / proxy
An LLM router that tries free or local models first for coding assistants.

This gateway aggregates or proxies other MCP servers; it only becomes useful once you connect real servers behind it.

Category
Dev Tools #357 of 751
Stars
★ 135 Popular
Runtime
Python
Credentials
No credential needed
License
MIT
Last commit
51FMRS · D

The README describes local-first routing for coding tools, fallback behavior, and several security limitations, and states that drafts are advisory by default. It also discloses host capability differences, measurement limitations, and RouterArena results that have not been independently verified. The server manifest was not provided, so the MCP tool list, transport, and client configuration example cannot be confirmed.

Strongest · Documentation 15/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
8/20
Maintenance
8/20
Documentation
15/20
Setup experience
12/20
Why each score
Reliability 8/20
The README describes the MCP surface, 12 default front-door tools, related tests, fallback behavior, rate-limit handling, and capability limits. However, no manifest or source files were provided, so the initialization and tool-list handshake, consistency between declarations and behavior, and test coverage cannot be verified. The score is therefore limited under static calibration.
Security and permissions 8/20
The README says sensitive inputs on several routing paths go only to local Ollama or are refused, and it lists uncovered paths and direct-execution risks. At the same time, local-model file and command execution are enabled by default; path protection uses a static tripwire rather than an OS sandbox, and dangerous-operation scope and approval are incomplete. The supplied evidence does not establish a red-line violation, but the permission boundaries warrant substantial deductions.
Maintenance 8/20
The repository has an MIT license, PyPI entry, changelog, contribution path, and is not marked archived. The supplied material contains no commit history, release cadence, dependency-update evidence, issue-response record, or security-response channel, so sustained maintenance cannot be established.
Documentation 15/20
The README provides layered guides, installation and host-support information, routing and cost methodology, measurement conditions, and security limits; it also discloses unverified claims and capability gaps. The linked documents and tool manifest were not supplied, so tool parameters, troubleshooting detail, and implementation claims cannot be checked, precluding full marks.
Setup experience 12/20
The README gives pip installation, default-host setup, a diagnostic command, and installation options for multiple clients, and says local-model setup requires consent. A verifiable MCP manifest and client configuration details are absent, as is source evidence of real CI workflows and key-path tests required for a higher static score.

Static review · not runReviewed 2026-12-04

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the network

Best for

  • Individual developers and small teams who want to try free-first or local-first routing alongside Claude subscription quotas or metered API spending.
  • Users willing to review host support, routing policies, and security limitations.

Not for

  • Teams that need enterprise team policy enforcement, audit export, SSO, or organization budgets.
  • Users who expect every prompt to be handled directly by a replacement model without considering the default advisory mode.
  • Users who need independently verified benchmark results or a guaranteed savings percentage.

Required permissions

  • Installation and use of the chosen coding host's configuration or lifecycle hooks; exact permissions depend on the host.
  • Local model setup on the machine if local routing is enabled; provider keys may be configured if cloud providers are used.
  • If enabled, the default-on direct execution feature allows a local model to call file write, file edit, and command-running operations within a confined path.

Risks and side effects

  • Drafts are unverified suggestions by default. The README says a grounding check discards drafts citing files or functions absent from context and the indexed repository, but this does not guarantee correctness.
  • Secret protection covers only some entry points. The README says some proxies, automatic classifiers, direct execution, delegation, and opt-in features are outside that protection; content already sent by the host to its own model is out of reach.
  • Direct execution is not an operating system sandbox. The README notes risks including targeted deletion, force pushes, or data exfiltration. Commands the tripwire cannot judge are refused.
  • Savings are counterfactual estimates against API list prices, not actual savings on a subscription bill; the amount depends on the workload.
  • Ground Truth is off by default and writes prompt text to disk when enabled.

Setup

Before you start

Runtime:Python

Other optional settings (2)
LLM_ROUTER_ENFORCE optional Set to `off` to disable holding selected tool calls until the prompt is routed.
LLM_ROUTER_DIRECT_EXECUTION optional Set to `false` to turn off direct execution by a local model.

The README's installation steps are pip install llm-routing, followed by llm-router install for Claude Code or llm-router install --host <host> for another host. Run llm-router doctor to check provider connectivity and setup. The README also describes in-process use from Python with from llm_router import Router.

Check that it works

Run `llm-router doctor` to check provider connectivity and setup, then run `llm-router status` to confirm routing is working.

Troubleshooting

  1. Run `llm-router doctor` to check setup and provider connectivity.
  2. Run `llm-router status` to confirm routing and view estimated savings.
  3. Check the host support matrix and the selected host's feature limitations.
  4. If tool calls wait for prompt routing, check the `LLM_ROUTER_ENFORCE` setting; the README says setting it to `off` disables this behavior.
  5. If local routing checks fail, inspect the Local routing section in doctor output; the README says failures are reported as `local routing: NONE`.

Use cases

Try free or local models on coding prompts first, with fallback to paid models when needed.
Check routing status, provider health, and estimated cost differences against a baseline.
Run multi-step research or image, video, and audio related tools locally.

Overview

LLM Router is a local LLM router for AI coding tools. It uses lifecycle hooks to read prompts, asks a free or local model to draft an answer first, then falls back to paid models when needed. By default, drafts are advisory and Claude still handles the turn; users can opt into zero-Claude mode. The project says it supports multiple coding tools, with host-specific differences. The server manifest was not provided, so its exact MCP tools and transport cannot be confirmed.

Similar servers

Source revision a4d742249af0 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/llm-router.svg)](https://followmcp.com/en/servers/llm-router)