# tavily-mcp [Official] [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/tavily-ai/tavily-mcp  
**GitHub Stars:** 2497  
**npm Downloads (last month):** 94823  
**Views:** 11  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/tavily-mcp

## Description
MCP server for advanced web search using Tavily

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "tavily-mcp": {
    "url": "https://mcp.tavily.com/mcp"
  }
}
```

## Documentation

## What tavily-mcp does

tavily-mcp brings Tavily's web capabilities into MCP-compatible AI clients. Its tool set covers four different retrieval tasks: searching the live web, extracting information from web pages, building a structured map of a website, and crawling a site systematically.

The server fits agents that need information beyond a model's training data. Search can return current web results, while extraction is intended for turning page content into usable data. Mapping and crawling support broader website exploration rather than a single search query.

## How it works

You can run the package locally over the standard MCP setup or connect to Tavily's remote MCP endpoint. The local package is launched with `npx -y tavily-mcp@latest` and requires Node.js 20 or newer plus a Tavily API key. The hosted endpoint is available at `https://mcp.tavily.com/mcp/` and accepts authentication through a `tavilyApiKey` URL parameter or an Authorization bearer token.

The remote service also supports OAuth with compatible clients. In Claude Code, the server can be added with `claude mcp add --transport http`; authentication can then be completed from Claude Code's MCP management screen. Cursor can use the provided remote configuration with `mcp-remote`, including either an API key or OAuth.

## Setup and configuration

For a local configuration, add the package as an MCP server and provide `TAVILY_API_KEY` in the client's environment. The repository lists Claude Desktop and Cursor as local-client options, and includes setup paths for Claude Code and Cursor when using the remote service. A Git installation is only needed if you choose a Git-based installation method.

`DEFAULT_PARAMETERS` can define default values for Tavily search requests, such as image inclusion, result count, and search depth. For example:

```json
{
  "include_images": true,
  "max_results": 15,
  "search_depth": "advanced"
}
```

Set this JSON as the `DEFAULT_PARAMETERS` environment variable for local use, or send it as a header when using the remote service. `TAVILY_HUMAN_ID` is an optional identifier that Tavily forwards as `X-Human-Id` for per-user analytics. Tavily hashes this value before storing it; opaque internal identifiers are preferable to personal information.

## Tools and capabilities

- `tavily-search` performs real-time web searches.
- `tavily-extract` retrieves and extracts information from web pages.
- The map tool creates a structured representation of a website.
- The crawl tool explores website content across pages.

These tools can be used together: search can locate relevant sites, extraction can process specific pages, and mapping or crawling can expand coverage across a site.

## Limitations and notes

A Tavily API key is needed for the local setup and for API-key-based remote access. OAuth is an alternative for compatible remote MCP clients. Remote authentication can be tied to a personal account or organization account; changing accounts requires choosing a different account during authentication. If access to the selected account or its authentication key is removed, the client must reconnect.

_Full upstream README: https://allmcps.com/mcp/tavily-mcp/readme_

