Skip to main content
Glama
IamKavy47

Tavily Web Search MCP Server

by IamKavy47

MCP Server

This repository is a work in progress. It is not finished yet, so use it on your own risk and expect rough edges.

What it is

This project contains an MCP server prototype with a Tavily-powered web search tool.

Current code lives in:

  • src/config.py for environment loading and API key setup

  • src/tools/web_search.py for the web search MCP tool

Related MCP server: metasearch-mcp

Requirements

  • Python 3.10+

  • A valid TAVILY_API_KEY

Setup

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.

Run

The module currently runs successfully with:

uv run python -m src.tools.web_search

Direct execution with python src/tools/web_search.py is not the supported path right now.

Status

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.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for using various search tools like Tavily API. Planning to support various search tools (i.e. wiki search, searxng, etc)
    3
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    Enables web search capabilities through the Tavily API, allowing users to search the internet for information using natural language queries. Serves as a demonstration and educational project for building MCP servers with external API integrations.
    3
    -