mcp2tavily
一个MCP服务器,让你的Claude Cline以及Langchain实现网络搜索功能。An MCP server that allows your Claude Cline and Langchain to implement network search functions.
Documentation
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
1. Clone the repository
git clone
cd mcp2tavily2. Create and edit the `.env` file
# Create .env file
touch .env
# Add your Tavily API key to .env
echo "TAVILY_API_KEY=your_api_key_here" > .env3. Set up virtual environment with UV
# Create and activate virtual environment
uv venv
source .venv/bin/activate # On Windows use: .venv\Scripts\activate4. Install dependencies
uv syncUsage
Install as Claude extension
fastmcp install mcp2tavily.pyDevelopment mode with MCP Inspector
To test the functionality using MCP Inspector:
fastmcp dev mcp2tavily.pyOnce running, you can access the MCP Inspector at: http://localhost:5173
Available Tools
- `search_web(query: str)`: Search the web using Tavily API
- `search_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
"mcp2tavily": {
"command": "uv",
"args": [
"run",
"--with",
"fastmcp",
"--with",
"python-dotenv",
"--with",
"tavily-python",
"fastmcp",
"run",
"C:\\Users\\你的真实路径\\mcp2tavily.py"
],
"env": {
"TAVILY_API_KEY": "API密钥"
}
}Cline

Cline

Cline

EXAMPLE

Frequently asked questions
What is mcp2tavily?
mcp2tavily is 一个MCP服务器,让你的Claude Cline以及Langchain实现网络搜索功能。An MCP server that allows your Claude Cline and Langchain to implement network search functions.
How do I install mcp2tavily?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp2tavily open source?
Yes — it is hosted on GitHub at https://github.com/mcp2everything/mcp2tavily and has 4 stars.
Related MCP tools
🙌 OpenHands: Code Less, Make More for the Model Context Protocol. Enhance AI assistants with powerful integrations. Python-based implementation.
Universal memory layer for AI Agents; Announcing OpenMemory MCP - local and secure memory management. Python-based implementation.
基于大模型搭建的聊天机器人,同时支持 微信公众号、企业微信应用、飞书、钉钉 等接入,可选择ChatGPT/Claude/DeepSeek/文心一言/讯飞星火/通义千问/ Gemini/GLM-4/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。
An LLM agent that conducts deep research (local and web) on any given topic and generates a long report with citations. Built for the Model Context Protocol to
🚀 The fast, Pythonic way to build MCP servers and clients Trusted by 19900+ developers. Trusted by 19900+ developers. Trusted by 19900+ developers.
🔥 MaxKB is an open-source platform for building enterprise-grade agents. MaxKB 是强大易用的开源企业级智能体平台。 for the Model Context Protocol. Enhance AI assistants with po
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP