Tavily Search MCP Server logo

Tavily Search MCP Server

by apappascs

An MCP server implementation that integrates the Tavily Search API, providing optimized search capabilities for LLMs. It allows users to perform web searches optimized for LLMs with control over search depth, topic, and time range.

View on GitHub

Last updated: N/A

What is Tavily Search MCP Server?

The Tavily Search MCP Server is an implementation that connects to the Tavily Search API. It's designed to provide Large Language Models (LLMs) with optimized web search capabilities, allowing them to access and process information from the internet more effectively.

How to use Tavily Search MCP Server?

To use the server, you need to clone the repository, install the dependencies, build the project, and then integrate it with Claude Desktop by adding the server configuration to the claude_desktop_config.json file. You'll also need a Tavily API key and configure it as an environment variable. The server can be run using NPM or Docker.

Key features of Tavily Search MCP Server

  • Web Search optimized for LLMs

  • Content Extraction from search results

  • Optional inclusion of images, image descriptions, LLM-generated answers, and raw HTML content

  • Domain Filtering (include/exclude specific domains)

Use cases of Tavily Search MCP Server

  • Enhancing LLM responses with real-time information

  • Providing LLMs with up-to-date news and research

  • Enabling LLMs to answer complex questions requiring web search

  • Filtering search results to focus on specific domains or exclude irrelevant sources

FAQ from Tavily Search MCP Server

What is an MCP server?

MCP stands for Model Communication Protocol. An MCP server facilitates communication between a client application (like Claude Desktop) and external services or tools.

How do I get a Tavily API key?

Sign up for a Tavily API account at tavily.com, choose a plan, and generate your API key from the Tavily dashboard.

Which transport method should I use: stdio or SSE?

Both stdio and SSE (Server-Sent Events) are valid transport methods. SSE might offer better performance in some scenarios, but stdio is generally simpler to configure.

Why is my Tavily API key not working?

Ensure that your Tavily API key is correctly set as an environment variable and that you have restarted Claude Desktop after making changes to the configuration file.

How do I update the server?

Pull the latest changes from the repository, reinstall dependencies, rebuild the project, and restart the server and Claude Desktop.