This repository is a work in progress. It is not finished yet, so use it on your own risk and expect rough edges.
This project contains an MCP server prototype with a Tavily-powered web search tool.
Current code lives in:
src/config.pyfor environment loading and API key setupsrc/tools/web_search.pyfor the web search MCP tool
- Python 3.10+
- A valid
TAVILY_API_KEY
Install dependencies with your preferred Python environment manager, then set the API key:
export TAVILY_API_KEY="your_key_here"If you use a .env file, the project loads it through python-dotenv.
The module currently runs successfully with:
uv run python -m src.tools.web_searchDirect execution with python src/tools/web_search.py is not the supported path right now.
This is still in progress.
- The web search tool is experimental.
- The code is not production-ready.
- Use it carefully and test before relying on it.