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 MCP through LiteLLM MCP Gateway
The LiteLLM MCP Gateway can also connect to the Parallel MCP server. This is separate from the native Search provider. Without an API key, the MCP tools the server exposes includeweb_search, web_fetch, and web_decisions.
Add the server to your existing LiteLLM gateway configuration with HTTP transport:
PARALLEL_API_KEY and uncomment both authentication settings. With a key, the server also exposes the web_research tool.
For more information, see LiteLLM’s MCP Gateway documentation and the Parallel MCP quickstart.