loading…
Search for a command to run...
loading…
Access 627+ AI models through one API key — chat with GPT-5/Claude/Gemini, generate images with DALL-E 3/Midjourney/Flux, create videos with Sora 2/Kling/Veo 3,
Access 627+ AI models through one API key — chat with GPT-5/Claude/Gemini, generate images with DALL-E 3/Midjourney/Flux, create videos with Sora 2/Kling/Veo 3, and more via Crazyrouter.
One key. 627+ models. Text, image, video, audio, music, 3D — all through MCP.
npm version License: MIT Node.js MCP Protocol npm
An MCP (Model Context Protocol) server that gives your AI assistant access to 627+ AI models through Crazyrouter — the unified AI API gateway. Chat with GPT-5, generate images with DALL-E 3, create videos with Sora 2, compose music with Suno V4, and more — all from a single API key.
Sign up at crazyrouter.com and grab your API key.
git clone https://github.com/xujfcn/crazyrouter-mcp.git
cd crazyrouter-mcp
npm install
npm run build
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"crazyrouter": {
"command": "node",
"args": ["/path/to/crazyrouter-mcp/dist/index.js"],
"env": {
"CRAZYROUTER_API_KEY": "your-api-key-here"
}
}
}
}
Edit .cursor/mcp.json in your project root:
{
"mcpServers": {
"crazyrouter": {
"command": "node",
"args": ["/path/to/crazyrouter-mcp/dist/index.js"],
"env": {
"CRAZYROUTER_API_KEY": "your-api-key-here"
}
}
}
}
Add to your VS Code settings.json:
{
"mcp": {
"servers": {
"crazyrouter": {
"command": "node",
"args": ["/path/to/crazyrouter-mcp/dist/index.js"],
"env": {
"CRAZYROUTER_API_KEY": "your-api-key-here"
}
}
}
}
}
Edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"crazyrouter": {
"command": "node",
"args": ["/path/to/crazyrouter-mcp/dist/index.js"],
"env": {
"CRAZYROUTER_API_KEY": "your-api-key-here"
}
}
}
}
Add to your OpenClaw MCP config:
{
"mcpServers": {
"crazyrouter": {
"command": "node",
"args": ["/path/to/crazyrouter-mcp/dist/index.js"],
"env": {
"CRAZYROUTER_API_KEY": "your-api-key-here"
}
}
}
}
| Tool | Description | Key Parameters |
|---|---|---|
chat |
Chat with any AI model | model, messages, temperature |
list_models |
List available models by category | category (chat/image/video/audio/music) |
generate_image |
Generate images with AI | prompt, model, size |
generate_video |
Generate videos with AI | prompt, model |
Chat with any model:
"Use the chat tool to ask GPT-5 to explain quantum computing"
Generate an image:
"Use generate_image to create a sunset over mountains with DALL-E 3"
Generate a video:
"Use generate_video with Kling V2 to create a 5-second clip of ocean waves"
Discover models:
"Use list_models to show me all available image generation models"
| Provider | Models |
|---|---|
| OpenAI | GPT-5, GPT-5-mini, GPT-4.1, GPT-4o, o3, o4-mini |
| Anthropic | Claude Opus 4.6, Claude Sonnet 4, Claude Haiku 3.5 |
| Gemini 3 Pro, Gemini 2.5 Flash, Gemini 2.0 | |
| DeepSeek | DeepSeek R1, DeepSeek V3 |
| Meta | Llama 4 Scout, Llama 4 Maverick |
| Alibaba | Qwen3 235B, Qwen3 32B, Qwen3 Coder |
| xAI | Grok 4, Grok 3 |
| Mistral | Mistral Large, Codestral |
| And more... | 600+ chat models available |
| Model | Description |
|---|---|
| DALL-E 3 | OpenAI's latest image model |
| Midjourney | Industry-leading artistic image generation |
| Flux Pro 1.1 Ultra | Black Forest Labs' flagship model |
| Flux Kontext Pro/Max | Contextual image generation |
| Stable Diffusion 3.5 Large | Stability AI's open model |
| Stable Diffusion XL | Classic high-quality generation |
| Imagen 4.0 | Google's latest image model |
| Imagen 3.0 | Google's proven image model |
| Model | Description |
|---|---|
| Sora 2 | OpenAI's video generation model |
| Kling V2 | Kuaishou's cinematic video model |
| Veo 3 | Google's video generation model |
| Seedance 1.5 Pro | ByteDance's dance video model |
| Pika 1.5 | Creative video generation |
| Runway VIP | Professional video synthesis |
| MiniMax Hailuo 2.3 | MiniMax's video model |
| Model | Description |
|---|---|
| Suno Music | AI music composition |
| Suno V3 | Music generation model |
| TTS-1 / TTS-1-HD | OpenAI text-to-speech |
| GPT-4o Mini TTS | Latest OpenAI TTS |
| Gemini TTS | Google text-to-speech |
| Whisper-1 | Speech-to-text transcription |
📖 Full model list: crazyrouter.com/models
| Variable | Required | Description |
|---|---|---|
CRAZYROUTER_API_KEY |
✅ | Your Crazyrouter API key |
Crazyrouter is OpenAI-compatible, meaning any tool or library that works with OpenAI can work with Crazyrouter by simply changing the base URL:
Base URL: https://crazyrouter.com/v1
This MCP server uses the following endpoints:
POST /v1/chat/completions — Chat completionsGET /v1/models — List available modelsPOST /v1/images/generations — Image generation# Clone the repo
git clone https://github.com/xujfcn/crazyrouter-mcp.git
cd crazyrouter-mcp
# Install dependencies
npm install
# Build
npm run build
# Run
CRAZYROUTER_API_KEY=your-key node dist/index.js
crazyrouter-mcp/
├── src/
│ └── index.ts # MCP server implementation
├── dist/ # Compiled output
├── package.json
├── tsconfig.json
├── LICENSE
└── README.md
| Feature | Crazyrouter | Direct API |
|---|---|---|
| Models Available | 627+ | 1 provider |
| API Keys Needed | 1 | Multiple |
| Protocol Support | OpenAI + Anthropic + Gemini | Varies |
| Pricing | Below official rates | Official rates |
| Credits Expiry | Never | Varies |
| Global Edge Nodes | 7 | Varies |
One API key. All providers. Better prices.
👉 Get started at crazyrouter.com
MIT — use it however you like.
Crazyrouter MCP 服务器是一个标准的 MCP(模型上下文协议)服务器,让你的 AI 助手(如 Claude Desktop、Cursor、VS Code 等)通过 Crazyrouter AI API 网关 访问 627+ AI 模型。
核心功能:
快速开始:
详细配置请参考上方英文文档。
Built with ❤️ for the AI community by Crazyrouter
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"crazyrouter-mcp": {
"command": "npx",
"args": []
}
}
}Read, send and search emails from Claude
Send, search and summarize Slack messages
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)