tavily-search
- Search
Tavily AI search API
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
search | Search the web using Tavily API |
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
TAVILY_API_KEY | Yes | Your Tavily API key | |
PYTHONIOENCODING | No | Encoding setting for Python I/O | utf-8 |
tavily-search MCP server
A MCP server project
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)
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:
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:
GitHub Badge
Glama performs regular codebase and documentation scans to:
- Confirm that the MCP server is working as expected.
- Confirm that there are no obvious security issues with dependencies of the server.
- Extract server characteristics such as tools, resources, prompts, and required parameters.
Our directory badge helps users to quickly asses that the MCP server is safe, server capabilities, and instructions for installing the server.
Copy the following code to your README.md file: