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-qualityMCP server for using various search tools like Tavily API. Planning to support various search tools (i.e. wiki search, searxng, etc)Last updated 4 months ago3PythonMIT License
- -securityFlicense-qualityAn MCP server that enables web search and document retrieval capabilities through Tavily API and LangConnect vector database, supporting AI agents in gathering information for comprehensive report generation.Last updated a month ago22Python
- -securityFlicense-qualityEnables web search capabilities through the Tavily API, allowing users to search the internet for information using natural language queries. Demonstrates MCP server implementation with external API integration.Last updated 7 days agoPython
- -securityFlicense-qualityEnables web search capabilities through the Tavily API. Allows users to search the web for information using natural language queries via the MCP protocol.Last updated 6 days agoPython