Skip to content

Menu

Tavily MCP Server logo

Tavily MCP Server

Published · Updated

At a glance

GitHub repository
tavily-ai/tavily-mcp
Watch out for
Every call uses your Tavily credits, and crawl in particular can use many quickly. Watch usage on paid plans.

Tavily is a search API built specifically for AI agents, and tavily-mcp is its official MCP server. Its core tools search the web, extract the content of specific pages, map the structure of a site and crawl a site to collect its pages, and the current source also includes a tavily_research tool. Results come back as clean text that is ready to use as context, rather than raw HTML.

The four core tools cover a natural progression in research work. Search finds relevant pages for a question. Extract pulls the full readable content from URLs you already have. Map lists the pages on a site without fetching them all, which is useful for understanding how documentation is organised. Crawl goes further and collects content from many pages of one site, for example to read a whole section of product docs before answering.

Tavily runs a hosted server at mcp.tavily.com, which is the easiest way to use it: you either pass your API key in the URL or connect with OAuth. A local version is also available through npx tavily-mcp for clients without remote support. With the hosted server you can set default parameters for every request through a DEFAULT_PARAMETERS header, such as the search depth, the number of results or whether to include images.

How it connects

Your AI app

An assistant or agent that supports MCP

Tavily MCP Server

Runs as

  • npx (Node.js)
  • Remote (HTTP)

Gives the agent

  • tavily_search
  • tavily_extract
  • tavily_map
  • tavily_crawl
  • Default parameters

Tavily

Signs in with

  • OAuth / browser sign-in
  • API key
Your AI app talks to Tavily MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

tavily_search
Real-time web search with results shaped for LLM use. Parameters such as search_depth and max_results trade depth for speed and cost.
tavily_extract
Fetches and extracts the readable content of one or more URLs, which is useful when you already know which pages matter.
tavily_map
Builds a structured map of a website's pages, showing how a site is organised before anything is fetched in full.
tavily_crawl
Systematically explores a site and gathers content from multiple pages, for example a documentation section.
Default parameters
On the remote server, a DEFAULT_PARAMETERS header with JSON such as {"search_depth": "basic", "max_results": 10} applies to every call.

Setting it up

Get an API key from Tavily first. For Claude Code, run claude mcp add --transport http tavily https://mcp.tavily.com/mcp/?tavilyApiKey=<your-key>, or use https://mcp.tavily.com/mcp without the key to sign in with OAuth instead. Add --scope user to make it available in every project. Clients without remote server support can use npx mcp-remote with the same URL, or run the local server with npx -y tavily-mcp@latest and TAVILY_API_KEY set in its environment, which needs Node.js. OAuth keeps the key out of your config files, which is worth preferring on shared machines.

Run in a terminal
claude mcp add tavily -- npx -y tavily-mcp@latest

Runs the tavily-mcp package from npm. Add any API keys, environment variables or extra arguments the setup notes above list. Combine several servers in the MCP config generator

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Answering questions about recent events or releases that the model has no training data for
  • Reading a vendor's documentation section in full before writing integration code
  • Collecting sources for a research summary with citations
  • Checking the current state of a library or API before relying on the model's memory

Limitations and things to watch

  • Every call uses your Tavily credits, and crawl in particular can use many quickly. Watch usage on paid plans.
  • Putting the API key in the URL means it lives in your client config; OAuth avoids that.
  • Web content is untrusted input. Pages can contain text written to manipulate the model, so be careful combining search with tools that take actions.
  • Crawling sites may conflict with their terms of use; stick to sites you are allowed to read this way.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…