MCP2Tavily
Utilizes .ENV for environment variable management, specifically for storing and accessing the Tavily API key needed for web search functionality.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP2Tavily search for latest AI developments in 2024"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP2Tavily
A MCP protocol server that implements web search functionality using the Tavily API.
Prerequisites
Python 3.11+
UV package manager
Tavily API key
Related MCP server: All-Search MCP Server
Installation
Clone the repository
git clone <repository-url>
cd mcp2tavilyCreate and edit the
.envfile
# Create .env file
touch .env
# Add your Tavily API key to .env
echo "TAVILY_API_KEY=your_api_key_here" > .envSet up virtual environment with UV
# Create and activate virtual environment
uv venv
source .venv/bin/activate # On Windows use: .venv\Scripts\activateInstall 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 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

Available Tools
4 toolsget_url_contentC
Get the content from a specific URL using Tavily API
Args:
url (str): The URL to extract content from
Returns:
str: The extracted content from the URL
Inputs: url (required).
get_url_content_infoC
从指定URL获取网页内容
参数:
url (str): 需要提取内容的网页地址
返回:
str: 从URL提取的网页内容
Inputs: url (required).
search_webC
Search the web for information using Tavily API
Inputs: query (required).
search_web_infoC
从网络搜索用户查询的信息
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
The tool set has severe ambiguity issues, with two pairs of tools that appear to be exact duplicates in different languages. get_url_content and get_url_content_info seem to perform identical functions (extracting content from a URL), as do search_web and search_web_info (searching the web). An agent would have no reliable way to choose between these overlapping tools.
The naming follows a mixed convention with some consistency issues. While all tools use snake_case, the pattern is inconsistent: two tools use simple verb_noun format (get_url_content, search_web) while two others add '_info' suffix (get_url_content_info, search_web_info). This creates confusion about whether the '_info' tools are different operations or just translations.
With only 4 tools, this feels thin for a web search/content extraction server, but the real problem is that these represent only 2 distinct operations duplicated across languages. The effective tool count is just 2, which is insufficient for comprehensive web interaction capabilities that might include filtering, advanced search parameters, or content analysis.
For a web search/content extraction server, there are significant gaps in the surface. While basic URL content fetching and web search are covered, there's no support for filtering search results, specifying search parameters, handling different content types, or any advanced web interaction features. The duplication across languages doesn't add functional coverage, leaving the tool set incomplete for sophisticated web tasks.
Related MCP Connectors
Web search API and MCP server for developers building AI agents.
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Unofficial Tavily MCP — wraps the Tavily API (tavily.com)
Free web search for AI agents. No API key required. Hosted MCP in active development.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server implementation that integrates the Tavily Search API, providing optimized search capabilities for LLMs.15MIT
- 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.23-
- FlicenseAqualityDmaintenanceMCP server that provides web search capabilities using the Tavily API.3-
- AlicenseBqualityDmaintenanceMCP server providing search, extract, map, and crawl tools powered by Tavily for real-time web data access.4MIT