MCP Server Studio

Tavily MCP MCP server

MCP server for advanced web search using Tavily

Registry name: io.github.tavily-ai/tavily-mcp

Publisher
tavily-ai
Runs
Runs locally
Package
npm
Version
0.2.15
Category
Search & knowledge
Updated
2026-01-26

Source code on GitHub

Set up Tavily MCP (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "tavily-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TAVILY_API_KEY": "<TAVILY_API_KEY>",
        "DEFAULT_PARAMETERS": "<DEFAULT_PARAMETERS>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add tavily-mcp -e TAVILY_API_KEY='<TAVILY_API_KEY>' -e DEFAULT_PARAMETERS='<DEFAULT_PARAMETERS>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "tavily-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TAVILY_API_KEY": "<TAVILY_API_KEY>",
        "DEFAULT_PARAMETERS": "<DEFAULT_PARAMETERS>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "tavily-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TAVILY_API_KEY": "<TAVILY_API_KEY>",
        "DEFAULT_PARAMETERS": "<DEFAULT_PARAMETERS>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "tavily-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TAVILY_API_KEY": "<TAVILY_API_KEY>",
        "DEFAULT_PARAMETERS": "<DEFAULT_PARAMETERS>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
TAVILY_API_KEYYesYour Tavily API key from tavily.com
DEFAULT_PARAMETERSNoJSON string with default search parameters (e.g., {"include_images": true, "max_results": 15})

More search & knowledge MCP servers