multi-llm-mcp
Allows delegating coding tasks to NVIDIA NIM cloud models, providing access to high-performance LLMs such as Llama 3.1 405B, Mixtral, and Code Llama.
Allows delegating coding tasks to local Ollama models, enabling fully offline and private coding assistance with models like Llama 3, CodeLlama, Mistral, and Gemma.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@multi-llm-mcpAsk DeepSeek to check this code for security issues."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
multi-llm-mcp
An MCP server that lets any IDE agent delegate coding tasks to any LLM — cloud APIs or local models — through a single unified interface.
Instead of being locked into one model, your coding agent can call NVIDIA NIM, OpenRouter, Groq, DeepSeek, or a local Ollama model for a second opinion, code review, or specialized task.
Features
🔌 5 providers out of the box — NVIDIA NIM, OpenRouter, Groq, DeepSeek, Ollama
🏠 Local model support — Use Ollama for fully offline, private coding assistance
🎛️ Fine-grained control — Set
temperature,max_tokens, andsystem_promptper call🔒 Secure by design — API keys stay in environment variables, never in code
⚡ Connection pooling — Clients are cached for fast, efficient API calls
🧩 MCP standard — Works with any MCP-compatible IDE (Claude Desktop, VS Code, Cursor, Windsurf, etc.)
Related MCP server: Context7 MCP Server
Supported Providers
Provider | Type | Models |
Local | Llama 3, CodeLlama, Mistral, Gemma, etc. | |
Cloud | Llama 3.1 405B, Mixtral, Code Llama, etc. | |
Cloud | Claude, GPT-4, Gemini, 200+ models | |
Cloud | Llama 3, Mixtral, Gemma (ultra-fast inference) | |
Cloud | DeepSeek Coder, DeepSeek Chat |
Quick Start
1. Clone and install
git clone https://github.com/arjunkr303/multi-llm-mcp.git
cd multi-llm-mcp
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt2. Configure API keys
cp .env.example .envEdit .env and add your API keys. You only need keys for the providers you want to use. Ollama requires no API key.
NVIDIA_API_KEY=your_nvidia_key_here
OPENROUTER_API_KEY=your_openrouter_key_here
GROQ_API_KEY=your_groq_key_here
DEEPSEEK_API_KEY=your_deepseek_key_here3. Connect to your IDE
Add this to your MCP configuration:
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"multi-llm-gateway": {
"command": "/path/to/multi-llm-mcp/venv/bin/python",
"args": ["/path/to/multi-llm-mcp/server.py"]
}
}
}VS Code / Cursor (.vscode/mcp.json or IDE MCP settings):
{
"mcpServers": {
"multi-llm-gateway": {
"command": "/path/to/multi-llm-mcp/venv/bin/python",
"args": ["/path/to/multi-llm-mcp/server.py"]
}
}
}Replace
/path/to/multi-llm-mcpwith the actual path where you cloned the repo.
4. Use it
Once connected, your IDE agent will have access to these tools:
ask_llm — Delegate a task to any LLM
Ask Groq's Llama 3 to review this Python function for bugs.Parameters:
Parameter | Default | Description |
| (required) | The question or task |
|
| Role context for the model |
|
| Which provider to use |
|
| Model name for that provider |
|
| 0.0 = deterministic, 1.0 = creative |
|
| Maximum response length |
list_providers — See available providers
Returns: ["nvidia", "openrouter", "ollama", "groq", "deepseek"]
list_models — Browse models for a provider
List the models available on Ollama.Using with Ollama (Local Models)
For fully private, offline coding assistance:
# Install Ollama: https://ollama.com/download
ollama pull llama3
ollama pull codellamaThen use provider: "ollama" with any pulled model name. No API key needed.
Security
API keys are loaded from environment variables only
.envis gitignored and never committedNo secrets are hardcoded in source code
All API communication happens server-side only
License
MIT — see LICENSE for details.
This server cannot be installed
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 Servers
- AlicenseAqualityBmaintenanceMCP server that delegates Claude Code subagents to alternative backends such as local models, DeepSeek, or AWS Bedrock, while keeping your Claude Code orchestrator session intact.55MIT
- Flicense-qualityDmaintenanceEnables LLM-powered code analysis, generation, debugging, and context management through MCP integration with IDEs like Cursor and Claude Desktop.
- AlicenseAqualityDmaintenanceBridges any MCP client (like Claude Code, Zed, VS Code) to any ACP coding agent, enabling multi-agent orchestration from a single chat interface.241199Apache 2.0
- AlicenseAqualityAmaintenanceEnables AI agents to delegate scoped tasks across multiple providers like Codex, Claude Code, and Antigravity through a single local MCP server, with quota monitoring, notifications, and remote control via messaging apps.122Apache 2.0
Related MCP Connectors
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
One PAT, any MCP agent: Vercel, GitHub, Cloudflare, Supabase, GCP — unified dev infra gateway.
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
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/arjunkr303/multi-llm-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server