Tavily MCP Server

by @tavily-ai

Tavily MCP Server

Tavily MCP Server connects AI clients to web search, page extraction, site mapping, and crawling. Run it locally with an API key or connect to the hosted service using API-key or OAuth authentication.

Search & Web Data2,437nodeMIT

Server facts

Tavily MCP Server

GitHub stars

2,437

Last commit

Oct 15, 2026

Runtime

node

License

MIT

Project

Author
tavily-ai
License
MIT

Tech

Runtime
node
Transports
stdio
Remote access
No

Activity

GitHub stars
2,437
Last commit
Data as of

Tags

  • Content Extraction
  • Research
  • Web Crawling
  • Web Search

Overview

Tavily MCP Server gives compatible AI applications a route to current web information and website content. The README describes separate capabilities for searching the web, extracting page content, mapping a site's URLs, and crawling through its pages. The supplied tool data also identifies a research operation that combines multiple sources into a detailed response. Together these functions cover both finding relevant material and collecting the pages needed to examine it, rather than limiting an assistant to search snippets alone.

Users can run the npm package locally or connect to Tavily's hosted MCP endpoint. Local execution requires Node.js version 20 or newer and a Tavily API key, with client examples for Claude Desktop and Cursor. Remote access supports an API key in the URL or Authorization header, and compatible clients can instead complete an OAuth flow. Default search behavior can be supplied through a local environment variable, while the hosted service accepts a defaults header. The documentation also describes an optional end-user identifier forwarded for per-user analytics, with server-side hashing before storage and a recommendation to avoid raw personal information. This is a practical choice for assistants that need a configurable web retrieval layer, provided the deployment accounts for authentication and the research tool's documented request limit.

Install & configure

Requirements

  • Node.js 20 or newer for local execution
  • A Tavily API key for the local server
  • An MCP-compatible client
Documented launch / install command
npx -y tavily-mcp@latest

The command launches the local server. The hosted endpoint is an alternative with API-key or OAuth authentication. DEFAULT_PARAMETERS can set local search defaults.

Config file · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Use Settings → Developer → Edit Config when available. Do not assume a Linux configuration path; check the client documentation for your platform. Remote servers use the app’s connector flow when supported, not the local stdio file shown here. Merge this example with existing settings; do not overwrite unrelated servers.

Claude Desktop configuration
{
  "mcpServers": {
    "tavily-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "tavily-mcp@latest"
      ],
      "env": {
        "TAVILY_API_KEY": "<Tavily API key>"
      }
    }
  }
}

Read the Claude Desktop setup guide

Config file · Project: .cursor/mcp.json

User: ~/.cursor/mcp.json

The project path is relative to the workspace root. The tilde denotes your user home directory. Use Cursor’s MCP settings to confirm which configuration and scope your installed version is reading. Merge this example with existing settings; do not overwrite unrelated servers.

Cursor configuration
{
  "mcpServers": {
    "tavily-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "tavily-mcp@latest"
      ],
      "env": {
        "TAVILY_API_KEY": "<Tavily API key>"
      }
    }
  }
}

Read the Cursor setup guide

Config file · Workspace: .vscode/mcp.json

For user scope, use the “MCP: Open User Configuration” command if available. Do not guess a user configuration path across operating systems, profiles, containers, or remote workspaces; check the client documentation. Merge this example with existing settings; do not overwrite unrelated servers.

VS Code configuration
{
  "servers": {
    "tavily-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tavily-mcp@latest"
      ],
      "env": {
        "TAVILY_API_KEY": "<Tavily API key>"
      }
    }
  }
}

Read the VS Code setup guide

Config file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json

Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Open the MCP configuration through Windsurf’s settings when possible to confirm the active file. Paths can differ in managed or future releases; check the client documentation if this location is not present. Merge this example with existing settings; do not overwrite unrelated servers.

Windsurf configuration
{
  "mcpServers": {
    "tavily-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "tavily-mcp@latest"
      ],
      "env": {
        "TAVILY_API_KEY": "<Tavily API key>"
      }
    }
  }
}

Read the Windsurf setup guide

Config file · Project scope: .mcp.json at the repository root

The project file uses mcpServers. For user scope, use claude mcp add --scope user rather than assuming .mcp.json in your home directory is the user configuration. Check the client documentation for managed settings and storage details. Merge this example with existing settings; do not overwrite unrelated servers.

Claude Code configuration
{
  "mcpServers": {
    "tavily-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tavily-mcp@latest"
      ],
      "env": {
        "TAVILY_API_KEY": "<Tavily API key>"
      }
    }
  }
}

Read the Claude Code setup guide

Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.

Tools

Source: repository tool metadata. Tool descriptions are a documented snapshot, not a live capability check.

ToolWhat it does
tavily_searchFind current web information and return source links with excerpts.
tavily_extractRetrieve page content from URLs as Markdown or text.
tavily_crawlExplore site pages with adjustable crawl depth and breadth.
tavily_mapDiscover URLs and outline the structure of a website.
tavily_researchCombine multiple sources into a detailed research response; limited to 20 requests per minute.

Use cases

  • Find current web sources for an assistant response.
  • Extract page content as Markdown or plain text.
  • Discover a website URL structure before collecting pages.
  • Crawl websites or assemble research from multiple sources.

Strengths

  • Combines discovery, extraction, mapping, and crawling.
  • Supports hosted access as well as a local package.
  • Offers OAuth alongside API-key authentication for the hosted service.

Limitations

  • Local execution requires Node.js 20 or newer and a Tavily API key.
  • The research tool is limited to 20 requests per minute in the supplied data.

Tavily MCP Server setup notes

  • Check TAVILY_API_KEY in the Tavily MCP Server configuration if startup or authentication fails.
  • Tavily MCP Server's stdio example needs a client that launches local processes.

Frequently asked questions

Yes. The README provides a hosted MCP endpoint and remote configuration examples.

Related MCP servers