Llm Fallback
БесплатноНе проверенMCP server that completes prompts with automatic provider fallback across OpenAI, Anthropic Claude, and Google Gemini. It is rate-limit aware, retries on transi
Описание
MCP server that completes prompts with automatic provider fallback across OpenAI, Anthropic Claude, and Google Gemini. It is rate-limit aware, retries on transient failures, and provides a transparent attempt log.
README
MCP server that completes prompts with automatic provider fallback across OpenAI, Anthropic Claude, and Google Gemini. Built for production: rate-limit aware, retries on transient failures, transparent attempt log.
Why
LLM APIs go down. They rate-limit you. One provider has an outage, the others usually don't. Production LLM apps need fallback. This server gives you the pattern as a single MCP tool.
- Try OpenAI → Anthropic → Gemini in order (configurable)
- Each provider retries once on 429 / 5xx / network errors with backoff
- Return first success with a full per-provider attempt log
- Skip providers without keys automatically
- Zero SDK dependencies — calls each provider's REST API directly
Install
npm install -g llm-fallback-mcp
Or npx:
npx llm-fallback-mcp
Use with Claude Desktop
Add to claude_desktop_config.json (Windows: %APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"llm-fallback": {
"command": "npx",
"args": ["-y", "llm-fallback-mcp"],
"env": {
"OPENAI_API_KEY": "sk-...",
"ANTHROPIC_API_KEY": "sk-ant-...",
"GEMINI_API_KEY": "..."
}
}
}
}
Only set keys for providers you want active. Missing keys = provider skipped.
Tools
complete
| Arg | Type | Required | Default |
|---|---|---|---|
prompt |
string | yes | — |
chain |
string[] | no | ["openai", "anthropic", "gemini"] |
model_overrides |
object | no | — |
temperature |
number | no | 0.5 |
max_tokens |
number | no | 1024 |
health_check
Returns which providers are configured.
Example response
{
"text": "...",
"provider_used": "anthropic",
"model_used": "claude-haiku-4-5-20251001",
"attempts": [
{ "provider": "openai", "ok": false, "status": 429, "durationMs": 412 },
{ "provider": "anthropic", "ok": true, "durationMs": 1133 }
]
}
Local development
git clone https://github.com/KhushalB25/llm-fallback-mcp.git
cd llm-fallback-mcp
npm install
npm run build
OPENAI_API_KEY=sk-... npm start
Author
License
MIT
Установка Llm Fallback
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/KhushalB25/llm-fallback-mcpFAQ
Llm Fallback MCP бесплатный?
Да, Llm Fallback MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Llm Fallback?
Нет, Llm Fallback работает без API-ключей и переменных окружения.
Llm Fallback — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Llm Fallback в Claude Desktop, Claude Code или Cursor?
Открой Llm Fallback на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
Roblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
автор: paralovOpencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
автор: GitHub ActionsAWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
автор: lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
Compare Llm Fallback with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
