MCP server for advanced web search using Tavily
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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:
Get your Tavily API key from tavily.com.
Alternatively, you can pass your API key through an Authorization header if the MCP client supports this:
Note: When using the remote MCP, you can specify default parameters for all requests by including a DEFAULT_PARAMETERS header containing a JSON object with your desired defaults. Example:
Claude Code is Anthropic's official CLI tool for Claude. You can add the Tavily MCP server using the claude mcp add command. There are two ways to authenticate:
Pass your API key directly in the URL. Replace <your-api-key> with your actual Tavily API key:
Add the server without an API key in the URL:
After adding, you'll need to complete the authentication flow:
claude to start Claude Code/mcp to open the MCP server managementTip: Add --scope user to either command to make the Tavily MCP server available globally across all your projects:
Once configured, you'll have access to the Tavily search, extract, map, and crawl tools.
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.
The Tavily Remote MCP server supports secure OAuth authentication, allowing you to connect and authorize seamlessly with compatible clients.
A. Using MCP Inspector:
Once finished, you will receive an access token that lets you securely make authenticated requests to the Tavily Remote MCP server.
B. Using other MCP Clients (Example: Cursor):
You can configure your MCP client to use OAuth without including your Tavily API key in the URL. For example, in your mcp.json:
If you need to clear stored OAuth credentials and reauthenticate, run:
Note:
- OAuth authentication is optional. You can still use API key authentication at any time by including your Tavily API key in the URL query parameter (
?tavilyApiKey=...) or by setting it in theAuthorizationheader, as described above.
After successful OAuth authentication, you can control which API key is used by naming it mcp_auth_default:
mcp_auth_default in your personal account, that key will be used for the auth flow.mcp_auth_default, that key will be used for the auth flow.mcp_auth_default, the personal key will be prioritized.mcp_auth_default key is set, the default key in your personal account will be used. If no default key is set, the first available key will be used.Before you begin, ensure you have:
node --versionbrew install gitsudo apt install gitsudo yum install gitYou can set default parameter values for the tavily-search tool using the DEFAULT_PARAMETERS environment variable. This allows you to configure default search behavior without specifying these parameters in every request.
You can optionally identify the end user on whose behalf requests are being made by setting the TAVILY_HUMAN_ID environment variable. When set, Tavily MCP forwards it as the X-Human-Id header on every API call, enabling per-user analytics.
This is entirely optional β leave it unset and behavior is unchanged.
Privacy note: Tavily hashes human_id server-side (SHA-256) before storage, so the raw value is never persisted. Even so, prefer opaque identifiers (e.g. an internal user ID) over raw PII like emails when possible.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/tavily-mcp)<a href="https://allmcps.com/mcp/tavily-mcp"><img src="https://allmcps.com/api/badge/tavily-mcp?style=directory" alt="Tavily MCP on AllMCPs" /></a>