Tavily MCP Server

Enables LLMs to perform AI-powered web searches using the Tavily search API.

Local serverstdioPython 72

What is the Tavily MCP server?

Tavily MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Enables LLMs to perform AI-powered web searches using the Tavily search API.

What you get

I built this MCP server back in early March of 2025 when the MCP protocol was brand new and there were no consistent ways to do search in chatbots, predating other implementations.

Setting it up

Installation goes through your MCP client rather than a global install: point it at npx on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

What the assistant can call

Once Tavily is connected, these are the calls the assistant has available:

  • tavily_web_search — Performs comprehensive web searches with AI-powered content extraction
  • tavily_answer_search — Performs web searches and generates direct answers with supporting evidence
  • tavily_news_search — Searches recent news articles with publication dates
  • Prompts — The server also provides prompt templates for each search type:

Configuration and credentials

You will need one environment variable: TAVILY_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Python 3.11 or later - A Tavily API key (obtain from Tavily's website) - uv Python package manager (recommended)

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the tavily mcp server does with a few real requests.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Tavily's toolset — tavily_web_search, tavily_answer_search, tavily_news_search and 1 more — is a fair guide to whether it matches your workflow. It is maintained by RamXX; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Tavily's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
tavily_web_searchPerforms comprehensive web searches with AI-powered content extraction.
tavily_answer_searchPerforms web searches and generates direct answers with supporting evidence.
tavily_news_searchSearches recent news articles with publication dates.
PromptsThe server also provides prompt templates for each search type:

How to install the Tavily MCP server

{
  "mcpServers": {
    "tavily-3": {
      "command": "npx",
      "args": ["-y", "npx"],
      "env": {
        "TAVILY_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Python 3.11 or later - A Tavily API key (obtain from Tavily's website) - uv Python package manager (recommended)
VariableDescriptionRequired
TAVILY_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Tavily to tavily web search.
  • Use Tavily to tavily answer search.
  • Use Tavily to tavily news search.

Frequently asked questions

Tavily offers AI-powered web searches, direct answer generation, news search with publication dates, domain inclusion/exclusion for refined results, and prompt templates for each search type.