MCP2Tavily logo

MCP2Tavily

by mcp2everything

MCP2Tavily is an MCP protocol server that integrates web search functionality using the Tavily API. It allows users to perform web searches and retrieve information directly through the MCP protocol.

View on GitHub

Last updated: N/A

What is MCP2Tavily?

MCP2Tavily is a server that implements web search capabilities within the MCP (Message Communication Protocol) environment. It leverages the Tavily API to execute search queries and return results.

How to use MCP2Tavily?

To use MCP2Tavily, you need to install it as a Claude extension using fastmcp install mcp2tavily.py. You also need to set the TAVILY_API_KEY environment variable with your Tavily API key. For development, you can use fastmcp dev mcp2tavily.py and access the MCP Inspector at http://localhost:5173. The server provides tools like search_web(query: str) and search_web_info(query: str) to perform searches.

Key features of MCP2Tavily

  • Web search via Tavily API

  • MCP protocol integration

  • Easy installation as Claude extension

  • Development mode with MCP Inspector

  • Chinese description support for search results

Use cases of MCP2Tavily

  • Integrating web search into Claude workflows

  • Automated information retrieval

  • Building custom search tools within MCP environments

  • Enhancing agent capabilities with real-time web data

  • Quickly finding information from the web without leaving your MCP environment

FAQ from MCP2Tavily

What is the Tavily API?

The Tavily API is a service that provides web search functionality.

How do I get a Tavily API key?

You need to sign up for an account on the Tavily website and obtain an API key from their dashboard.

What is MCP?

MCP stands for Message Communication Protocol. It's a protocol for communication between different components or services.

How do I install MCP2Tavily as a Claude extension?

Use the command fastmcp install mcp2tavily.py.

What is the difference between search_web and search_web_info?

search_web performs a standard web search, while search_web_info provides the same search functionality but includes a Chinese description of the results.