MCP server · Docs and web search
Tavily MCP server
The Tavily MCP server is Tavily’s official MCP server for real-time web search. It lets an assistant search the web, extract page content, and map or crawl a website. It runs remotely at https://mcp.tavily.com/mcp/ or locally with Node.js 20 or newer, and needs a Tavily API key; calls use your account’s credits.
- Maintainer
- Tavily (official)
- Licence
- MIT
- Runs
- Remote (URL)
- Sign-in
- A token or API key
- Registry version
- 0.2.15 (updated 2026-01-26)
- Last activity
- 2026-09-16
Overview
What can the Tavily MCP server do?
Tavily’s MCP server gives assistants web tools for real-time search, extraction of content from given pages, a map of a site’s structure and a crawler that works through a site systematically, plus a deep research tool. You can connect to Tavily’s remote server with your API key in an Authorization header, sign in with OAuth instead, or run the npm package locally with TAVILY_API_KEY set.
It is built for search inside AI workflows, so results come back ready for a model rather than as a page of links. A DEFAULT_PARAMETERS setting, as a header for the remote server or an environment variable locally, fixes defaults such as result count, search depth or image inclusion for every search. Pick it when you want search plus crawling from one provider. A free Tavily account is enough to get an API key.
Tools
Tools it gives the assistant
- Real-time web search
- Extract content from web pages
- Map the structure of a website
- Crawl a website systematically
- Deep research on a topic (tavily_research)
- Default search parameters for every request
Install
How do I install Tavily MCP in Claude Code, Cursor or VS Code?
You need:
- A Tavily account and API key
- An MCP client that supports remote HTTP servers, or Node.js 20 or newer for the local package
Run in your project. --scope local keeps the servers private to you in this project; use user for every project.
claude mcp add --scope local --transport http tavily https://mcp.tavily.com/mcp/ --header "Authorization: Bearer ${TAVILY_API_KEY}"
- Set TAVILY_API_KEY first, e.g. export TAVILY_API_KEY=… in your shell. The command saves the value, not the variable.
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json (Settings → Developer → Edit Config). Restart Claude after saving.
{
"mcpServers": {}
}
- tavily is a remote server: add it as a custom connector (Customize → Connectors → + Add → Add custom connector; on Team and Enterprise plans an owner adds it under Organization settings → Connectors), with the URL https://mcp.tavily.com/mcp/.
- tavily: put the key in the connector’s Request headers, never in the URL.
In your project, or ~/.cursor/mcp.json for every project.
{
"mcpServers": {
"tavily": {
"url": "https://mcp.tavily.com/mcp/",
"headers": {
"Authorization": "Bearer ${env:TAVILY_API_KEY}"
}
}
}
}
In your workspace. VS Code asks for each secret the first time a server starts and stores it securely.
{
"inputs": [
{
"type": "promptString",
"id": "tavily-api-key",
"description": "TAVILY_API_KEY",
"password": true
}
],
"servers": {
"tavily": {
"type": "http",
"url": "https://mcp.tavily.com/mcp/",
"headers": {
"Authorization": "Bearer ${input:tavily-api-key}"
}
}
}
}
Need another app? Open Tavily MCP Server in the MCP config generator for a shared project .mcp.json, Devin, or several servers at once; it writes one file per app. The snippets follow the setup in the server’s README, checked on 2026-10-14.
Is the Tavily MCP server safe? Check before you install
- Queries and crawled URLs go to Tavily’s service and use your account’s credits; it has no local file access.
- The README also shows the key in the URL as ?tavilyApiKey=; prefer the Authorization header or OAuth so the key doesn’t end up in logs.
- Crawled page content can contain prompt-injection text, so review what the assistant does with it.
- A remote server sees whatever the assistant sends it. Sign in with the narrowest access the service offers. See how to choose a safe server.
FAQ
Tavily MCP questions
Is the Tavily MCP server official?
Yes. Tavily publishes and maintains it, under the MIT licence. Install it only from the source linked on this page, not from a copy in another directory.
Is Tavily MCP server remote or local?
Remote. Your MCP app connects to https://mcp.tavily.com/mcp/ over HTTP, so nothing runs on your machine and the service sees the requests the assistant sends.
Does Tavily MCP server need an API key or account?
Yes. It needs an API key or token from the service, which you pass as an environment variable or header rather than writing it into the config file. You also need: A Tavily account and API key; An MCP client that supports remote HTTP servers, or Node.js 20 or newer for the local package.
Why it’s listed
Why we list it
A search-and-crawl server from a search API built for AI agents, maintained by Tavily with a hosted option.
Related
Alternatives and related servers: docs and web search
- Firecrawl MCP Server
- Context7
- Microsoft Learn MCP Server
- DeepWiki MCP
- Brave Search MCP Server
- Exa MCP Server
All MCP serversMCP config generatorGuide: MCP servers in Claude CodeGuide: what is MCP?
Keep exploring