Skip to main content
Glama
whfzdxhst

Tavily Search MCP

by whfzdxhst

Tavily Search MCP

Tavily Search MCP は、Streamable HTTP ベースの MCP サービスであり、Tavily のウェブ検索とウェブページコンテンツ抽出機能を MCP ツールにカプセル化するためのものです。

機能

  • web_search:クエリキーワードに基づいてウェブ検索を行います。

  • web_fetch:ウェブページの URL から読み取り可能なテキストコンテンツを抽出します。

Related MCP server: tavily-mcp

環境要件

  • Python 3.11+

  • Tavily API Key

  • streamable_http をサポートする MCP クライアント

インストール

まず、自分専用の Python 仮想環境を作成して有効にし、その後、依存関係と現在のプロジェクトをインストールします:

python -m pip install -r requirements.txt
python -m pip install -e .

環境変数テンプレートをコピーします:

cp .env.example .env

.env に設定を記入します:

TAVILY_API_KEY=tvly-your-api-key
MCP_SERVER_HOST=127.0.0.1
MCP_SERVER_PORT=21029
MCP_SERVER_PATH=/mcp
MCP_ALLOWED_HOSTS=127.0.0.1,127.0.0.1:21029,localhost,localhost:21029
MCP_ALLOWED_ORIGINS=*

サーバーにデプロイする場合は、MCP_SERVER_HOST0.0.0.0 に設定し、あなたのパブリックドメインまたはアクセスホスト名を MCP_ALLOWED_HOSTS に追加してください。

サービスの起動

python -m tavily_search_mcp.server

デフォルトのローカル MCP アドレス:

http://127.0.0.1:21029/mcp

ヘルスチェック:

curl http://127.0.0.1:21029/health

テストクライアント

MCP ツールを一覧表示します:

python -m tavily_search_mcp.client --url http://127.0.0.1:21029/mcp list-tools

ウェブ検索を呼び出します:

python -m tavily_search_mcp.client --url http://127.0.0.1:21029/mcp web-search "Tavily Python SDK" --max-results 2

ウェブページコンテンツ抽出を呼び出します:

python -m tavily_search_mcp.client --url http://127.0.0.1:21029/mcp web-fetch "https://docs.tavily.com/"

MCP クライアント設定

ローカルサービスの例:

{
  "mcpServers": {
    "tavily-search": {
      "type": "streamable_http",
      "url": "http://127.0.0.1:21029/mcp",
      "headers": {}
    }
  }
}

リモートサービスの例:

{
  "mcpServers": {
    "tavily-search": {
      "type": "streamable_http",
      "url": "https://your-domain.example/mcp",
      "headers": {}
    }
  }
}

サーバーへのデプロイ

リポジトリ内のデプロイスクリプトを使用して、自分の SSH キーでサービスをアップロードして起動できます:

.\scripts\deploy_remote.ps1 -HostName "your-server.example" -User "ubuntu" -IdentityFile "<path-to-private-key>"
F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

Related MCP Connectors

  • Serper MCP — wraps the Serper Google Search API (serper.dev)

  • Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.

  • Hosted MCP with 91 agent tools: X, domains, SEO, Maps, Trends, Search, YouTube, TikTok, and more.

View all MCP Connectors

Latest Blog Posts

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/whfzdxhst/TavilySearchMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server