Tavily MCP Server
Official🎉 v0.2.1 でtavily-crawl + tavily-mapを導入しました! 🎉

モデル コンテキスト プロトコル (MCP) は、AI システムがさまざまなデータ ソースやツールとシームレスに対話し、安全な双方向接続を実現できるようにするオープン スタンダードです。
Anthropicが開発したモデルコンテキストプロトコル(MCP)により、ClaudeのようなAIアシスタントはTavilyの高度な検索・データ抽出機能とシームレスに統合できます。この統合により、AIモデルはWeb情報へのリアルタイムアクセスが可能になり、高度なフィルタリングオプションやドメイン固有の検索機能も利用できます。
Tavily MCP サーバーは以下を提供します。
検索、抽出、マップ、クロールツール
tavily-searchツールによるリアルタイムウェブ検索機能
tavily-extractツールによるWebページからのインテリジェントなデータ抽出
ウェブサイトの構造化されたマップを作成する強力なウェブマッピングツール
ウェブサイトを体系的に探索するウェブクローラー
📚 役立つリソース
Related MCP server: Tavily MCP Server
前提条件🔧
始める前に、次のものを用意してください。
Tavily APIキーをお持ちでない場合は、こちらから無料アカウントを登録できます。
Node.js (v20以上)
次のコマンドを実行して、Node.js のインストールを確認できます。
node --version
Gitがインストールされている (Git インストール方法を使用する場合のみ必要)
macOSの場合:
brew install gitLinuxの場合:
Debian/Ubuntu:
sudo apt install gitRedHat/CentOS:
sudo yum install git
Windowsの場合: Git for Windowsをダウンロード
Tavily MCP サーバーのインストール ⚡
NPXで実行
npx -y tavily-mcp@0.2.1 Smithery経由でインストール
Smithery経由で Claude Desktop 用の Tavily MCP Server を自動的にインストールするには:
npx -y @smithery/cli install @tavily-ai/tavily-mcp --client claudeサーバーを単独で起動することもできますが、単独では特に役に立ちません。代わりに、MCPクライアントに統合することをお勧めします。以下は、Claudeデスクトップアプリをtavily-mcpサーバーと連携するように設定する方法の例です。
MCP クライアントの設定 ⚙️
このリポジトリでは、 VS Code 、カーソル、 Claude Desktop をtavily-mcp サーバーで動作するように構成する方法について説明します。
VS Code の設定 💻
ワンクリックでインストールするには、以下のいずれかのインストールボタンをクリックします。
手動インストール
まず、このセクションの上部に、ニーズに合ったインストールボタンがあるかどうかを確認してください。手動でインストールする場合は、次の手順に従ってください。
VS Codeのユーザー設定(JSON)ファイルに、以下のJSONブロックを追加します。Ctrl Ctrl + Shift + P (macOSの場合はCmd + Shift + P )を押し、 Preferences: Open User Settings (JSON)と入力することで実行できます。
{
"mcp": {
"inputs": [
{
"type": "promptString",
"id": "tavily_api_key",
"description": "Tavily API Key",
"password": true
}
],
"servers": {
"tavily": {
"command": "npx",
"args": ["-y", "tavily-mcp@0.2.1"],
"env": {
"TAVILY_API_KEY": "${input:tavily_api_key}"
}
}
}
}
}オプションとして、ワークスペース内の.vscode/mcp.jsonというファイルに追加することもできます。
{
"inputs": [
{
"type": "promptString",
"id": "tavily_api_key",
"description": "Tavily API Key",
"password": true
}
],
"servers": {
"tavily": {
"command": "npx",
"args": ["-y", "tavily-mcp@0.2.1"],
"env": {
"TAVILY_API_KEY": "${input:tavily_api_key}"
}
}
}
}Cline の設定 🤖
Cline で Tavily MCP サーバーをセットアップする最も簡単な方法は、マーケットプレイスから 1 回のクリックでセットアップすることです。
VS CodeでClineを開く
サイドバーのClineアイコンをクリックします
「MCPサーバー」タブ(4つの四角)に移動します
「Tavily」を検索し、「インストール」をクリックします
プロンプトが表示されたら、Tavily APIキーを入力してください。
あるいは、Cline で Tavily MCP サーバーを手動で設定することもできます。
Cline MCP 設定ファイルを開きます。
macOSの場合:
# Using Visual Studio Code
code ~/Library/Application\ Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
# Or using TextEdit
open -e ~/Library/Application\ Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonWindowsの場合:
code %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.jsonTavily サーバー構成をファイルに追加します。
your-api-key-here実際のTavily API キーに置き換えます。{ "mcpServers": { "tavily-mcp": { "command": "npx", "args": ["-y", "tavily-mcp@0.2.1"], "env": { "TAVILY_API_KEY": "your-api-key-here" }, "disabled": false, "autoApprove": [] } } }ファイルを保存し、Cline がすでに実行されている場合は再起動します。
Cline をご利用の際に、Tavily MCP ツールにアクセスできるようになりました。会話の中で、Cline に tavily-search ツールと tavily-extract ツールを直接使用するよう指示できます。
カーソルの設定 🖥️
注: カーソルバージョン0.45.6以上が必要です
Cursor で Tavily MCP サーバーを設定するには:
カーソル設定を開く
機能 > MCP サーバーに移動します
「+新しいMCPサーバーを追加」ボタンをクリックします。
以下の情報を入力してください。
名前: サーバーのニックネームを入力します(例:「tavily-mcp」)
タイプ: タイプとして「コマンド」を選択します
コマンド: サーバーを実行するコマンドを入力します。
env TAVILY_API_KEY=your-api-key npx -y tavily-mcp@0.2.1重要:
your-api-keyTavily APIキーに置き換えてください。app.tavily.com/ homeで取得できます。
サーバーを追加すると、MCPサーバーのリストに表示されます。ツールリストを更新するには、MCPサーバーの右上にある更新ボタンを手動で押す必要がある場合があります。
Composer Agentは、クエリに関連する場合、自動的にTavily MCPツールを使用します。ツールの使用を明示的にリクエストする場合は、何をしたいのかを記述することをお勧めします(例:「AIに関する最新ニュースをWebで検索するには、ユーザーtavily-search」)。Macの場合は、command + Lを押してチャットを開き、画面上部のComposerオプションを選択します。送信ボタンの横にあるエージェントを選択し、準備ができたらクエリを送信してください。

