Gathering detailed insights and metrics for tavily-mcp
Gathering detailed insights and metrics for tavily-mcp
Gathering detailed insights and metrics for tavily-mcp
Gathering detailed insights and metrics for tavily-mcp
mcp-tavily-search
MCP server for integrating Tavily search API with LLMs, providing web search, RAG context generation, and QnA capabilities
@mcptools/mcp-tavily
A Model Context Protocol (MCP) server implementation for Tavily API, providing advanced search and content extraction capabilities
@pinkpixel/deep-research-mcp
A Model Context Protocol (MCP) server for performing deep web research using Tavily Search and Crawl APIs, preparing structured data for LLM-powered documentation generation.
@agtools/mcp-tavily
A Model Context Protocol (MCP) server implementation for Tavily API, providing advanced search and content extraction capabilities
npm install tavily-mcp
Typescript
Module System
Node Version
NPM Version
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
4
3
The Tavily MCP server provides:
Connect directly to Tavily's remote MCP server instead of running it locally. This provides a seamless experience without requiring local installation or configuration.
Simply use the remote MCP server URL with your Tavily API key:
https://mcp.tavily.com/mcp/?tavilyApiKey=<your-api-key>
Get your Tavily API key from tavily.com.
Click the ⬆️ Add to Cursor ⬆️ button, this will do most of the work for you but you will still need to edit the configuration to add your API-KEY. You can get a Tavily API key here.
once you click the button you should be redirect to Cursor ...
Click the install button
You should see the MCP is now installed, if the blue slide is not already turned on, manually turn it on. You also need to edit the configuration to include your own Tavily API key.
You will then be redirected to your mcp.json
file where you have to add your-api-key
.
1{ 2 "mcpServers": { 3 "tavily-remote-mcp": { 4 "command": "npx -y mcp-remote https://mcp.tavily.com/mcp/?tavilyApiKey=<your-api-key>", 5 "env": {} 6 } 7 } 8}
Claude desktop now supports adding integrations
which is currently in beta. An integration in this case is the Tavily Remote MCP, below I will explain how to add the MCP as an integration
in Claude desktop.
open claude desktop, click the button with the two sliders and then navigate to add integrations.
click Add integrations
Name the integration and insert the Tavily remote MCP url with your API key. You can get a Tavily API key here. Click Add
to confirm.
Retrun to the chat screen and you will see the Tavily Remote MCP is now connected to Claude desktop.
Allow models to use remote MCP servers to perform tasks.
<your-api-key>
, you can get a Tavily API key here1from openai import OpenAI 2 3client = OpenAI() 4 5resp = client.responses.create( 6 model="gpt-4.1", 7 tools=[ 8 { 9 "type": "mcp", 10 "server_label": "tavily", 11 "server_url": "https://mcp.tavily.com/mcp/?tavilyApiKey=<your-api-key>", 12 "require_approval": "never", 13 }, 14 ], 15 input="Do you have access to the tavily mcp server?", 16) 17 18print(resp.output_text)
mcp-remote is a lightweight bridge that lets MCP clients that can only talk to local (stdio) servers securely connect to remote MCP servers over HTTP + SSE with OAuth-based auth, so you can host and update your server in the cloud while existing clients keep working. It serves as an experimental stop-gap until popular MCP clients natively support remote, authorized servers.
1{ 2 "tavily-remote": { 3 "command": "npx", 4 "args": [ 5 "-y", 6 "mcp-remote", 7 "https://mcp.tavily.com/mcp/?tavilyApiKey=<your-api-key>" 8 ] 9 } 10}
Before you begin, ensure you have:
node --version
brew install git
sudo apt install git
sudo yum install git
1npx -y tavily-mcp@latest
To install Tavily MCP Server for Claude Desktop automatically via Smithery:
1npx -y @smithery/cli install @tavily-ai/tavily-mcp --client claude
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.
This repository will explain how to configure VS Code, Cursor and Claude Desktop to work with the tavily-mcp server.
For one-click installation, click one of the install buttons below:
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)
.
1{ 2 "mcp": { 3 "inputs": [ 4 { 5 "type": "promptString", 6 "id": "tavily_api_key", 7 "description": "Tavily API Key", 8 "password": true 9 } 10 ], 11 "servers": { 12 "tavily": { 13 "command": "npx", 14 "args": ["-y", "tavily-mcp@latest"], 15 "env": { 16 "TAVILY_API_KEY": "${input:tavily_api_key}" 17 } 18 } 19 } 20 } 21}
Optionally, you can add it to a file called .vscode/mcp.json
in your workspace:
1{ 2 "inputs": [ 3 { 4 "type": "promptString", 5 "id": "tavily_api_key", 6 "description": "Tavily API Key", 7 "password": true 8 } 9 ], 10 "servers": { 11 "tavily": { 12 "command": "npx", 13 "args": ["-y", "tavily-mcp@latest"], 14 "env": { 15 "TAVILY_API_KEY": "${input:tavily_api_key}" 16 } 17 } 18 } 19}
The easiest way to set up the Tavily MCP server in Cline is through the marketplace with a single click:
Alternatively, you can manually set up the Tavily MCP server in Cline:
Open the Cline MCP settings file:
1# Using Visual Studio Code 2code ~/Library/Application\ Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json 3 4# Or using TextEdit 5open -e ~/Library/Application\ Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
1code %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Add the Tavily server configuration to the file:
Replace your-api-key-here
with your actual Tavily API key.
1{ 2 "mcpServers": { 3 "tavily-mcp": { 4 "command": "npx", 5 "args": ["-y", "tavily-mcp@latest"], 6 "env": { 7 "TAVILY_API_KEY": "your-api-key-here" 8 }, 9 "disabled": false, 10 "autoApprove": [] 11 } 12 } 13}
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.
1# Create the config file if it doesn't exist 2touch "$HOME/Library/Application Support/Claude/claude_desktop_config.json" 3 4# Opens the config file in TextEdit 5open -e "$HOME/Library/Application Support/Claude/claude_desktop_config.json" 6 7# Alternative method using Visual Studio Code (requires VS Code to be installed) 8code "$HOME/Library/Application Support/Claude/claude_desktop_config.json"
1code %APPDATA%\Claude\claude_desktop_config.json
Replace your-api-key-here
with your actual Tavily API key.
1{ 2 "mcpServers": { 3 "tavily-mcp": { 4 "command": "npx", 5 "args": ["-y", "tavily-mcp@latest"], 6 "env": { 7 "TAVILY_API_KEY": "your-api-key-here" 8 } 9 } 10 } 11}
1git clone https://github.com/tavily-ai/tavily-mcp.git 2cd tavily-mcp
1npm install
1npm run build
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.
1{ 2 "mcpServers": { 3 "tavily": { 4 "command": "npx", 5 "args": ["/path/to/tavily-mcp/build/index.js"], 6 "env": { 7 "TAVILY_API_KEY": "your-api-key-here" 8 } 9 } 10 } 11}
No vulnerabilities found.
No security vulnerabilities found.