Назад к каталогу
tavily-mcp

tavily-mcp

Сообщество

от tavily-ai

0.0
0 отзывов

Production ready MCP server with real-time search, extract, map & crawl.

Установка

## Local MCP

Описание

# ![Tavily Crawl Beta](./assets/Banner_NEW.png) ![GitHub Repo stars](https://img.shields.io/github/stars/tavily-ai/tavily-mcp?style=social) ![npm](https://img.shields.io/npm/dt/tavily-mcp) ![smithery badge](https://smithery.ai/badge/@tavily-ai/tavily-mcp) ![MCP demo](./assets/demo_new.gif) The Tavily MCP server provides: - search, extract, map, crawl tools - Real-time web search capabilities through the tavily-search tool - Intelligent data extraction from web pages via the tavily-extract tool - Powerful web mapping tool that creates a structured map of website - Web crawler that systematically explores websites ### 📚 Helpful Resources - [Tutorial](https://medium.com/@dustin_36183/building-a-knowledge-graph-assistant-combining-tavily-and-neo4j-mcp-servers-with-claude-db92de075df9) on combining Tavily MCP with Neo4j MCP server - [Tutorial](https://medium.com/@dustin_36183/connect-your-coding-assistant-to-the-web-integrating-tavily-mcp-with-cline-in-vs-code-5f923a4983d1) on integrating Tavily MCP with Cline in VS Code ## Remote MCP Server Connect directly to Tavily's remote MCP server instead of running it locally. This provides a seamless experience without requiring local installation or configuration. Simply use the remote MCP server URL with your Tavily API key: ``` https://mcp.tavily.com/mcp/?tavilyApiKey=<your-api-key> ``` Get your Tavily API key from [tavily.com](https://www.tavily.com/). Alternatively, you can pass your API key through an Authorization header if the MCP client supports this: ``` Authorization: Bearer <your-api-key> ``` ### Connect to Cursor [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=tavily-remote-mcp&config=eyJjb21tYW5kIjoibnB4IC15IG1jcC1yZW1vdGUgaHR0cHM6Ly9tY3AudGF2aWx5LmNvbS9tY3AvP3RhdmlseUFwaUtleT08eW91ci1hcGkta2V5PiIsImVudiI6e319) Click the ⬆️ Add to Cursor ⬆️ button, this will do most of the work for you but you will still need to edit the configuration to add your API-KEY. You can get a Tavily API key [here](https://www.tavily.com/). once you click the button you should be redirect to Cursor ... ### Step 1 Click the install button ![](assets/cursor-step1.png) ### Step 2 You should see the MCP is now installed, if the blue slide is not already turned on, manually turn it on. You also need to edit the configuration to include your own Tavily API key. ![](assets/cursor-step2.png) ### Step 3 You will then be redirected to your `mcp.json` file where you have to add `your-api-key`. ```json { "mcpServers": { "tavily-remote-mcp": { "command": "npx -y mcp-remote https://mcp.tavily.com/mcp/?tavilyApiKey=<your-api-key>", "env": {} } } } ``` ### Connect to Claude Desktop Claude desktop now supports adding `integrations` which is currently in beta. An integration in this case is the Tavily Remote MCP, below I will explain how to add the MCP as an `integration` in Claude desktop. ### Step 1 open claude desktop, click the button with the two sliders and then navigate to add integrations. ![](assets/claude-step1.png) ### Step 2 click `Add integrations` ![](assets/claude-step2.png) ### Step 3 Name the integration and insert the Tavily remote MCP url with your API key. You can get a Tavily API key [here](https://www.tavily.com/). Click `Add` to confirm. ![](assets/claude-step3.png) ### Step 4 Retrun to the chat screen and you will see the Tavily Remote MCP is now connected to Claude desktop. ![](assets/claude-step4.png) ### OpenAI Allow models to use remote MCP servers to perform tasks. - You first need to export your OPENAI_API_KEY - You must also add your Tavily API-key to `<your-api-key>`, you can get a Tavily API key [here](https://www.tavily.com/) ```python from openai import OpenAI client = OpenAI() resp = client.responses.create( model="gpt-4.1", tools=[ { "type": "mcp", "server_label": "tavily", "server_url": "https://mcp.tavily.com/mcp/?tavilyApiKey=<your-api-key>", "require_approval": "never", }, ], input="Do you have access to the tavily mcp server?", ) print(resp.output_text) ``` ### Clients that don't support remote MCPs mcp-remote is a lightweight bridge that lets MCP clients that can only talk to local (stdio) servers securely connect to remote MCP servers over HTTP + SSE with OAuth-based auth, so you can host and update your server in the cloud while existing clients keep working. It serves as an experimental stop-gap until popular MCP clients natively support remote, authorized servers. ```json { "tavily-remote": { "command": "npx", "args": [ "-y", "mcp-remote", "https://mcp.tavily.com/mcp/?tavilyApiKey=<your-api-key>" ] } } ``` ## Local MCP ### Prerequisites 🔧 Before you begin, ensure you have: - [Tavily API key](https://app.tavily.com/home) - If you don't have a Tavily API key, you can sign up for a free

Отзывы (0)

Пока нет отзывов. Будьте первым!