What Is Tavily MCP Server?
Tavily MCP Server connects Claude Code and Claude Desktop to the Tavily search API, enabling real-time web search and research queries from within your AI workflows. It is maintained by RamXX and published as an npm package under mcp-tavily.
Quick Facts
| Field | Value |
|---|---|
| Package | mcp-tavily |
| Install | npx mcp-tavily |
| Compatible with | Claude Code, Claude Desktop |
| Status | Active |
| GitHub | https://github.com/RamXX/mcp-tavily |
What You Can Do With It
- Web research: Query live web content and retrieve structured results without leaving your Claude session.
- News retrieval: Fetch recent news articles on a topic, useful when Claude’s training data is out of date.
- Fact-checking: Cross-reference claims against current web sources during a conversation or automated pipeline.
- AI agent web access: Give autonomous Claude Code agents a programmatic path to search the web mid-task, without manual tool calls.
How to Set It Up
Prerequisites: You need a Tavily API key. Sign up at tavily.com to obtain one.
Step 1 — Test the package runs:
npx mcp-tavily
**Step 2 — Add to Claude Desktop config:**
Open `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or the equivalent path on your OS, and add the following block inside `"mcpServers"`:
```json
{
"mcpServers": {
"tavily": {
"command": "npx",
"args": ["mcp-tavily"],
"env": {
"TAVILY_API_KEY": "your-api-key-here"
}
}
}
}
Step 3 — Add to Claude Code (.claude/mcp.json):
In your project root, create or edit .claude/mcp.json:
{
"mcpServers": {
"tavily": {
"command": "npx",
"args": ["mcp-tavily"],
"env": {
"TAVILY_API_KEY": "your-api-key-here"
}
}
}
}
Restart Claude Desktop or reload your Claude Code session after editing either config file.
Works Best With
Both documented compatible clients work with this server:
- Claude Code — Suited for agent-driven workflows where search results feed into multi-step code or research tasks.
- Claude Desktop — Useful for interactive sessions where you want to pull live web data into a conversation without switching context.
Known Limitations
- API key required: The Tavily API is not free. You must have a valid API key; the server will fail silently or with an auth error without one.
- Rate limits: Tavily enforces rate limits based on your plan tier. High-frequency agent loops may exhaust your quota quickly — check your Tavily dashboard for current limits.
- No offline mode: All searches go through the Tavily API; there is no caching layer or fallback. Network availability is a hard dependency.
- Result quality depends on Tavily’s index: The server surfaces what Tavily returns. Very recent or niche content may not appear if Tavily hasn’t indexed it.
- npx cold-start latency: Running via
npxdownloads the package on first invocation if not cached. For production or frequent use, consider installing globally withnpm install -g mcp-tavily.
Community Resources
- GitHub Issues — RamXX/mcp-tavily — File bugs or check known issues here.
- Tavily API Documentation — Reference for API parameters, rate limits, and plan details that affect server behavior.
- r/ClaudeAI on Reddit — Community discussions where MCP server setups, including search integrations, are frequently shared.
- Anthropic Discord — The
#mcpchannel is a common place to find troubleshooting threads for Claude-compatible MCP servers.



