Utilizes .ENV for environment variable management, specifically for storing and accessing the Tavily API key needed for web search functionality.
MCP2Tavily
A MCP protocol server that implements web search functionality using the Tavily API.
Prerequisites
- Python 3.11+
- UV package manager
- Tavily API key
Installation
- Clone the repository
- Create and edit the
.env
file
- Set up virtual environment with UV
- Install dependencies
Usage
Install as Claude extension
Development mode with MCP Inspector
To test the functionality using MCP Inspector:
Once running, you can access the MCP Inspector at: http://localhost:5173
Available Tools
search_web(query: str)
: Search the web using Tavily APIsearch_web_info(query: str)
: Same as above, with Chinese description
Environment Variables
TAVILY_API_KEY
: Your Tavily API key (required)
Step-by-Step Guide
手动添加Cline Continue Claude
Cline Continue Claude的MCP JSON FILE
Cline
Cline
Cline
EXAMPLE
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
An MCP protocol server that enables web search functionality using the Tavily API, allowing AI assistants to perform internet searches in real-time.
- Prerequisites
- Installation
- Usage
- Available Tools
- Environment Variables
- Step-by-Step Guide
- 手动添加Cline Continue Claude
Related Resources
Related MCP Servers
- -securityAlicense-qualityThis MCP server performs multi-topic searches in business, news, finance, and politics using the Tavily API, providing high-quality sources and intelligent summaries.Last updated -11PythonMIT License
- AsecurityAlicenseAqualityAn MCP server implementation that integrates the Tavily Search API, providing optimized search capabilities for LLMs.Last updated -12TypeScriptMIT License
- AsecurityAlicenseAquality🔍 A Model Context Protocol (MCP) server providing unified access to multiple search engines (Tavily, Brave, Kagi), AI tools (Perplexity, FastGPT), and content processing services (Jina AI, Kagi). Combines search, AI responses, content processing, and enhancement features through a single interface.Last updated -15576145TypeScriptMIT License
- -securityAlicense-qualityMCP server for using various search tools like Tavily API. Planning to support various search tools (i.e. wiki search, searxng, etc)Last updated -3PythonMIT License