Tavily Search MCP
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_HOST を 0.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>"This server cannot be installed
Maintenance
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
- 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.22
- AlicenseNot gradedqualityCmaintenanceA web search and extraction MCP server powered by Tavily, providing tools for AI-powered search, content extraction from URLs, and Q\&A with source citations.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.414MIT
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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