Skip to content
Cursor

litellm mcp for Cursor

io.github.shin-bot-litellm/litellm-mcp

Give AI agents access to 100+ LLMs. Call any model, compare outputs.

client:Cursor transport:stdio runtime:pypi

Install litellm mcp in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

{
  "mcpServers": {
    "litellm-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "litellm-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

litellm mcp in other clients