Feedback

Tavily Search MCP Server — by tavily-ai Verified Featured

@tavily-ai Claim

Basic information

Runtime
JavaScript
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
tavily-ai
Submitted by
Community
Quality
60
Stars
2.2K

About Tavily Search MCP Server

Tavily Search offers real-time web search and content extraction, perfect for research, aggregation, and endnote online fact-checking tasks.

Tavily Search is a MCP server in the Search Web category listed in the AddMCP.net directory, published by tavily-ai. It exposes 5 tools, including tavily_search, tavily_extract, tavily_crawl, tavily_map and more. Supported transport: stdio. Runtime: JavaScript. License: MIT. The repository has 2,186 GitHub stars. Source code is hosted on github.com. Related topics: data-extraction, official, search-web, tavily, web-crawler.

Setup

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

Tavily Search MCP Server — by tavily-ai config

Add this server to your MCP-compatible client using the configuration below.

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

Tavily Search MCP Server — by tavily-ai tools

  • tavily_search — Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.
    query:string*, search_depth:string, topic:string, time_range:string, start_date:string, end_date:string, max_results:number, include_images:boolean, include_image_descriptions:boolean, include_raw_content:boolean, include_domains:array, exclude_domains:array, …
  • tavily_extract — Extract content from URLs. Returns raw page content in markdown or text format.
    urls:array*, extract_depth:string, include_images:boolean, format:string, include_favicon:boolean, query:string
  • tavily_crawl — Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.
    url:string*, max_depth:integer, max_breadth:integer, limit:integer, instructions:string, select_paths:array, select_domains:array, allow_external:boolean, extract_depth:string, format:string, include_favicon:boolean
  • tavily_map — Map a website's structure. Returns a list of URLs found starting from the base URL.
    url:string*, max_depth:integer, max_breadth:integer, limit:integer, instructions:string, select_paths:array, select_domains:array, allow_external:boolean
  • tavily_research — Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings. Rate limit: 20 requests per minute.
    input:string*, model:string

Overview

What is Tavily Search?

Tavily MCP Server is the official Tavily MCP integration that gives AI assistants real-time web search, page extraction, site mapping, crawling and multi-source research through the Tavily API. You can use it as a hosted remote server or run it locally with npx.

The project is maintained by Tavily (tavily-ai/tavily-mcp, MIT license) and works with Claude Code, Claude Desktop, Cursor and any other MCP client. The hosted endpoint supports an API key in the URL, a Bearer header, or OAuth sign-in.

How to use Tavily Search?

You need a Tavily API key from app.tavily.com. Tavily offers a free account, and its docs describe the free key as 1,000 credits per month with no credit card. Keys use the tvly- prefix. For the local server you also need Node.js 20 or higher.

Remote (hosted) URL — nothing to install:

https://mcp.tavily.com/mcp/?tavilyApiKey=<your-api-key>

If your client can send headers, you can drop the key from the URL and send Authorization: Bearer <your-api-key> instead. You can also connect to https://mcp.tavily.com/mcp with no key and sign in through OAuth.

Local (stdio):

npx -y tavily-mcp@latest

with TAVILY_API_KEY set in the environment.

Claude Code

Add the hosted Tavily MCP server with an API key in the URL:

claude mcp add --transport http tavily https://mcp.tavily.com/mcp/?tavilyApiKey=<your-api-key>

Or add it without a key and use OAuth:

claude mcp add --transport http tavily https://mcp.tavily.com/mcp

Then run claude, type /mcp, select the Tavily server and finish the sign-in. Add --scope user to either command to make it available in all your projects.

Claude Desktop

Add the local server to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):

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

Tavily's docs also describe adding the remote URL as an integration in Claude Desktop's settings.

Cursor

Use the "Add to Cursor" button in the README, or add this to mcp.json and replace the key:

{
  "mcpServers": {
    "tavily-remote-mcp": {
      "command": "npx -y mcp-remote https://mcp.tavily.com/mcp/?tavilyApiKey=<your-api-key>",
      "env": {}
    }
  }
}

