Skip to main content
Glama

MCP2Tavily

MCP2タビリー

Tavily API を使用して Web 検索機能を実装する MCP プロトコル サーバー。

前提条件

  • Python 3.11以上
  • UV パッケージ マネージャー
  • Tavily APIキー

インストール

  1. リポジトリをクローンする
git clone <repository-url> cd mcp2tavily
  1. .envファイルを作成して編集する
# Create .env file touch .env # Add your Tavily API key to .env echo "TAVILY_API_KEY=your_api_key_here" > .env
  1. UVで仮想環境を構築する
# Create and activate virtual environment uv venv source .venv/bin/activate # On Windows use: .venv\Scripts\activate
  1. 依存関係をインストールする
uv sync

使用法

Claude拡張機能としてインストール

fastmcp install mcp2tavily.py

MCP Inspectorを使用した開発モード

MCP Inspector を使用して機能をテストするには:

fastmcp dev mcp2tavily.py

実行したら、次の URL で MCP Inspector にアクセスできます: http://localhost:5173

利用可能なツール

  • search_web(query: str) : Tavily APIを使ってウェブを検索する
  • search_web_info(query: str) : 上記と同じ、中国語の説明付き

環境変数

  • TAVILY_API_KEY : Tavily APIキー(必須)

ステップバイステップガイド

手作り添加クライン・コンティニュー・クロード

Cline Continue Claude の MCP JSON ファイル

"mcp2tavily": { "command": "uv", "args": [ "run", "--with", "fastmcp", "--with", "python-dotenv", "--with", "tavily-python", "fastmcp", "run", "C:\\Users\\你的真实路径\\mcp2tavily.py" ], "env": { "TAVILY_API_KEY": "API密钥" } }

クライン

配置

クライン

配置

クライン

配置

検索例

Deploy Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Tavily API を使用して Web 検索機能を有効にし、AI アシスタントがリアルタイムでインターネット検索を実行できるようにする MCP プロトコル サーバー。

  1. 前提条件
    1. インストール
      1. 使用法
        1. Claude拡張機能としてインストール
        2. MCP Inspectorを使用した開発モード
      2. 利用可能なツール
        1. 環境変数
          1. ステップバイステップガイド
            1. 手作り添加クライン・コンティニュー・クロード
              1. クライン
              2. クライン
              3. クライン

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              MCP server for using various search tools like Tavily API. Planning to support various search tools (i.e. wiki search, searxng, etc)
              Last updated -
              3
              MIT License
              • Apple
              • Linux
            • -
              security
              F
              license
              -
              quality
              An MCP server that enables web search and document retrieval capabilities through Tavily API and LangConnect vector database, supporting AI agents in gathering information for comprehensive report generation.
              Last updated -
              23
            • -
              security
              F
              license
              -
              quality
              Enables web search capabilities through the Tavily API, allowing users to search the internet for information using natural language queries. Demonstrates MCP server implementation with external API integration.
              Last updated -
            • -
              security
              F
              license
              -
              quality
              Enables web search capabilities through the Tavily API. Allows users to search the web for information using natural language queries via the MCP protocol.
              Last updated -
              1

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/mcp2everything/mcp2tavily'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server