Access 100+ LLMs with one API: GPT-4, Claude, Gemini, Mistral, and more.
litellm MCP Server
Published by shin-bot-litellmGive AI agents access to 100+ LLMs. Call any model, compare outputs.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 1.0.1
- SOURCE CHECKED
- Nov 29, 2026
Quick answers
How do I add litellm MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'OPENAI_API_KEY=<your-openai-api-key>' --env 'ANTHROPIC_API_KEY=<your-anthropic-api-key>' --transport stdio litellm -- uvx litellm-mcpReplace the <your-…> placeholder with your own OPENAI_API_KEY and ANTHROPIC_API_KEY.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"litellm": {
"command": "uvx",
"args": [
"litellm-mcp"
],
"env": {
"OPENAI_API_KEY": "<your-openai-api-key>",
"ANTHROPIC_API_KEY": "<your-anthropic-api-key>"
}
}
}
}Replace the <your-…> placeholder with your own OPENAI_API_KEY and ANTHROPIC_API_KEY.
CodexCommand
Run this in your terminal:
codex mcp add litellm --env 'OPENAI_API_KEY=<your-openai-api-key>' --env 'ANTHROPIC_API_KEY=<your-anthropic-api-key>' -- uvx litellm-mcpReplace the <your-…> placeholder with your own OPENAI_API_KEY and ANTHROPIC_API_KEY.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"litellm": {
"type": "stdio",
"command": "uvx",
"args": [
"litellm-mcp"
],
"env": {
"OPENAI_API_KEY": "<your-openai-api-key>",
"ANTHROPIC_API_KEY": "<your-anthropic-api-key>"
}
}
}
}Replace the <your-…> placeholder with your own OPENAI_API_KEY and ANTHROPIC_API_KEY.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"litellm": {
"command": "uvx",
"args": [
"litellm-mcp"
],
"env": {
"OPENAI_API_KEY": "<your-openai-api-key>",
"ANTHROPIC_API_KEY": "<your-anthropic-api-key>"
}
}
}
}Replace the <your-…> placeholder with your own OPENAI_API_KEY and ANTHROPIC_API_KEY.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use litellm MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does litellm MCP Server need an API key?
To run it on your computer, set OPENAI_API_KEY and ANTHROPIC_API_KEY first, with values from the publisher.
Is litellm MCP Server official?
It's published by shin-bot-litellm. The Official MCP Registry accepts names under io.github.shin-bot-litellm only from the GitHub account or organisation shin-bot-litellm. We last checked its listing on Nov 29, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
pypi · litellm-mcp@1.0.1