tavily-rotator-mcp
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., "@tavily-rotator-mcp search for the latest news on AI regulations"
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.
简体中文 | English
tavily-rotator-mcp
本地 Tavily MCP server:把多把免费 Tavily key 池化,round-robin 轮询 + 故障转移,
直接调用 Tavily REST API(api.tavily.com),无状态、无外部依赖服务。
特性
轮询:round-robin 分发请求,优先跳过冷却中的 key
故障转移:
429限流冷却 60s;401/432/433(无效/配额用尽)冷却 1h 后自动再探测;单次请求内自动换 key 重试官方工具对齐:工具名、参数、默认值与官方托管 MCP(mcp.tavily.com)1:1 一致,模型用起来无差别
中心配置:key 只配一次(一行命令或一个 JSON 文件),所有 agent 共享;加 key 不用改任何客户端
命令行管理:
tavily-rotator-mcp init / add / list,不用手动编辑配置文件零端口:stdio 传输,被宿主进程拉起,不监听端口
Related MCP server: tavily-proxy-mcp
安装
需要 uv(它会顺带帮你管理 Python,本机无需预装):
git clone https://github.com/dragonheartcra/tavily-rotator-mcp
cd tavily-rotator-mcp
uv tool install .配置 key
方式 A:一行命令写入中心配置(推荐,配一次所有 agent 共享)
tavily-rotator-mcp init tvly-dev-xxxx tvly-dev-yyyy tvly-dev-zzzz
# 以后加新 key(自动去重):
tavily-rotator-mcp add tvly-dev-new
# 查看已配置的 key:
tavily-rotator-mcp list方式 B:key 直接写进 MCP 配置(单 agent 一步到位,跟配官方 tavily MCP 一样直观)
{
"mcpServers": {
"tavily-rotator": {
"type": "stdio",
"command": "tavily-rotator-mcp",
"env": {
"TAVILY_KEYS": "tvly-dev-xxxx,tvly-dev-yyyy"
}
}
}
}方式 B 的
env优先级高于中心配置文件,只对这一个客户端生效,适合临时测试或按 agent 隔离 key。两种方式都没配时,server 启动会直接报错并给出提示。
各客户端接入
ZCode / Cursor / Cline 等(JSON 配置):
{
"mcpServers": {
"tavily-rotator": {
"type": "stdio",
"command": "tavily-rotator-mcp"
}
}
}Claude Code(CLI):
claude mcp add tavily-rotator -- tavily-rotator-mcp工具列表
与官方托管 MCP(mcp.tavily.com)的工具清单、参数、默认值对齐:
工具 | 说明 |
| 网络搜索(/search,含时间范围、域名过滤、新闻/财经主题等) |
| 提取 URL 正文(/extract) |
| 整站爬取(/crawl,深度/广度/数量可配) |
| 网站结构地图(/map) |
| 深度研究报告(/research,异步任务自动轮询,约 1-5 分钟) |
| 查看 key 池状态(成功/失败/冷却剩余),0 credit |
更新 / 卸载
uv tool install --force . # 升级
uv tool uninstall tavily-rotator-mcp注意
key 仅用于向 Tavily API 发送
Authorization请求头,不会被记录或发送到其他任何地方通过轮换器使用多个免费账号会放大免费额度——这处于 Tavily 服务条款的灰色地带,个人轻度使用无妨,别拿它做商业用途
许可证
Available Tools
6 toolstavily_crawlC
Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.
Inputs: url (required), limit, format, max_depth, +7 more. Returns: result
tavily_extractC
Extract content from URLs. Returns raw page content in markdown or text format.
Inputs: urls (required), query, format, extract_depth, +2 more. Returns: result
tavily_mapC
Map a website's structure. Returns a list of URLs found starting from the base URL.
Inputs: url (required), limit, max_depth, max_breadth, +4 more. Returns: result
tavily_pool_statusA
查看本地 key 池状态(成功/失败次数、冷却剩余秒数),不消耗 credit。
Inputs: no named parameters. Returns: result
tavily_researchA
Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question. Returns a detailed response. Rate limit: 20 requests per minute. NOTE: this is an async task and may take 1-5 minutes.
Inputs: input (required), model, output_length, citation_format, +2 more. Returns: result
tavily_searchB
Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.
Inputs: query (required), topic, country, end_date, +11 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool serves a clear, distinct function: search for queries, extract for single URLs, crawl for site-wide content, map for URL discovery, research for multi-source synthesis, and pool_status for internal health. There is minimal overlap, and the descriptions clarify when to use each.
All tools follow a consistent 'tavily_' prefix with lowercase snake_case verb/noun names. The naming pattern is predictable and clearly indicates the action (search, extract, crawl, map, research, pool_status), with no mixed conventions.
With 6 tools, the server is well-scoped for a web research domain. Each tool adds distinct functionality, and the count is comfortably within the ideal range, neither sparse nor bloated.
The toolset covers the core web research lifecycle: search, extract, crawl, map, and comprehensive research. Minor gaps exist, such as advanced search parameters or bulk operations, but these are not essential for typical workflows. The inclusion of a pool status tool shows attention to operational needs.
Maintenance
Related MCP Connectors
Unified 15-tool SEO, SERP, clean Markdown & GEO (LLM citation Share-of-Voice) MCP server.
Web search API and MCP server for developers building AI agents.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Related MCP Servers
- AlicenseBqualityDmaintenanceA local MCP server that exposes Tavily search as a tool and rotates across multiple API keys for reliability.1MIT
- AlicenseAqualityCmaintenanceA proxy MCP server that connects to Tavily's official Streamable HTTP MCP, managing multiple API keys and automatically switching to the next one when the current key's quota is exhausted.550 npm1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for Tavily search and web data tools, enabling search, extract, crawl, and map operations through a simple HTTP or stdio interface.MIT
- FlicenseNot gradedqualityDmaintenanceMCP server exposing 8 Tavily tools (web search, fetch, crawl, map, QnA, context, and deep research) via Streamable HTTP for AI assistants to perform live web retrieval and research.1-