Skip to content
Skillpedia
βœ“ Official Β· Tavily● Free and open sourceπŸ’» LocalπŸ”‘ Needs an API keyWeb and browser

Tavily MCP

Lets your AI agent search the web in real time and extract, map and crawl web pages with Tavily.

2.5k stars on GitHubby TavilyLicense MITUpdated 18 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add tavily -e TAVILY_API_KEY="<your value>" -- npx -y tavily-mcp

What to fill in

NameWhat it isRequired
TAVILY_API_KEYYour Tavily API key from tavily.comYes
DEFAULT_PARAMETERSJSON string with default search parameters (e.g., {"include_images": true, "max_results": 15})No

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Search the web for this week's news on solar subsidies.
Extract the main text from these three URLs.

What it is

This server connects your agent to Tavily's search service. It can run live web searches, pull content out of pages, map a website's structure and crawl a site. You can use Tavily's hosted server or run it locally.

What it can do

  • tavily-search: real-time web search
  • tavily-extract: extract content from web pages
  • Map: build a structured map of a website
  • Crawl: explore a website systematically

When to use

  • β€ΊWhen you need current information that is not in the model's training data.
  • β€ΊWhen you want the text of specific web pages pulled out cleanly.
  • β€ΊWhen you want to explore all the pages of a website.

What you need

A Tavily API key (a free account is available). Local use needs Node.js v20 or higher.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Do I need an API key?

Yes, or you can sign in with OAuth. A Tavily API key can be obtained with a free account.

Can I use it without installing?

Yes. Use the remote server at https://mcp.tavily.com/mcp/ with your key.

How do I run it locally?

Run npx -y tavily-mcp@latest with TAVILY_API_KEY set. Node.js v20+ is required.

Can I set default search options?

Yes, through the DEFAULT_PARAMETERS setting, for example max_results or search_depth.

Which clients are covered?

The readme shows Claude Code, Cursor and Claude Desktop, and it works with other MCP clients.

Can I clear a stuck OAuth login?

Yes. Run rm -rf ~/.mcp-auth and sign in again.

If it does not work

  • β€ΊCheck that your Tavily API key is correct in the URL or TAVILY_API_KEY.
  • β€ΊRun node --version to confirm Node.js is v20 or higher.
  • β€ΊIf OAuth is stuck, delete ~/.mcp-auth and reconnect.

5 new skills a week. 1 minute to read.