MCP ExplorerExplorer

Mcp2tavily

@mcp2everythingon a year ago
2 MIT
FreeCommunity
AI Systems
"An MCP server that enables your Claude Cline and Langchain to implement network search functions."

Overview

What is Mcp2tavily

mcp2tavily is an MCP server that enables Claude Cline and Langchain to implement web search functionalities using the Tavily API.

Use cases

Use cases include integrating web search into AI applications, enabling chatbots to fetch real-time information, and enhancing user interactions with search capabilities.

How to use

To use mcp2tavily, clone the repository, set up the environment by creating a .env file with your Tavily API key, and install the necessary dependencies. You can then install it as a Claude extension or run it in development mode using MCP Inspector.

Key features

Key features include the ability to perform web searches using the Tavily API and the option to test functionalities with the MCP Inspector. It also supports environment variable configuration for API keys.

Where to use

mcp2tavily can be used in various fields that require web search capabilities, such as AI development, data retrieval, and enhancing chatbot functionalities.

Content

MCP2Tavily

A MCP protocol server that implements web search functionality using the Tavily API.

Prerequisites

  • Python 3.11+
  • UV package manager
  • Tavily API key

Installation

  1. Clone the repository
git clone <repository-url>
cd mcp2tavily
  1. Create and edit the .env file
# Create .env file
touch .env
# Add your Tavily API key to .env
echo "TAVILY_API_KEY=your_api_key_here" > .env
  1. Set up virtual environment with UV
# Create and activate virtual environment
uv venv
source .venv/bin/activate  # On Windows use: .venv\Scripts\activate
  1. Install dependencies
uv sync

Usage

Install as Claude extension

fastmcp install mcp2tavily.py

Development mode with MCP Inspector

To test the functionality using MCP Inspector:

fastmcp dev mcp2tavily.py

Once running, you can access the MCP Inspector at: http://localhost:5173

Available Tools

  • search_web(query: str): Search the web using Tavily API
  • search_web_info(query: str): Same as above, with Chinese description

Environment Variables

  • TAVILY_API_KEY: Your Tavily API key (required)

Step-by-Step Guide

手动添加Cline Continue Claude

Cline Continue Claude的MCP JSON FILE

Cline

配置

Cline

配置

Cline

配置

EXAMPLE

搜索示例

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers