tavily-search
tavily-search MCP server
A MCP server project
<a href="https://glama.ai/mcp/servers/s0hka6zney"><img width="380" height="200" src="https://glama.ai/mcp/servers/s0hka6zney/badge" alt="tavily-search MCP server" /></a>
Components
This server uses the Tavily API to perform searches based on specified queries.
- Search results are returned in text format.
- Search results include AI responses, URIs, and titles of the search results.
Tools
This server implements the following tools:
- search: Performs searches based on specified queries
- Required argument: "query"
- Optional argument: "search_depth" (basic or advanced)
Installing via Smithery
To install Tavily Search for Claude Desktop automatically via Smithery:
Install
- Download the repository.
- Open the Claude Desktop configuration file.
- Edit the configuration file as follows:
- Restart Claude Desktop.
Usage
In Claude Desktop, when you ask "Please search for something", you will receive search results.
Search example:
Response example:
Log Storage Location
Logs are stored in the following location:
For Windows:
Execution with Cursor
- Create a shell script (e.g.,
script.sh
) as shown below:
- Configure Cursor's MCP Server settings as follows:
- Save the settings.
- Once the settings are saved, you can ask Cursor's Composer-Agent to "search for something," and it will return the search results.
Running in Local Environment Using Docker Compose
Purpose
For operating systems other than Windows/MacOS where Claude Desktop cannot be used, this section explains how to set up and run an MCP server and client in a local environment using Docker compose.
Steps
- Install Docker.
- Download the repository.
- Run Docker compose.
- Execute the client.
- Execution Results
- After searching for available tools as shown below, a query will be issued to Tavily and a response will be returned: