Proxies the Tavily API so agents can run web searches, get direct answers and retrieve recent news articles.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add tavily-proxy --env TAVILY_API_KEY='<TAVILY_API_KEY>' -- python -m mcp_server_tavily~/.codex/config.toml
[mcp_servers.tavily-proxy]
command = "python"
args = ["-m", "mcp_server_tavily"]
env = { TAVILY_API_KEY = "<TAVILY_API_KEY>" }
# codex mcp add tavily-proxy --env TAVILY_API_KEY='<TAVILY_API_KEY>' -- python -m mcp_server_tavily~/.cursor/mcp.json
{
"mcpServers": {
"tavily-proxy": {
"command": "python",
"args": [
"-m",
"mcp_server_tavily"
],
"env": {
"TAVILY_API_KEY": "<TAVILY_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"tavily-proxy": {
"type": "stdio",
"command": "python",
"args": [
"-m",
"mcp_server_tavily"
],
"env": {
"TAVILY_API_KEY": "<TAVILY_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"tavily-proxy": {
"command": "python",
"args": [
"-m",
"mcp_server_tavily"
],
"env": {
"TAVILY_API_KEY": "<TAVILY_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"tavily-proxy": {
"command": "python",
"args": [
"-m",
"mcp_server_tavily"
],
"env": {
"TAVILY_API_KEY": "<TAVILY_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"tavily-proxy": {
"command": "python",
"args": [
"-m",
"mcp_server_tavily"
],
"env": {
"TAVILY_API_KEY": "<TAVILY_API_KEY>"
}
}
}
}Environment variables
TAVILY_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.