Tavily Search MCP Server logo

Tavily Search MCP Server

by MCP-Mirror

The Tavily Search MCP Server integrates the Tavily Search API to provide optimized search capabilities for Large Language Models (LLMs). It allows LLMs to perform web searches with control over various parameters like search depth and time range.

View on GitHub

Last updated: N/A

What is Tavily Search MCP Server?

This is an MCP (Modular Computation Protocol) server that leverages the Tavily Search API to provide enhanced web search functionality specifically designed for use with Large Language Models. It allows LLMs to access and process information from the web in a more efficient and controlled manner.

How to use Tavily Search MCP Server?

To use this server, you need to install Claude Desktop, obtain a Tavily API key, clone the repository, install dependencies, build the project, and configure Claude Desktop to use the server. This involves modifying the claude_desktop_config.json file with the appropriate command and arguments, including your Tavily API key. You can run the server using NPM or Docker, following the provided setup instructions.

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 knowledge with real-time web information

  • Providing LLMs with up-to-date context for generating responses

  • Enabling LLMs to perform research and gather information from the web

  • Allowing LLMs to verify information and sources

FAQ from Tavily Search MCP Server

What is the Tavily API key used for?

The Tavily API key is required to authenticate your requests to the Tavily Search API. It allows the server to access and use the Tavily Search service.

How do I find the full path to the repository?

The full path is the complete file system path to the directory where you cloned the repository. You can find it by navigating to the directory in your terminal and using the pwd command (on macOS/Linux) or Get-Location in powershell (on Windows).

Why is the .env file ignored by git?

The .env file is ignored by git for security reasons. It is intended to store sensitive information like API keys, which should not be committed to version control.

What is the difference between stdio and SSE transport?

stdio (Standard Input/Output) transport uses the standard input and output streams for communication. SSE (Server-Sent Events) transport uses a persistent HTTP connection for real-time, unidirectional communication from the server to the client. SSE is often preferred for streaming data.

How do I update the server?

To update the server, pull the latest changes from the repository, reinstall dependencies, and rebuild the project. Then, restart the server and Claude Desktop for the changes to take effect.