
Tavily MCP Server
io.github.Seey215由 GitHub 帳號 Seey215 發布v0.2.9更新於 Oct 24, 2026
MCP server for advanced web search using Tavily API.
概覽
在本機執行的 MCP 伺服器,透過 Tavily 讓 AI 助理進行網頁搜尋、擷取正文、產生網站地圖與爬取。
- 可以做什麼
- 透過 tavily-search 工具即時搜尋網頁,支援新聞查詢、限定網域與篩選選項。使用 tavily-extract 擷取網頁正文內容。建立網站的結構化地圖,並系統性地爬取網站以探索其頁面。可結合搜尋與擷取,先蒐集來源再抓取內容產生報告。
- 適用情境
- 適合助理需要最新網路資訊而非訓練資料的情境:近期新聞、特定網站上的研究資料,或擷取文章正文用於摘要與比較。
- 執行需求
- 透過 npx 以本機程序執行,需要 Node.js v20 或以上版本,以及 Claude Desktop、Cursor、VS Code 或 Cline 等 MCP 用戶端。需要 Tavily API 金鑰,透過環境變數 TAVILY_API_KEY 傳入。需要連線至 Tavily 服務的網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Tavily MCP Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
[Tavily Crawl Beta]
[GitHub Repo stars] [npm] [smithery badge]
The Model Context Protocol (MCP) is an open standard that enables AI systems to interact seamlessly with various data sources and tools, facilitating secure, two-way connections.
Developed by Anthropic, the Model Context Protocol (MCP) enables AI assistants like Claude to seamlessly integrate with Tavily's advanced search and data extraction capabilities. This integration provides AI models with real-time access to web information, complete with sophisticated filtering options and domain-specific search features.
The Tavily MCP server provides:
- search, extract, map, crawl tools
- Real-time web search capabilities through the tavily-search tool
- Intelligent data extraction from web pages via the tavily-extract tool
- Powerful web mapping tool that creates a structured map of website
- Web crawler that systematically explores websites
📚 Helpful Resources
- Tutorial on combining Tavily MCP with Neo4j MCP server
- Tutorial on integrating Tavily MCP with Cline in VS Code
Prerequisites 🔧
Before you begin, ensure you have:
- Tavily API key
- If you don't have a Tavily API key, you can sign up for a free account here
- Claude Desktop or Cursor
- Node.js (v20 or higher)
- You can verify your Node.js installation by running:
node --version
- You can verify your Node.js installation by running:
- Git installed (only needed if using Git installation method)
- On macOS:
brew install git - On Linux:
- Debian/Ubuntu:
sudo apt install git - RedHat/CentOS:
sudo yum install git
- Debian/Ubuntu:
- On Windows: Download Git for Windows
- On macOS:
Tavily MCP server installation ⚡
Running with NPX
Installing via Smithery
To install Tavily MCP Server for Claude Desktop automatically via Smithery:
Although you can launch a server on its own, it's not particularly helpful in isolation. Instead, you should integrate it into an MCP client. Below is an example of how to configure the Claude Desktop app to work with the tavily-mcp server.
Configuring MCP Clients ⚙️
This repository will explain how to configure VS Code, Cursor and Claude Desktop to work with the tavily-mcp server.
Configuring VS Code 💻
For one-click installation, click one of the install buttons below:
[Install with NPX in VS Code] [Install with NPX in VS Code Insiders]
Manual Installation
First check if there are install buttons at the top of this section that match your needs. If you prefer manual installation, follow these steps:
Add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P (or Cmd + Shift + P on macOS) and typing Preferences: Open User Settings (JSON).
Optionally, you can add it to a file called .vscode/mcp.json in your workspace:
Configuring Cline 🤖
The easiest way to set up the Tavily MCP server in Cline is through the marketplace with a single click:
- Open Cline in VS Code
- Click on the Cline icon in the sidebar
- Navigate to the "MCP Servers" tab ( 4 squares )
- Search "Tavily" and click "install"
- When prompted, enter your Tavily API key
Alternatively, you can manually set up the Tavily MCP server in Cline:
-
Open the Cline MCP settings file:
For macOS:
For Windows:
-
Add the Tavily server configuration to the file:
Replace
your-api-key-herewith your actual Tavily API key. -
Save the file and restart Cline if it's already running.
-
When using Cline, you'll now have access to the Tavily MCP tools. You can ask Cline to use the tavily-search and tavily-extract tools directly in your conversations.
Configuring Cursor 🖥️
Note: Requires Cursor version 0.45.6 or higher
To set up the Tavily MCP server in Cursor:
- Open Cursor Settings
- Navigate to Features > MCP Servers
- Click on the "+ Add New MCP Server" button
- Fill out the following information:
- Name: Enter a nickname for the server (e.g., "tavily-mcp")
- Type: Select "command" as the type
- Command: Enter the command to run the server:
Important: Replace
your-api-keywith your Tavily API key. You can get one at app.tavily.com/home
After adding the server, it should appear in the list of MCP servers. You may need to manually press the refresh button in the top right corner of the MCP server to populate the tool list.
The Composer Agent will automatically use the Tavily MCP tools when relevant to your queries. It is better to explicitly request to use the tools by describing what you want to do (e.g., "User tavily-search to search the web for the latest news on AI"). On mac press command + L to open the chat, select the composer option at the top of the screen, beside the submit button select agent and submit the query when ready.
Configuring the Claude Desktop app 🖥️
For macOS:
For Windows:
Add the Tavily server configuration:
Replace your-api-key-here with your actual Tavily API key.
2. Git Installation
- Clone the repository:
- Install dependencies:
- Build the project:
Configuring the Claude Desktop app ⚙️
Follow the configuration steps outlined in the Configuring the Claude Desktop app section above, using the below JSON configuration.
Replace your-api-key-here with your actual Tavily API key and /path/to/tavily-mcp with the actual path where you cloned the repository on your system.
Usage in Claude Desktop App 🎯
Once the installation is complete, and the Claude desktop app is configured, you must completely close and re-open the Claude desktop app to see the tavily-mcp server. You should see a hammer icon in the bottom left of the app, indicating available MCP tools, you can click on the hammer icon to see more detial on the tavily-search and tavily-extract tools.
Now claude will have complete access to the tavily-mcp server, including the tavily-search and tavily-extract tools. If you insert the below examples into the Claude desktop app, you should see the tavily-mcp server tools in action.
Tavily Search Examples
- General Web Search:
- News Search:
- Domain-Specific Search:
Tavily Extract Examples
- Extract Article Content:
✨ Combine Search and Extract ✨
You can also combine the tavily-search and tavily-extract tools to perform more complex tasks.
Troubleshooting 🛠️
Common Issues
-
Server Not Found
- Verify the npm installation by running
npm --verison - Check Claude Desktop configuration syntax by running
code ~/Library/Application\ Support/Claude/claude_desktop_config.json - Ensure Node.js is properly installed by running
node --version
- Verify the npm installation by running
-
NPX related issues
- If you encounter errors related to
npx, you may need to use the full path to the npx executable instead. - You can find this path by running
which npxin your terminal, then replace the"command": "npx"line with"command": "/full/path/to/npx"in your configuration.
- API Key Issues
- Confirm your Tavily API key is valid
- Check the API key is correctly set in the config
- Verify no spaces or quotes around the API key
Acknowledgments ✨
- Model Context Protocol for the MCP specification
- Anthropic for Claude Desktop
來源:README.md,提交 c44dbce
工具
0版本歷史
1- v0.2.9最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分