Claude デスクトップ アプリの設定 🖥️
macOSの場合:
# Create the config file if it doesn't exist
touch "$HOME/Library/Application Support/Claude/claude_desktop_config.json"
# Opens the config file in TextEdit
open -e "$HOME/Library/Application Support/Claude/claude_desktop_config.json"
# Alternative method using Visual Studio Code (requires VS Code to be installed)
code "$HOME/Library/Application Support/Claude/claude_desktop_config.json"Windowsの場合:
code %APPDATA%\Claude\claude_desktop_config.jsonTavily サーバー構成を追加します。
your-api-key-here実際のTavily API キーに置き換えます。
{
"mcpServers": {
"tavily-mcp": {
"command": "npx",
"args": ["-y", "tavily-mcp@0.2.1"],
"env": {
"TAVILY_API_KEY": "your-api-key-here"
}
}
}
}2. Gitのインストール
リポジトリをクローンします。
git clone https://github.com/tavily-ai/tavily-mcp.git
cd tavily-mcp依存関係をインストールします:
npm installプロジェクトをビルドします。
npm run buildClaude デスクトップ アプリの設定 ⚙️
以下の JSON 構成を使用して、上記の「Claude デスクトップ アプリの構成」セクションで概説されている構成手順に従います。
your-api-key-hereを実際のTavily API キーに置き換え、 /path/to/tavily-mcpをシステム上でリポジトリをクローンした実際のパスに置き換えます。
{
"mcpServers": {
"tavily": {
"command": "npx",
"args": ["/path/to/tavily-mcp/build/index.js"],
"env": {
"TAVILY_API_KEY": "your-api-key-here"
}
}
}
}Claude デスクトップアプリでの使用 🎯
インストールが完了し、Claude デスクトップアプリの設定が完了したら、Claude デスクトップアプリを完全に閉じて再度開き、tavily-mcp サーバーを確認してください。アプリの左下にハンマーアイコンが表示され、利用可能な MCP ツールが表示されます。ハンマーアイコンをクリックすると、tavily-search ツールと tavily-extract ツールの詳細が表示されます。

