MCP.so
登录

Llm Router

@ypollak2

关于 Llm Router

Universal LLM router for AI coding tools. Works with Claude Code, Cursor, Codex, Gemini CLI, Copilot and more. Free-first fallback chain keeps costs 70–85% lower.

基本信息

分类

AI 与智能体

许可证

MIT

运行时

python

传输方式

stdio

发布者

ypollak2

提交者

Yali Pollak

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "llm-router": {
      "command": "uv",
      "args": [
        "sync",
        "--extra",
        "dev"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Llm Router?

Llm Router is a local-first model router that intercepts prompts from AI coding tools like Claude Code, Codex, and Gemini CLI and routes them to the cheapest capable model first, falling back automatically. It helps developers save 35–80% on routine prompts, protect premium quota, and avoid workflow interruptions when providers fail.

How to use Llm Router?

Install with pip install llm-routing, then run llm-router install to set up hooks for your coding tool. Optionally configure API keys via environment variables for external providers and verify connectivity with llm-router health. Once set up, the router works automatically in the background; you can also use MCP tools like llm_query for manual routing.

Key features

评论

AI 与智能体 分类下的更多 MCP 服务器