Zerouter MCP server
2026년 10월 18일 커밋단일 API 키를 사용하여 Claude, GPT, Gemini, Grok과 같은 다양한 모델을 AI 클라이언트에 연결하고 실시간 가격 정보를 제공합니다.
다른 이름 ZerouterAI/zerouter-mcp, zerouter-mcp
- 스타
- 0
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 0.1.0
- 마지막 커밋
- 2026년 10월 18일
- 라이선스
- MIT
Zerouter MCP란?
Zerouter은(는) MCP server입니다. 단일 API 키를 사용하여 Claude, GPT, Gemini, Grok과 같은 다양한 모델을 AI 클라이언트에 연결하고 실시간 가격 정보를 제공합니다.
프로젝트 README에서 생성된 요약
Zerouter MCP server 정보
Zerrouter는 Claude Desktop, Cursor, Claude Code와 같은 MCP 클라이언트를 Claude, GPT, Gemini, Grok, Kimi를 포함한 다양한 모델에 연결하는 AI API 게이트웨이 역할을 합니다. 개발자는 sk- 접두사가 붙은 단일 API 키를 사용하여 하나의 인터페이스를 통해 여러 제공업체에 접속할 수 있습니다. 이 서버는 npx 또는 Docker를 통해 로컬에서 작동하며, 대부분의 작업에 ZEROUTER_API_KEY 환경 변수가 필요합니다.
이 도구는 다양한 작업에 특화된 도구를 제공하여 모델 관리를 간소화합니다. chat 도구는 다양한 API 형식의 요청을 자동으로 처리하며, compare_models 도구를 사용하면 사용자가 하나의 프롬프트를 2개에서 4개의 모델에 동시에 실행할 수 있습니다. 또한 list_models를 사용하여 사용 가능한 ID를 확인하고, get_pricing을 통해 공식 벤더 요율과 함께 1M 토큰당 실시간 비용을 확인할 수 있습니다. 이 도구는 여러 개의 개별 계정이나 API 키를 관리하지 않고 다양한 LLM 사이를 전환하고자 하는 개발자를 위해 설계되었습니다.
활용 사례
- 1모델 성능 및 비용 비교하나의 프롬프트를 여러 모델에 동시에 전송하여 답변, 지연 시간 및 예상 비용을 평가합니다.
- 2실시간 API 요율 확인특정 모델의 현재 가격을 조회하여 Zerrouter 요율을 공식 벤더의 리스트 가격과 비교합니다.
- 3단일 키로 다양한 모델 접속하나의 인증 토큰을 사용하여 Gemini, Grok, Claude와 같은 다양한 제공업체와 상호작용합니다.
- 4사용 가능한 모델 ID 탐색지원되는 모든 AI 모델을 나열하고 각 모델이 사용하는 특정 엔드포인트를 식별합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
구성
ZEROUTER_API_KEY비밀Zerouter API key (sk-...) from https://www.zerouter.ai. Needed for chat and compare_models; get_pricing and list_models work without it.
ZEROUTER_BASE_URLOverride the gateway URL. Default https://api.zerouter.ai
| 이름 | 설명 | 유형 |
|---|---|---|
| ZEROUTER_API_KEY | Zerouter API key (sk-...) from https://www.zerouter.ai. Needed for chat and compare_models; get_pricing and list_models work without it. | 비밀 |
| ZEROUTER_BASE_URL | Override the gateway URL. Default https://api.zerouter.ai |
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →아직 인증되지 않았습니다. 서버는 80점 이상의 점수, 심각한 결함 없음, 그리고 검사에 충분한 데이터를 갖추어야 합니다. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능zerouterai/zerouter-mcp is public and reachablegithub.com/zerouterai/zerouter-mcp ↗통과
- 패키지가 이 저장소를 소스로 명시검사되지 않음
- 빌드 출처(Sigstore 증명)검사되지 않음
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-10-18github.com/zerouterai/zerouter-mcp ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음검사되지 않음
- 패키지 및 해당 종속성에 중요한 보안 권고 없음검사되지 않음
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기zerouter-mcp
AI API gateway MCP for Claude, GPT, Gemini, Grok and Kimi via Zerouter.
zerouter-mcp connects Claude Desktop, Cursor, Claude Code and other MCP clients to Zerouter, an OpenAI-compatible AI API gateway. With one API key you can chat with any supported model, compare answers side by side, or look up API pricing per 1M tokens, without leaving your editor.
Why Zerouter
- One API key for Claude, GPT, Gemini, Grok and Kimi. The same
sk-key routes to every model. Zerouter exposes Anthropic-compatible and OpenAI-compatible endpoints, so it works with Claude Code, Codex and Cursor—change the base URL and keep your existing clients. - API pricing you can check in chat. Claude Opus 5.5 on Zerouter is $1.16 input / $5.81 output per 1M tokens (Anthropic list price $4 / $20). Live rates for GPT, Gemini, Grok and Kimi are on the Zerouter pricing page.
- Compare models before you commit. Send one prompt to 2–4 models in parallel and get each answer with token usage, latency and estimated cost.
- Stable routing, real models. The model ID you send is the model that runs and the one you're billed for. Prompts aren't rewritten and models aren't swapped.
- Host unused subscription quota. If you have an official AI account with capacity you don't use, the Zerouter provider program routes paid traffic to it and pays you the larger share of each request, currently about 80%, in USDC.
What it does
| Tool | What it's for | Needs a key? |
|---|---|---|
get_pricing |
Current Zerouter API pricing per 1M input/output tokens, next to each vendor's official list price. Filter by model or provider. | No |
list_models |
AI model IDs you can call, and which endpoint each one uses. | No (uses /v1/models when a key is set) |
chat |
Send a prompt or a message list to any model, with optional system, max_tokens and temperature. |
Yes |
compare_models |
Send the same prompt to 2–4 models in parallel. You get each answer back with token usage, latency and an estimated cost. | Yes |
You don't have to think about API formats. chat sends each request to the right Zerouter endpoint for you:
- Claude and Kimi go to
POST /v1/messages(Anthropic format) - GPT, Codex and Grok go to
POST /v1/responses(OpenAI Responses) - Gemini and the compatible channels (Qwen/Dashscope and others) go to
POST /v1/chat/completions
If you need to, you can override this with the endpoint argument.
Get a key
- Sign in at zerouter.ai and open the dashboard.
- Create an API key. Keys start with
sk-and work for every model. - Put it in the
ZEROUTER_API_KEYenvironment variable, as in the configs below.
See the pricing page for current API pricing and the quickstart for setup details.
Setup
You need Node.js 18 or newer with npm 10 or newer (bundled with current Node 18/20/22 releases). npx fetches the server straight from GitHub, builds it once and runs it. The first start takes up to a minute while it installs; later starts use the npx cache.
The package isn't published to npm, so use github:ZerouterAI/zerouter-mcp as shown below (not zerouter-mcp). Prefer not to use npx? See Other ways to install.
Claude Desktop
Edit claude_desktop_config.json. On macOS it's in ~/Library/Application Support/Claude/ and on Windows in %APPDATA%\Claude\:
{
"mcpServers": {
"zerouter": {
"command": "npx",
"args": ["-y", "github:ZerouterAI/zerouter-mcp"],
"env": {
"ZEROUTER_API_KEY": "sk-xxxx"
}
}
}
}
Restart Claude Desktop afterwards.
Cursor
Add this to ~/.cursor/mcp.json for all projects, or to .cursor/mcp.json in a single project:
{
"mcpServers": {
"zerouter": {
"command": "npx",
"args": ["-y", "github:ZerouterAI/zerouter-mcp"],
"env": {
"ZEROUTER_API_KEY": "sk-xxxx"
}
}
}
}
Claude Code
claude mcp add zerouter --env ZEROUTER_API_KEY=sk-xxxx -- npx -y github:ZerouterAI/zerouter-mcp
Add --scope user to make it available in every project.
Other ways to install
MCPB bundle (Claude Desktop one-click). Download zerouter-mcp-0.1.0.mcpb from the latest release and open it, or drag it into Claude Desktop under Settings → Extensions. Claude Desktop asks for your API key; no Node.js setup needed.
Clone and build. Works with any MCP client that can run a local command:
git clone https://github.com/ZerouterAI/zerouter-mcp.git
cd zerouter-mcp
npm install # also builds dist/ via the prepare script
Then point your client at the built file, using the absolute path on your machine:
{
"mcpServers": {
"zerouter": {
"command": "node",
"args": ["/absolute/path/to/zerouter-mcp/dist/index.js"],
"env": {
"ZEROUTER_API_KEY": "sk-xxxx"
}
}
}
}
For Claude Code: claude mcp add zerouter --env ZEROUTER_API_KEY=sk-xxxx -- node /absolute/path/to/zerouter-mcp/dist/index.js
Docker
docker build -t zerouter-mcp .
docker run -i --rm -e ZEROUTER_API_KEY=sk-xxxx zerouter-mcp
Environment variables
| Variable | Required | Default | Notes |
|---|---|---|---|
ZEROUTER_API_KEY |
For chat and compare_models |
none | Your key from zerouter.ai |
ZEROUTER_BASE_URL |
No | https://api.zerouter.ai |
Change it only if you route through a proxy |
ZEROUTER_TIMEOUT_MS |
No | 120000 |
Timeout for each request |
If no key is set, get_pricing and list_models still work. chat and compare_models return a clear error that tells you where to get a key.
Example prompts
- "What does Claude Opus 5.5 cost on Zerouter compared with the official API pricing?"
- "Ask gemini-3.8-flash to summarise this file."
- "Compare claude-sonnet-5-5, gpt-6-sol and grok-4.6 on this regex question and tell me which answer is right."
- "Which models on Zerouter cost less than $0.50 per million input tokens?"
Development
git clone https://github.com/ZerouterAI/zerouter-mcp.git
cd zerouter-mcp
npm install # runs the build through the prepare script
npm test # spawns the server over stdio and calls every tool (no key needed)
npx @modelcontextprotocol/inspector node dist/index.js
Links
- Start here: zerouter.ai — get a key and see how it works
- Model list: zerouter.ai/models
- API pricing: zerouter.ai/pricing
- Docs: zerouter.ai/docs
- Provider program: provider.zerouter.ai/docs
- Issues: github.com/ZerouterAI/zerouter-mcp/issues
License
MIT. Built by the Zerouter team.
Zerouter MCP 질문
여러 모델을 나란히 비교할 수 있나요?
네, 하나의 프롬프트를 2~4개의 모델에 병렬로 전송하여 답변과 함께 토큰 사용량, 지연 시간, 예상 비용을 확인할 수 있습니다.
API 가격은 어떻게 확인하나요?
get_pricing 도구를 사용하여 공식 벤더의 리스트 가격과 비교한 현재 Zerouter API의 1M 토큰당 가격을 확인할 수 있습니다.