Skip to main content
Glama
tavily-pool-mcp

tavily-pool-mcp

tavily-pool-mcp

Tavily検索ツールを公開し、複数のTavily APIキーをローテーションするローカルModel Context Protocolサーバー。

機能

  • 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 start

npm 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}"
      }
    }
  }
}

ツール

引数:

  • query: 検索クエリ

  • max_results: 1〜20、デフォルトは5

  • search_depth: basic または advanced、デフォルトは basic

  • include_answer: ブール値、デフォルトはfalse

  • include_raw_content: ブール値、デフォルトはfalse

セキュリティ

実際のAPIキーをコミットしないでください。環境変数またはシークレットマネージャーを使用してください。

ライセンス

MIT

Available Tools

1 tool

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 1 tool

    Disambiguation5/5

    Only one tool exists, so there is no possibility of confusion or overlap.

    Naming Consistency5/5

    The single tool follows a clear verb_noun pattern (tavily_search), which is consistent and predictable.

    Tool Count3/5

    One tool is on the low end but reasonable for a focused search service; it is borderline but not inappropriate.

    Completeness5/5

    The search tool fully covers the server's purpose of web search; no obvious missing operations.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers