Skip to main content
Glama

litellm-mcp

MCP server for the LiteLLM proxy API. No clone, no build — just npx.

Cursor config

{
  "mcpServers": {
    "litellm": {
      "command": "npx",
      "args": ["-y", "@weeebdev/litellm-mcp"],
      "env": {
        "LITELLM_BASE_URL": "https://litellm-api.up.railway.app",
        "LITELLM_API_KEY": "sk-your-key-here"
      }
    }
  }
}

From GitHub (no npm):

{
  "mcpServers": {
    "litellm": {
      "command": "npx",
      "args": ["-y", "github:weeebdev/litellm-mcp"],
      "env": {
        "LITELLM_BASE_URL": "https://litellm-api.up.railway.app",
        "LITELLM_API_KEY": "sk-your-key-here"
      }
    }
  }
}

Local dev (from a cloned repo):

{
  "mcpServers": {
    "litellm": {
      "command": "npx",
      "args": ["-y", "."],
      "cwd": "/Users/adil/projects/litellm-mcp",
      "env": {
        "LITELLM_API_KEY": "sk-your-key-here"
      }
    }
  }
}

Related MCP server: mcp-consultant

Configuration

Variable

Description

Default

LITELLM_BASE_URL

LiteLLM proxy URL

https://litellm-api.up.railway.app

LITELLM_API_KEY

Bearer token / virtual key

(required)

Tools

LLM: litellm_chat_completion, litellm_completion, litellm_embeddings, litellm_image_generation, litellm_responses_create

Models & health: litellm_list_models, litellm_get_model_info, litellm_health_check, litellm_test_model_connection

Admin: litellm_list_keys, litellm_get_key_info, litellm_generate_key, litellm_list_teams, litellm_get_spend_logs, litellm_list_mcp_servers, litellm_list_mcp_tools

Escape hatch: litellm_api_request — call any endpoint from the Swagger docs

Publish to npm

npm publish --access public

Then anyone can run:

npx -y @weeebdev/litellm-mcp

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    MCP server that interfaces with Gemini and OpenAI CLI tools to enable AI model interactions. It provides a bridge to external AI CLIs with predefined model configurations.
    -
  • F
    license
    A
    quality
    C
    maintenance
    MCP server that connects LLM agents to a local LM Studio instance, enabling model management, OpenAI-compatible chat completions, text completions, and embeddings through a set of tools.
    9
    1
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    A local MCP server exposing the OpenAI platform REST API as tools for file management, fine-tuning, inference, images, audio, batch processing, and organization usage/costs.
    -

Latest Blog Posts

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/weeebdev/litellm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server