これで、claude は tavily-mcp サーバーへの完全なアクセス権(tavily-search ツールと tavily-extract ツールを含む)を取得できるようになります。以下の例を Claude デスクトップアプリに挿入すると、tavily-mcp サーバーツールの動作を確認できます。
Tavily検索の例
一般的なウェブ検索:
Can you search for recent developments in quantum computing?ニュース検索:
Search for news articles about AI startups from the last 7 days.ドメイン固有の検索:
Search for climate change research on nature.com and sciencedirect.comTavily抽出例
記事の内容を抽出:
Extract the main content from this article: https://example.com/article✨ 検索と抽出を組み合わせる ✨
tavily-search ツールと tavily-extract ツールを組み合わせて、より複雑なタスクを実行することもできます。
Search for news articles about AI startups from the last 7 days and extract the main content from each article to generate a detailed report.トラブルシューティング 🛠️
よくある問題
サーバーが見つかりません
npm --verisonを実行して npm のインストールを確認します。code ~/Library/Application\ Support/Claude/claude_desktop_config.jsonを実行して、Claude Desktop の構成構文を確認します。node --versionを実行して Node.js が正しくインストールされていることを確認します。
NPX関連の問題
npxに関連するエラーが発生した場合は、代わりに npx 実行可能ファイルへのフルパスを使用する必要がある場合があります。このパスを見つけるには、ターミナルで
which npxを実行し、構成内の"command": "npx"行を"command": "/full/path/to/npx"に置き換えます。
APIキーの問題
Tavily APIキーが有効であることを確認してください
APIキーが設定で正しく設定されていることを確認してください
APIキーの周囲にスペースや引用符がないことを確認してください
謝辞✨
MCP仕様のモデルコンテキストプロトコル
クロード・デスクトップのAnthropic
Available Tools
4 toolstavily-crawlA
A powerful web crawler that initiates a structured web crawl starting from a specified base URL. The crawler expands from that point like a graph, following internal links across pages. You can control how deep and wide it goes, and guide it to focus on specific sections of the site.
Inputs: url (required), max_depth, max_breadth, limit, +7 more.
tavily-extractC
A powerful web content extraction tool that retrieves and processes raw content from specified URLs, ideal for data collection, content analysis, and research tasks.
Inputs: urls (required), extract_depth, include_images, format, +2 more.
tavily-mapB
A powerful web mapping tool that creates a structured map of website URLs, allowing you to discover and analyze site structure, content organization, and navigation paths. Perfect for site audits, content discovery, and understanding website architecture.
Inputs: url (required), max_depth, max_breadth, limit, +4 more.
tavily-searchB
A powerful web search tool that provides comprehensive, real-time results using Tavily's AI search engine. Returns relevant web content with customizable parameters for result count, content type, and domain filtering. Ideal for gathering current information, news, and detailed web content analysis.
Inputs: query (required), search_depth, topic, days, +11 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: crawling (tavily-crawl) focuses on structured exploration from a base URL, extraction (tavily-extract) retrieves raw content from specific URLs, mapping (tavily-map) analyzes site structure, and search (tavily-search) provides real-time web results. There is no overlap in functionality, making tool selection straightforward for an agent.
All tool names follow a consistent 'tavily-' prefix with a descriptive action suffix (crawl, extract, map, search), using a uniform hyphenated style. This predictable pattern enhances readability and reduces confusion, with no deviations in naming conventions.
With 4 tools, the server is well-scoped for its web-related domain, covering key operations like crawling, extraction, mapping, and search without bloat. Each tool earns its place by addressing a distinct aspect of web interaction, making the count appropriate and manageable.
The tool set provides complete coverage for web-based tasks, including discovery (crawl, map), content retrieval (extract, search), and analysis. There are no obvious gaps; agents can perform end-to-end workflows from finding sites to extracting and analyzing content without dead ends.
Maintenance
Related MCP Connectors
Official AI/ML API server: 10,000+ AI tools and models for chat, image, video, audio, search, data.
Web search API and MCP server for developers building AI agents.
The Octagon MCP server provides specialized AI-powered financial research and analysis by integrating with the Octagon Market Intelligence API. It enables users to analyze public market data (SEC filings, earnings transcripts, financial metrics, and stock data for 8000+ companies), private market data (3M+ companies, 500k+ funding rounds, 2M+ M&A/IPO transactions), and conduct deep research including web scraping capabilities. The server also features autonomous research agents that search hundreds of sources and return fully cited reports in approximately one minute.
AI tool directory MCP server, live since July 2026. Tools, agents, models, companies, services.
Related MCP Servers
- AlicenseBqualityDmaintenanceThis server allows users to perform web searches using Perplexity AI, providing a tool for retrieving search results through a simple API interface.13ISC
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with real-time web search, intelligent data extraction from web pages, website mapping, and web crawling capabilities through Tavily's API. Enables comprehensive web research and content analysis through natural language interactions.MIT
- AlicenseBqualityDmaintenanceProvides AI assistants with real-time web search capabilities and intelligent data extraction from web pages through Tavily's advanced search API.221,321 npmMIT
- AlicenseAqualityDmaintenanceProvides AI assistants with real-time web search capabilities, intelligent data extraction from web pages, website mapping, and web crawling through Tavily's API.4MIT
