Native LiteLLM Search provider
Install LiteLLM and set your Parallel API key:Python SDK
Usesearch_provider="parallel_ai" to call Parallel Search through the LiteLLM Python SDK:
LiteLLM AI Gateway
Install the proxy dependencies and set a separate master key to authenticate requests to your local LiteLLM gateway:config.yaml file that explicitly registers parallel-search:
LITELLM_MASTER_KEY and verify the tool is registered without making a Parallel Search request:
parallel-search endpoint:
Parallel Search MCP through LiteLLM MCP Gateway
The LiteLLM MCP Gateway can also connect to Parallel Search MCP. This is separate from the native Search provider and exposes theweb_search and web_fetch MCP tools.
Add the server to your existing LiteLLM gateway configuration with HTTP transport:
PARALLEL_API_KEY and uncomment both authentication settings.
For more information, see LiteLLM’s MCP Gateway documentation and the Parallel Search MCP guide.