For OAuth instead, use npx mcp-remote https://mcp.tavily.com/mcp as the command.

Other clients

Clients that only support local stdio servers can reach the hosted server through the mcp-remote bridge:

{
  "tavily-remote": {
    "command": "npx",
    "args": ["-y", "mcp-remote", "https://mcp.tavily.com/mcp/?tavilyApiKey=<your-api-key>"]
  }
}

Default parameters: set the DEFAULT_PARAMETERS env var locally, or send a DEFAULT_PARAMETERS header to the remote server, containing JSON such as {"include_images": true, "max_results": 15, "search_depth": "advanced"}.

Key features of Tavily Search

  • Official server built and maintained by Tavily, MIT licensed, published on npm as tavily-mcp.
  • Hosted remote endpoint at mcp.tavily.com, so you can skip a local install.
  • Three ways to authenticate on the remote server: API key in the query string, a Bearer header, or OAuth.
  • Search options for depth (basic, advanced, fast, ultra-fast), topic (general or news), time range, start and end dates, and domains to include or exclude.
  • Extraction returns page content as markdown or text, ready for an LLM to read.
  • Site mapping and crawling with configurable depth and breadth.
  • A research tool that pulls together findings from many sources into a single detailed answer.
  • DEFAULT_PARAMETERS sets search defaults once, and the optional TAVILY_HUMAN_ID forwards an end-user ID for analytics. Tavily hashes that ID before storing it.

Tavily Search tools

The tools fall into three groups:

  • Search: tavily_search runs a real-time web search and returns snippets with source URLs. It covers news, recent events and facts beyond the model's training cutoff.
  • Reading websites: tavily_extract returns the content of one or more URLs. tavily_map lists the URLs found on a site, starting from a base URL. tavily_crawl explores a site from a starting URL and extracts the content of the pages it visits.
  • Research: tavily_research gathers information from multiple sources for a broad question and returns a detailed response. Its tool description sets a limit of 20 requests per minute.

Use cases of Tavily Search

  • Current events and fact checks: "Search for news articles about AI startups from the last 7 days."
  • Searching specific sites: "Search for climate change research on nature.com and sciencedirect.com."
  • Reading an article: "Extract the main content from https://example.com/article and summarize it."
  • Docs lookups in a coding assistant: connect Tavily in Claude Code or Cursor so the agent can check current library docs while it writes code.
  • Auditing a site's structure: "Map docs.example.com and list every page under /guides."
  • Research reports: "Research the current state of solid-state batteries and give me a sourced summary."

Frequently asked questions

1 Is Tavily MCP Server official?

Yes. It is built and maintained by Tavily in the tavily-ai/tavily-mcp repository, and Tavily's own documentation covers it.

2 Is the Tavily MCP server free?

The server is open source under the MIT license. Tool calls use your Tavily API credits, and Tavily's docs describe a free API key with 1,000 credits per month and no credit card. Higher usage needs a paid plan.

3 Which API key does Tavily MCP Server need?

It needs a Tavily API key (prefix tvly-) from app.tavily.com. Locally you set it as TAVILY_API_KEY. Remotely you pass it as ?tavilyApiKey=, as a Bearer header, or through OAuth.

4 What is the remote Tavily MCP URL?

The hosted endpoint is https://mcp.tavily.com/mcp/. Add ?tavilyApiKey=<your-api-key>, or connect without a key and sign in with OAuth.

5 Does Tavily MCP Server work with Claude Code and Cursor?

Yes. Claude Code connects with claude mcp add --transport http, and Cursor connects through mcp-remote in mcp.json or the Add to Cursor button. It also works with Claude Desktop and other MCP clients.

6 Should I use the remote or the local server?

The remote server needs no install and supports OAuth. The local npx package runs over stdio on your machine and reads the key from an environment variable. Both offer the same tool set.

7 Is it safe to put my API key in the URL?

The key in the URL is a credential, so keep config files containing it out of version control. Where your client supports it, use OAuth or an Authorization: Bearer header instead.

Videos

Tutorials, guides, and showcases related to Tavily Search MCP Server — by tavily-ai. The player loads when you press play.

Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