Skip to main content
AgentsUse

MCP server, by Tavily

Tavily MCP Server

Tavily MCP server with web search, content extraction, site mapping, and crawling tools.

Streamable HTTP (remote)stdio (local process)Checked 2026-11-03Config checked

Quick facts

Transport
Streamable HTTP (remote); stdio (local process)
Runs as
remote (tavily-mcp)
Review state
Config checked against the official source on 2026-11-03; not locally tested by AgentsUse.

What it does

The Tavily MCP server gives an agent search, extraction, crawling, mapping and research over the web. The Tavily documentation lists tavily_search, tavily_extract, tavily_crawl, tavily_map and tavily_research, and the source also defines a tavily_feedback tool. The remote server is at https://mcp.tavily.com/mcp/ over Streamable HTTP, and a local server runs with npx -y tavily-mcp@latest over stdio and needs Node.js v20 or higher.

tavily_search takes a required query and optional search_depth (basic, advanced, fast or ultra-fast), topic (general or news), time_range (day, week, month or year), start_date and end_date in YYYY-MM-DD form, max_results, include_images, include_image_descriptions, include_raw_content, include_domains, exclude_domains, country, include_favicon and exact_match. tavily_extract takes a urls array and optional extract_depth (basic or advanced), format (markdown or text), include_images, include_favicon and a query that reranks content chunks so only relevant passages of a long page come back. Pages that fail extraction are listed in the result rather than failing the call.

tavily_crawl takes a root url and optional max_depth, max_breadth, limit, natural-language instructions, select_paths and select_domains regex arrays, allow_external, extract_depth and format. tavily_map takes the same traversal controls and returns a list of URLs found from the base URL. tavily_research takes an input description and a model setting of mini, pro or auto, where mini suits narrow tasks, pro suits broad tasks with many subtopics, and auto chooses.

Authentication has several routes. The remote server accepts the API key as a tavilyApiKey query parameter, as an Authorization: Bearer header, or through OAuth, which the documentation describes as optional. After OAuth, a key named mcp_auth_default decides which key is used, with a personal key taking priority over a team key, then the default key, then the first available key. Stored OAuth credentials can be cleared with rm -rf ~/.mcp-auth. The documentation also describes keyless access for search and extract with no API key, and the source prints that other tools return a message explaining that an API key is required.

Defaults and attribution are configurable. DEFAULT_PARAMETERS, an environment variable locally or a header on the remote server, holds a JSON object of defaults for tavily_search such as include_images, search_depth and max_results. Locally, TAVILY_HUMAN_ID is forwarded as the X-Human-Id header on every API call for per-user analytics, and the remote server generates an X-Session-Id for each MCP session. The documentation says Tavily hashes human IDs before processing or storing them. Troubleshooting guidance lists checking npm and node versions, using the full path to npx, and confirming the API key has the tvly- prefix and is active.

Configuration

Remote: use https://mcp.tavily.com/mcp/?tavilyApiKey=<your-api-key>, or add with OAuth via claude mcp add --transport http tavily https://mcp.tavily.com/mcp. Local: run npx -y tavily-mcp@latest with TAVILY_API_KEY set in the client config.

MCP config (placeholders)
{"mcpServers":{"tavily-mcp":{"command":"npx","args":["-y","tavily-mcp@latest"],"env":{"TAVILY_API_KEY":"your-api-key-here"}}}}

Source: https://github.com/tavily-ai/tavily-mcp. Placeholders only. Replace them in your own environment, and never commit real keys to a repository.

Environment variableRequiredPurpose
TAVILY_API_KEYYesTavily API key. Required for local npx configuration and for remote use via URL parameter or Authorization header.
DEFAULT_PARAMETERSOptionalJSON object of default parameter values for the tavily-search tool.
TAVILY_HUMAN_IDOptionalOptional end-user identifier forwarded as the X-Human-Id header on every API call, for per-user analytics.

Tools and features on record

  • tavily_search Config checked

    Web search. Required: query. Options include search_depth (basic, advanced, fast, ultra-fast), topic (general or news), time_range, start_date, end_date, max_results, include_domains, exclude_domains, country, include_raw_content and exact_match.

  • tavily_extract Config checked

    Extracts content from a urls array as markdown or text. extract_depth basic or advanced, and a query option reranks chunks so a long page returns only relevant passages. Pages that fail extraction are listed in the result.

  • tavily_crawl Config checked

    Crawls a site from a root url with max_depth, max_breadth, limit, natural-language instructions, select_paths and select_domains regex filters, allow_external and extract_depth.

  • tavily_map Config checked

    Maps a site's structure and returns URLs found from the base URL, with max_depth, max_breadth, limit and instructions controls.

  • tavily_research Config checked

    Multi-source research that returns a detailed answer. Takes input and a model of mini, pro or auto.

  • DEFAULT_PARAMETERS Config checked

    JSON of default values for tavily_search, set as an environment variable for local use or a header on the remote server.

  • OAuth and mcp_auth_default Config checked

    Optional OAuth flow. A key named mcp_auth_default in a personal or team account selects which key OAuth uses, personal first.

  • Keyless mode Config checked

    Search and extract can run without an API key. Without TAVILY_API_KEY, other tools return a message saying a key is required.

  • TAVILY_HUMAN_ID Config checked

    Optional end-user identifier forwarded as X-Human-Id. Tavily hashes human IDs before processing or storing them.

Security notes

Security notes
  • Every tool call sends your query or URLs to Tavily's service, and crawl and extract reach the pages you name. Use opaque test queries and public URLs while evaluating, and read Tavily's own privacy documentation before sending sensitive material.
  • The remote API key can be passed as the tavilyApiKey query parameter, which can leak into logs and shared configuration. The Authorization Bearer header or OAuth avoids putting the key in a URL.
  • For local use, TAVILY_API_KEY lives in the client configuration file. Keep real keys out of repositories, and note that a key named mcp_auth_default is the one OAuth will use, so name keys on purpose.
  • tavily_crawl and tavily_map follow links across a site under max_depth, max_breadth and limit. Set limit and use select_paths and select_domains so an instruction-driven crawl cannot wander across more of the web than you intend, and so allow_external is not returning external links you did not want.
  • Extracted page text enters the model context. Pages can contain instructions aimed at the model, so treat results as untrusted input and keep high-impact tools out of sessions that read pages you do not control.
  • TAVILY_HUMAN_ID is optional. Tavily hashes human IDs before processing or storing them, but prefer opaque internal identifiers over raw personal data such as email addresses.
  • Run the local server with Node.js v20 or higher. If a client cannot start npx, the documentation suggests using the full path to the npx executable.

An MCP server runs with the permissions of the process you start it from. Scope credentials to the narrowest access the job needs, and review what the client will send before connecting anything sensitive.

Sources and freshness

Checked 2026-11-03. Config-checked means the configuration and feature list trace to the official source above; it does not mean AgentsUse ran the server. Send corrections through the contact page. Back to the MCP server index.