Skip to content
Zed

LiteLLM Multi-Model API for Zed

io.github.berriai/litellm-mcp

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

client:Zed transport:stdio runtime:pypi

Install LiteLLM Multi-Model API in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "litellm-mcp": {
      "command": "uvx",
      "args": [
        "litellm-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
        "LITELLM_API_BASE": "<LITELLM_API_BASE>",
        "LITELLM_API_KEY": "<LITELLM_API_KEY>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

LiteLLM Multi-Model API in other clients