MCP2Tavily
MCP2塔维利
使用 Tavily API 实现网络搜索功能的 MCP 协议服务器。
先决条件
Python 3.11+
UV包管理器
Tavily API 密钥
Related MCP server: o3-search MCP
安装
克隆存储库
git clone <repository-url>
cd mcp2tavily创建并编辑
.env文件
# Create .env file
touch .env
# Add your Tavily API key to .env
echo "TAVILY_API_KEY=your_api_key_here" > .env使用 UV 设置虚拟环境
# Create and activate virtual environment
uv venv
source .venv/bin/activate # On Windows use: .venv\Scripts\activate安装依赖项
uv sync用法
安装为 Claude 扩展
fastmcp install mcp2tavily.py使用 MCP Inspector 的开发模式
要使用 MCP Inspector 测试功能:
fastmcp dev mcp2tavily.py运行后,您可以通过以下网址访问 MCP Inspector: http://localhost:5173
可用工具
search_web(query: str):使用 Tavily API 搜索网页search_web_info(query: str):同上,带中文描述
环境变量
TAVILY_API_KEY:您的 Tavily API 密钥(必需)
分步指南
手动添加 Cline 继续 Claude
Cline 继续 Claude 的 MCP JSON 文件
"mcp2tavily": {
"command": "uv",
"args": [
"run",
"--with",
"fastmcp",
"--with",
"python-dotenv",
"--with",
"tavily-python",
"fastmcp",
"run",
"C:\\Users\\你的真实路径\\mcp2tavily.py"
],
"env": {
"TAVILY_API_KEY": "API密钥"
}
}克莱恩

克莱恩

克莱恩

例子

Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server implementation that integrates the Tavily Search API, providing optimized search capabilities for LLMs.15MIT
- AlicenseAqualityCmaintenanceAn MCP server that enables web search capabilities using OpenAI's o3 model, allowing AI assistants to perform text-based web searches and return AI-powered results.1198288MIT
- FlicenseNot gradedqualityDmaintenanceAn 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.22
- FlicenseAqualityDmaintenanceMCP server that provides web search capabilities using the Tavily API.3
Related MCP Connectors
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
An MCP server that gives your AI access to the source code and docs of all public github repos
Serper MCP — wraps the Serper Google Search API (serper.dev)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mcp2everything/mcp2tavily'
If you have feedback or need assistance with the MCP directory API, please join our Discord server