Uses the Tavily API to run current web searches for AI assistants and return results with generated summaries.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add tavily --env TAVILY_API_KEY='<TAVILY_API_KEY>' -- node /path/to/tavily-server/build/index.js~/.codex/config.toml
[mcp_servers.tavily]
command = "node"
args = ["/path/to/tavily-server/build/index.js"]
env = { TAVILY_API_KEY = "<TAVILY_API_KEY>" }
# codex mcp add tavily --env TAVILY_API_KEY='<TAVILY_API_KEY>' -- node /path/to/tavily-server/build/index.js~/.cursor/mcp.json
{
"mcpServers": {
"tavily": {
"command": "node",
"args": [
"/path/to/tavily-server/build/index.js"
],
"env": {
"TAVILY_API_KEY": "<TAVILY_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"tavily": {
"type": "stdio",
"command": "node",
"args": [
"/path/to/tavily-server/build/index.js"
],
"env": {
"TAVILY_API_KEY": "<TAVILY_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"tavily": {
"command": "node",
"args": [
"/path/to/tavily-server/build/index.js"
],
"env": {
"TAVILY_API_KEY": "<TAVILY_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"tavily": {
"command": "node",
"args": [
"/path/to/tavily-server/build/index.js"
],
"env": {
"TAVILY_API_KEY": "<TAVILY_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"tavily": {
"command": "node",
"args": [
"/path/to/tavily-server/build/index.js"
],
"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.