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
You must be authenticated.
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
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.Last updated -12,1671,631TypeScriptMIT License
- AsecurityAlicenseAqualityA headless browser MCP server that allows AI agents to fetch web content and perform Google searches without API keys, supporting various output formats like Markdown, JSON, HTML, and text.Last updated -24TypeScriptMIT License
- -securityFlicense-qualityAn MCP server that integrates real-time web search capabilities into AI assistants using the Exa API, providing both basic and advanced search functionality with formatted markdown results.Last updated -119Python
- -securityFlicense-qualityAn MCP server that connects AI assistants to SearchAgora, enabling users to search for, discover, and purchase products across the web through natural language conversations.Last updated -1Python