crazyrouter-mcp
Enables AI-driven video generation capabilities through ByteDance's Seedance 1.5 Pro model.
Provides access to Google's AI suite, including Gemini models for text and chat, Imagen for image generation, and Veo for video synthesis.
Allows for cinematic video generation using Kuaishou's Kling V2 model.
Enables the use of Meta's Llama series models for chat and text-based AI interactions.
Provides comprehensive access to OpenAI's ecosystem, including GPT models for chat, DALL-E for image generation, Sora for video, and Whisper for speech-to-text processing.
Enables high-quality AI music composition and generation through Suno's music models.
Crazyrouter MCP Server — Access 627+ AI Models with One API
One key. 627+ models. Text, image, video, audio, music, 3D — all through MCP.
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.
✨ Features
🌐 627+ Models, One API — GPT-5, Claude Opus 4.6, Gemini 3, DeepSeek R1, Llama 4, Qwen3, Grok 4, and hundreds more
🎨 Image Generation — DALL-E 3, Midjourney, Flux, Stable Diffusion, Nano Banana Pro
🎬 Video Generation — Sora 2, Kling V2, Veo 3, Seedance, Pika
🎵 Music Generation — Suno V4, Chirp
🗣️ Text-to-Speech & Speech-to-Text — Multiple TTS/STT engines
💰 Competitive Pricing — Below official rates for most models
🌍 7 Global Edge Nodes — Low latency worldwide
🔄 OpenAI + Anthropic + Gemini Protocol Compatible — Drop-in replacement
⚡ Credits Never Expire — Pay once, use anytime
Related MCP server: OpenRouter MCP Server
🚀 Quick Start
1. Get Your API Key
Sign up at crazyrouter.com and grab your API key.
2. Install
git clone https://github.com/xujfcn/crazyrouter-mcp.git
cd crazyrouter-mcp
npm install
npm run build3. Configure Your AI Client
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"
}
}
}
}🛠️ Available Tools
Tool | Description | Key Parameters |
| Chat with any AI model |
|
| List available models by category |
|
| Generate images with AI |
|
| Generate videos with AI |
|
Usage Examples
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"
📋 Supported Models
💬 Chat / Text 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 |
🎨 Image Generation Models
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 |
🎬 Video Generation Models
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 |
🎵 Music & Audio Models
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
🔧 Configuration
Environment Variables
Variable | Required | Description |
| ✅ | Your Crazyrouter API key |
API Endpoints
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/v1This MCP server uses the following endpoints:
POST /v1/chat/completions— Chat completionsGET /v1/models— List available modelsPOST /v1/images/generations— Image generation
🏗️ Development
# 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.jsProject Structure
crazyrouter-mcp/
├── src/
│ └── index.ts # MCP server implementation
├── dist/ # Compiled output
├── package.json
├── tsconfig.json
├── LICENSE
└── README.md🤔 Why Crazyrouter?
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
📄 License
MIT — use it however you like.
🔗 Links
🌏 中文说明
Crazyrouter MCP 服务器 — 一个 API 访问 627+ AI 模型
Crazyrouter MCP 服务器是一个标准的 MCP(模型上下文协议)服务器,让你的 AI 助手(如 Claude Desktop、Cursor、VS Code 等)通过 Crazyrouter AI API 网关 访问 627+ AI 模型。
核心功能:
🌐 627+ AI 模型,一个 API Key 搞定
🎨 图片生成(DALL-E 3, Midjourney, Flux, Stable Diffusion)
🎬 视频生成(Sora 2, Kling V2, Veo 3)
🎵 音乐生成(Suno V4)
💰 价格低于官方价格
⚡ 充值永不过期
快速开始:
在 crazyrouter.com 注册获取 API Key
克隆仓库并编译
配置到你的 AI 客户端(Claude Desktop / Cursor / VS Code)
详细配置请参考上方英文文档。
Available Tools
4 toolschatC
Send a message to any AI model via Crazyrouter. Supports 627+ models including GPT-5, Claude Opus 4.6, Gemini 3, DeepSeek R1, Llama 4, Qwen3, Grok 4, and more.
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | The AI model to use (default: gpt-5-mini). Examples: gpt-5, claude-opus-4-6, gemini-3-pro, deepseek-r1, llama-4-scout, qwen3-235b, grok-4 | gpt-5-mini |
| messages | Yes | Array of chat messages with role and content | |
| temperature | No | Sampling temperature (0-2). Lower = more deterministic, higher = more creative | |
| max_tokens | No | Maximum number of tokens to generate |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the platform (Crazyrouter) and model support but lacks critical behavioral details: authentication requirements, rate limits, cost implications, response format, error handling, or whether it's stateful/conversational. 'Send a message' implies a write operation but doesn't clarify persistence or side effects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two concise sentences with zero waste. The first states the core purpose, the second provides scope/context with specific examples. Well-structured and front-loaded with essential information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 4 parameters, no annotations, and no output schema, the description is incomplete. It lacks crucial context about response format, error conditions, authentication, rate limits, and cost—information an agent needs to use this tool effectively. The model examples are helpful but insufficient for full operational understanding.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, providing good documentation for all parameters. The description adds minimal parameter semantics beyond the schema—it mentions model examples but doesn't explain message structure or parameter interactions. Baseline 3 is appropriate since the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Send a message') and target ('to any AI model via Crazyrouter'), with specific examples of supported models. It distinguishes from sibling tools like generate_image and generate_video by focusing on chat interactions rather than media generation. However, it doesn't explicitly contrast with list_models.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus alternatives is provided. The description mentions 'Supports 627+ models' but doesn't explain when to choose specific models or when to use this versus list_models for discovery. Usage context is implied but not stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generate_imageC
Generate images using AI models via Crazyrouter. Supports DALL-E 3, Midjourney, Flux, Stable Diffusion, and more.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the image to generate | |
| model | No | Image generation model to use (default: dall-e-3). Options: dall-e-3, midjourney, flux-pro-1.1-ultra, flux-kontext-pro, sd3.5-large, imagen-4.0-generate-001 | dall-e-3 |
| size | No | Image size. For DALL-E 3: 1024x1024, 1024x1792, 1792x1024. | |
| n | No | Number of images to generate (1-4, default: 1) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the service provider ('Crazyrouter') and lists supported models, but doesn't describe what happens during generation (e.g., processing time, rate limits, authentication needs, cost implications, or what the output looks like). For a generative AI tool with zero annotation coverage, this leaves significant behavioral gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that communicates the core purpose and lists key supported models. It's appropriately sized and front-loaded with the main action. However, it could be slightly more structured by separating purpose from model examples for better readability.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a generative AI tool with 4 parameters, no annotations, and no output schema, the description is incomplete. It doesn't explain what the tool returns (image URLs, binary data, metadata), processing behavior, error conditions, or usage constraints. The lack of output schema means the description should ideally cover return values, but it doesn't.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all four parameters thoroughly. The description adds no additional parameter semantics beyond what's in the schema. It mentions model names but doesn't provide guidance on when to use specific models or size options. Baseline 3 is appropriate when the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Generate images') and the resource ('using AI models via Crazyrouter'), and lists specific model examples. It distinguishes from sibling 'generate_video' by specifying images, but doesn't explicitly contrast with 'chat' or 'list_models'. The purpose is clear but could be more specific about what distinguishes it from other tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'generate_video' or 'chat'. It mentions supported models but doesn't explain when to choose one model over another or any prerequisites. There's no explicit when/when-not usage context or comparison to sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generate_videoC
Generate videos using AI models via Crazyrouter. Supports Sora 2, Kling V2, Veo 3, Seedance, Pika, and more.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the video to generate | |
| model | No | Video generation model to use (default: kling-v2-1). Options: sora-2, kling-v2-1, veo3, doubao-seedance-1-5-pro_720p, pika-1.5, runway-vip-video, MiniMax-Hailuo-2.3 | kling-v2-1 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'Generate videos using AI models' and lists models, but doesn't describe what the tool actually does behaviorally—e.g., whether it initiates an async process, returns a video file or URL, requires authentication, has rate limits, or involves costs. For a tool with zero annotation coverage, this is a significant gap, warranting a score of 2.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded, stating the core purpose in the first phrase. The list of models adds specificity without unnecessary elaboration. However, the second sentence could be integrated more smoothly, and there's some redundancy with the schema's model options, slightly reducing efficiency. Overall, it's appropriately sized with minimal waste.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of video generation (likely involving async processing, output formats, etc.), no annotations, and no output schema, the description is incomplete. It doesn't explain what the tool returns (e.g., a video URL, status, or error details), behavioral aspects like latency or costs, or how to handle the generated content. This inadequacy for a tool with such potential complexity results in a score of 2.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with both parameters ('prompt' and 'model') well-described in the schema. The description adds no additional meaning about parameters beyond implying model options in its list. Since the schema does the heavy lifting, the baseline score of 3 is appropriate, as the description doesn't compensate or add value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Generate videos using AI models via Crazyrouter.' It specifies the action ('Generate videos') and resource ('AI models'), and lists specific models (Sora 2, Kling V2, etc.) to illustrate capability. However, it doesn't explicitly differentiate from sibling tools like 'generate_image' beyond implying video vs. image generation, which is why it's a 4 rather than a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'generate_image' or 'chat'. It lists supported models but doesn't indicate when to choose one model over another or any prerequisites for usage. This lack of explicit when/when-not/alternatives guidance results in a score of 2.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_modelsB
List available AI models on Crazyrouter. Filter by category: chat, image, video, audio, or music.
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Filter models by category. Options: chat, image, video, audio, music. Omit to show all categories. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It mentions filtering by category but doesn't disclose behavioral traits like pagination, rate limits, authentication needs, or what 'available' means (e.g., free vs. paid, active vs. all). This leaves gaps in understanding how the tool behaves beyond basic listing.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the purpose ('List available AI models on Crazyrouter') and adds necessary detail ('Filter by category...'). There is zero waste, and every word earns its place, making it highly concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (one optional parameter, no output schema, no annotations), the description is minimally adequate. It covers the basic purpose and parameter use, but lacks details on output format, error handling, or behavioral context. Without annotations or output schema, more completeness would be beneficial for an AI agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with the parameter 'category' fully documented in the schema (including enum values and omission behavior). The description adds minimal value by listing the categories, which is already in the schema, but doesn't provide additional semantics like examples or edge cases. Baseline 3 is appropriate as the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('List available AI models') and resource ('on Crazyrouter'), with specific filtering capability by category. It distinguishes from siblings like 'chat', 'generate_image', and 'generate_video' by being a listing tool rather than a generation tool. However, it doesn't explicitly contrast with potential other listing tools (none present in siblings).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for listing models with optional filtering, but doesn't explicitly state when to use this tool versus alternatives. Since siblings are generation tools (chat, generate_image, generate_video), the distinction is clear by function, but no explicit guidance on when to choose listing over generation or vice versa is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
Each tool has a clearly distinct purpose: chat handles text generation, generate_image handles image creation, generate_video handles video generation, and list_models handles model discovery. There is no overlap in functionality, making it easy for an agent to select the correct tool for each task.
All tool names follow a consistent verb_noun pattern: chat, generate_image, generate_video, and list_models. The naming is straightforward and predictable, with no deviations in style or convention across the set.
With 4 tools, this server is well-scoped for its purpose of accessing AI models via Crazyrouter. Each tool earns its place by covering key functionalities: text, image, video generation, and model listing, without being overly sparse or bloated.
The tool set covers the core AI generation domains (text, image, video) and model discovery, but there are minor gaps such as missing audio or music generation tools mentioned in the list_models description. However, agents can work around this by using chat or other tools for those purposes.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Best Image and video generation: 20+ models (Kling, Seedance, Veo, NB, FLUX.2), OAuth, pay-per-use.
One API for 100+ AI video, image, music and speech models.
Image, video, music and text generation across 100+ models through one endpoint.
Generate images, video, music, voice and 3D through one API. 30 tools, 200+ models.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides seamless access to 200+ AI models through OpenRouter's unified API, featuring multi-model collaboration, vision support, intelligent benchmarking, and collective intelligence capabilities for enhanced decision-making.1,1179MIT
- AlicenseAqualityAmaintenanceRoutes your AI tasks to the best available model across 20+ providers — automatically selecting based on task type, budget, and subscription pressure. Supports text, image, video, and audio with built-in cost optimization and fallback chains.6077MIT

Adorbis AI MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceEnables AI assistants to access 40+ models via one API key with automatic routing for chat, code, reasoning, and writing tasks.501MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xujfcn/crazyrouter-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server