A Model Context Protocol (MCP) server that provides a web search tool using the Tavily API. This server enables AI models to search the internet and retrieve up-to-date information.
Overview
What is the Web Search MCP Server?
The Web Search MCP Server is a Model Context Protocol (MCP) server that utilizes the Tavily API to provide a web search tool, enabling AI models to search the internet and retrieve up-to-date information.
How to use the Web Search MCP Server?
To use the server, clone the repository, set up a virtual environment, install dependencies, configure your Tavily API key in a .env file, and run the server using the command uv run web_search_server.py.
Key features of the Web Search MCP Server?
- Real-time web search capabilities using the Tavily API.
- Customizable search parameters including search topic, depth, maximum results, and time range filtering.
Use cases of the Web Search MCP Server?
- Integrating real-time search capabilities into AI chatbots.
- Enabling AI models to access current information during conversations.
- Conducting research with customizable search parameters.
FAQ from the Web Search MCP Server?
- What programming language is required?
Python 3.13+ is required to run the server.
- Do I need an API key?
Yes, you need to sign up at tavily.com to obtain a Tavily API key.
- Can I customize the search parameters?
Yes, the server allows customization of search topics, depth, and other parameters.