# kshern/mcp-tavily [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/kshern/mcp-tavily.git  
**GitHub Stars:** 12  
**npm Downloads (last month):** 243  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/kshern-mcp-tavily

## Description
mcp server of tavily

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mcp-tavily": {
    "command": "npx",
    "args": ["-y","@mcptools/mcp-tavily"],
    "env": {
      "TAVILY_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `TAVILY_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/kshern-mcp-tavily/readme_

