tavily-pool-mcp
tavily-pool-mcp
一个本地模型上下文协议 (MCP) 服务器,它公开了一个 Tavily 搜索工具,并可在多个 Tavily API 密钥之间进行轮换。
功能
将
tavily_search公开为 MCP 工具在多个 Tavily API 密钥之间轮换
在遇到
401、403或429错误时使用其他密钥重试适用于 OpenCode 和其他兼容 MCP 的客户端
Related MCP server: AIE7-MCP
要求
Node.js 18+
Tavily API 密钥
安装
npm install配置
将 TAVILY_API_KEYS 设置为以空格、逗号或分号分隔的列表:
export TAVILY_API_KEYS="tvly-dev-key-1 tvly-dev-key-2 tvly-dev-key-3"在 Windows PowerShell 上:
$env:TAVILY_API_KEYS="tvly-dev-key-1 tvly-dev-key-2 tvly-dev-key-3"运行
npm startnpm start 会启动一个 stdio MCP 服务器,因此终端将等待 MCP 输入。这是预期行为。
OpenCode 配置
将其添加到你的 OpenCode opencode.json 中:
{
"mcp": {
"tavily-pool": {
"type": "local",
"enabled": true,
"command": ["node", "C:/path/to/tavily-pool-mcp/src/index.mjs"],
"environment": {
"TAVILY_API_KEYS": "{env:TAVILY_API_KEYS}"
}
}
}
}工具
tavily_search
参数:
query: 搜索查询max_results: 1-20,默认为 5search_depth:basic或advanced,默认为basicinclude_answer: 布尔值,默认为 falseinclude_raw_content: 布尔值,默认为 false
安全性
请勿提交真实的 API 密钥。请使用环境变量或密钥管理器。
许可证
MIT
Available Tools
1 tooltavily_searchC
Search the web using Tavily. This MCP rotates across multiple API keys.
Inputs: query (required), max_results, search_depth, include_answer, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
Only one tool exists, so there is no possibility of confusion or overlap.
The single tool follows a clear verb_noun pattern (tavily_search), which is consistent and predictable.
One tool is on the low end but reasonable for a focused search service; it is borderline but not inappropriate.
The search tool fully covers the server's purpose of web search; no obvious missing operations.
Related MCP Connectors
Web search API and MCP server for developers building AI agents.
Unofficial Tavily MCP — wraps the Tavily API (tavily.com)
Docs: https://docs.keenable.ai/mcp-server Keenable is a free, remote MCP server that gives agents access to the web index. Search the web with ranked results and date/site filters, then fetch any indexed page as clean markdown. Works out of the box with no account or API key.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA proxy MCP server for Tavily search and extract APIs with support for multiple API keys, random rotation, and bearer token authentication.MIT
- 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
- FlicenseNot gradedqualityDmaintenanceAn experimental MCP server that provides web search capabilities using the Tavily API. Still in progress, not production-ready.-