Skip to main content
Glama

MCP2Tavily

MCP2Tavily

Un servidor de protocolo MCP que implementa la funcionalidad de búsqueda web utilizando la API de Tavily.

Prerrequisitos

  • Python 3.11+
  • Gestor de paquetes UV
  • Clave API de Tavily

Instalación

  1. Clonar el repositorio
git clone <repository-url> cd mcp2tavily
  1. Crear y editar el archivo .env
# Create .env file touch .env # Add your Tavily API key to .env echo "TAVILY_API_KEY=your_api_key_here" > .env
  1. Configurar entorno virtual con UV
# Create and activate virtual environment uv venv source .venv/bin/activate # On Windows use: .venv\Scripts\activate
  1. Instalar dependencias
uv sync

Uso

Instalar como extensión de Claude

fastmcp install mcp2tavily.py

Modo de desarrollo con MCP Inspector

Para probar la funcionalidad usando MCP Inspector:

fastmcp dev mcp2tavily.py

Una vez en ejecución, puede acceder al Inspector MCP en: http://localhost:5173

Herramientas disponibles

  • search_web(query: str) : busca en la web usando la API de Tavily
  • search_web_info(query: str) : Igual que el anterior, con descripción en chino

Variables de entorno

  • TAVILY_API_KEY : Su clave API de Tavily (obligatoria)

Guía paso a paso

手动添加Cline Continuar Claude

Cline Continue Claude MCP Archivo 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密钥" } }

Cline

配置

Cline

配置

Cline

配置

EJEMPLO

El hombre que se despierta

You must be authenticated.

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.

Un servidor de protocolo MCP que habilita la funcionalidad de búsqueda web mediante la API de Tavily, lo que permite a los asistentes de IA realizar búsquedas en Internet en tiempo real.

  1. Prerrequisitos
    1. Instalación
      1. Uso
        1. Instalar como extensión de Claude
        2. Modo de desarrollo con MCP Inspector
      2. Herramientas disponibles
        1. Variables de entorno
          1. Guía paso a paso
            1. 手动添加Cline Continuar Claude
              1. Cline
              2. Cline
              3. Cline
              4. EJEMPLO

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
              Last updated -
              1
              1,930
              1,674
              TypeScript
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              A headless browser MCP server that allows AI agents to fetch web content and perform Google searches without API keys, supporting various output formats like Markdown, JSON, HTML, and text.
              Last updated -
              2
              4
              TypeScript
              MIT License
            • -
              security
              F
              license
              -
              quality
              An MCP server that integrates real-time web search capabilities into AI assistants using the Exa API, providing both basic and advanced search functionality with formatted markdown results.
              Last updated -
              119
              Python
              • Linux
              • Apple
            • -
              security
              F
              license
              -
              quality
              An MCP server that connects AI assistants to SearchAgora, enabling users to search for, discover, and purchase products across the web through natural language conversations.
              Last updated -
              1
              Python
              • Apple

            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