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
git clone <repository-url>
cd mcp2tavily
- Create and edit the
.envfile
# Create .env file
touch .env
# Add your Tavily API key to .env
echo "TAVILY_API_KEY=your_api_key_here" > .env
- Set up virtual environment with UV
# Create and activate virtual environment
uv venv
source .venv/bin/activate # On Windows use: .venvScriptsactivate
- Install dependencies
uv sync
Usage
Install as Claude extension
fastmcp install mcp2tavily.py
Development mode with MCP Inspector
To test the functionality using MCP Inspector:
fastmcp dev mcp2tavily.py
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
"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

Tavily Web Search
Project Details
- mcp2everything/mcp2tavily
- Last Updated: 2/14/2025
Recomended MCP Servers
这个项目是一个基于Model Context Protocol (MCP)的AutoCAD集成服务器,它允许通过自然语言与AutoCAD进行交互。通过这个服务器,用户可以使用Claude等大型语言模型来创建、修改和分析AutoCAD图纸,同时还可以存储和查询CAD元素的相关数据。目前制作参考学习,仅实现端到端之间的通信,具体工具函数尚未晚上
A Pyodide server implementation for the Model Context Protocol (MCP).
Node.js/TypeScript MCP server for AWS Single Sign-On (SSO). Enables AI systems (LLMs) with tools to initiate SSO login...
YDB server (daemon) source code
Evaluate if a task requires human intervention
MCP server for DuckDB and MotherDuck
Model Context Protocol server for querying Cursor chat history
This repository is dedicated to DL.
mindmap, mcp server, artifact
Simple MCP server providing AI assistants read-only access to Linear issues via API tokens





