PluginBench
MCP Server

LiteLLM Multi-Model API MCP Server

io.github.BerriAI/litellm-mcp

What is the LiteLLM Multi-Model API MCP server?

Access 100+ LLMs with one API: GPT-4, Claude, Gemini, Mistral, and more.

How to install LiteLLM Multi-Model API

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • OPENAI_API_KEY
    secret

    OpenAI API key for GPT models

  • ANTHROPIC_API_KEY
    secret

    Anthropic API key for Claude models

  • LITELLM_API_BASE

    LiteLLM Proxy base URL (optional)

  • LITELLM_API_KEY
    secret

    LiteLLM Proxy API key (optional)

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "litellm-mcp": {
      "command": "python",
      "args": [
        "litellm-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
        "ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>",
        "LITELLM_API_BASE": "<YOUR_LITELLM_API_BASE>",
        "LITELLM_API_KEY": "<YOUR_LITELLM_API_KEY>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "litellm-mcp": {
      "command": "python",
      "args": [
        "litellm-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
        "ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>",
        "LITELLM_API_BASE": "<YOUR_LITELLM_API_BASE>",
        "LITELLM_API_KEY": "<YOUR_LITELLM_API_KEY>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "litellm-mcp": {
      "command": "python",
      "args": [
        "litellm-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
        "ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>",
        "LITELLM_API_BASE": "<YOUR_LITELLM_API_BASE>",
        "LITELLM_API_KEY": "<YOUR_LITELLM_API_KEY>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "litellm-mcp": {
      "type": "stdio",
      "command": "python",
      "args": [
        "litellm-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
        "ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_API_KEY>",
        "LITELLM_API_BASE": "<YOUR_LITELLM_API_BASE>",
        "LITELLM_API_KEY": "<YOUR_LITELLM_API_KEY>"
      }
    }
  }
}
Claude Code
claude mcp add litellm-mcp --env OPENAI_API_KEY=<YOUR_OPENAI_API_KEY> --env ANTHROPIC_API_KEY=<YOUR_ANTHROPIC_API_KEY> --env LITELLM_API_BASE=<YOUR_LITELLM_API_BASE> --env LITELLM_API_KEY=<YOUR_LITELLM_API_KEY> -- python litellm-mcp

Related MCP servers

Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.

67k
Python
BSD-3-Clause
View repository →

Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.

45k
TypeScript
Apache-2.0
View repository →

Let AI agents manage your Puter files, websites, and serverless workers over MCP.

43k
TypeScript
AGPL-3.0
View repository →

Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.

37k
TypeScript
Apache-2.0
View repository →

Run arbitrary shell commands from an MCP-connected AI agent.

37k
TypeScript
Apache-2.0
View repository →

Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.

37k
TypeScript
Apache-2.0
View repository →