About LiteLLM

LiteLLM’s proxy takes Grounder as an MCP server in config.yaml, with a Grounder search key in GROUNDER_API_KEY. The same key also makes Grounder the search behind a model’s built-in web search and /v1/search.

Connect Grounder to LiteLLM

config.yamlYAML
mcp_servers:
  grounder:
    url: https://api.grounder.net/mcp
    transport: http
    auth_type: bearer_token
    auth_value: os.environ/GROUNDER_API_KEY
    allowed_tools: ["search"]
    access_groups: ["web-search"]
# keys in the web-search group see it

Make the key under Search keys on your Grounder account and choose Search only under Access. allowed_tools and access_groups keep every other LiteLLM key from seeing the server. The guide has the full config, including the search tool for a model’s built-in web search.

A built-in grounder search provider for litellm.search and the proxy’s search tools is a pull request to LiteLLM, in review and in no LiteLLM release yet.

Prefer a key? Where LiteLLM takes request headers, send one from Search keys in place of signing in; the same key calls the HTTP API.

Authorization: Bearer $GROUNDER_KEY

More terminal apps

View all

Pi

pi mcp add

Amp

amp mcp add