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: agentforge

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
A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • MCP server for AI dialogue using various LLM models via AceDataCloud

  • MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.

  • MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.

View all MCP Connectors

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