MCP Tavily logo

MCP Tavily

by kshern

Connects MCP-compatible AI clients to Tavily for web search, question-focused results, contextual search, and URL content extraction.

Install MCP Tavily

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "kshern-mcp-tavily": {
      "command": "npx",
      "args": [
        "-y",
        "@mcptools/mcp-tavily"
      ],
      "env": {
        "TAVILY_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

kshern/mcp-tavily MCP server exposes Tavily search and extraction features through the Model Context Protocol. It provides basic, context-aware, and question-and-answer search tools, plus URL content extraction with configurable depth and result options. Configure it as a standard npm or npx MCP process and provide a Tavily API key through TAVILY_API_KEY. Reach for it when an agent needs current web results, filtered searches, or content from specific URLs.

Use cases

  • Search the web for recent developments or news
  • Ask focused questions and request answer-oriented results
  • Restrict searches to selected domains
  • Extract content from one or more URLs
  • Retrieve raw content and image-related search data

Key features

  • Basic, contextual, and Q&A search tools
  • URL content extraction
  • Search depth and topic controls
  • Domain, date, and result-count filters
  • Optional answers, images, and raw content
  • MCP Inspector debugging support

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 81d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8h ago via OSV.dev · @mcptools/mcp-tavily (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars12Stargazers on the source repository.
npm downloads243Package downloads in the last 30 days.
Last commit5mo agoMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Tavily works

What kshern/mcp-tavily MCP server does

The kshern/mcp-tavily MCP server connects an MCP client to the Tavily API. It exposes four tools: search, searchContext, searchQNA, and extract. The three search tools cover general searching, context-oriented retrieval, and question-and-answer queries. The extraction tool accepts one or more URLs and returns content gathered from them.

Search responses contain text content with result titles, content, and URLs. Extraction responses include each URL's raw content and a list of URLs that failed, when applicable. Tool responses use MCP content items with a text type.

How it works

An MCP client starts the server as a Node.js process, then sends tool calls over the configured MCP connection. Each search tool accepts a query and optional settings. Search settings can control depth, topic, result count, date or time range, image inclusion, answer inclusion, raw content, token limits, and included or excluded domains. Supported topic values are general, news, and finance.

The searchContext tool is intended for queries where surrounding context and relevance matter, while searchQNA is intended for direct questions and can request an answer in the result. The extract tool receives a urls array and supports basic or advanced extraction depth and optional image inclusion.

Setup and configuration

To run the kshern/mcp-tavily MCP server, use Node.js 16 or later with npm or yarn, and obtain a Tavily API key. The required environment variable is TAVILY_API_KEY.

A client can launch the published package with npx -y @mcptools/mcp-tavily, or install it with npm. A typical MCP configuration uses the npx command, passes the package as an argument, and places the API key in the server's environment. The repository can also be cloned, installed with npm install, and built with npm run build.

Smithery provides a separate installation command for Claude Desktop. For development, MCP Inspector can be used to test tool calls, inspect responses, and debug execution.

Tools and capabilities

  • search: Runs a basic Tavily search with configurable search options.
  • searchContext: Performs context-aware search for relevance-oriented queries.
  • searchQNA: Runs a question-focused search and can include an answer.
  • extract: Retrieves content from supplied URLs, with configurable extraction depth.
  • Search filters: Limit results by topic, time range, number of days, domains, or maximum result count.
  • Content controls: Request images, image descriptions, answers, raw content, or a token limit where supported by the search options.

Limitations and notes

The kshern/mcp-tavily MCP server requires a valid Tavily API key and access to the Tavily API. Search and extraction failures are surfaced through descriptive errors, and extraction results can include failed URLs.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Tavily

kshern/mcp-tavily is an MCP server that connects MCP-compatible AI clients to the Tavily API. It provides `search`, `searchContext`, and `searchQNA` tools for web retrieval, plus `extract` for collecting content from URLs. Search and extraction options support filtering, depth, answers, images, and raw content.

Install it with npm or run it directly with npx using `@mcptools/mcp-tavily`. You can also clone the repository, run `npm install`, and build it with `npm run build`. The README also provides a Smithery command for installing it in Claude Desktop.

Set `TAVILY_API_KEY` to a valid Tavily API key before starting the server. MCP configuration can provide the key in the server's `env` object, or you can export it in the environment.

Yes, kshern/mcp-tavily works with Claude Desktop through a standard MCP configuration. The README includes a Smithery installation command for Claude Desktop and a manual configuration that starts the package with npx.

It provides `search`, `searchContext`, `searchQNA`, and `extract`. The first three query Tavily with different search purposes, while `extract` accepts URLs and returns extracted content with any failed URLs reported.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Tavily AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/kshern-mcp-tavily?style=directory)](https://allmcps.com/mcp/kshern-mcp-tavily)
HTML Embed
<a href="https://allmcps.com/mcp/kshern-mcp-tavily"><img src="https://allmcps.com/api/badge/kshern-mcp-tavily?style=directory" alt="MCP Tavily on AllMCPs" /></a>