Tavily Search MCP
Tavily Search MCP
Tavily Search MCP ist ein MCP-Dienst auf Basis von Streamable HTTP, der Tavilys Websuche und Webseiten-Inhaltsextraktion als MCP-Tools bereitstellt.
Funktionen
web_search: Führt eine Websuche basierend auf dem Suchbegriff durch.web_fetch: Extrahiert lesbaren Textinhalt von einer Webseiten-URL.
Related MCP server: tavily-mcp
Systemanforderungen
Python 3.11+
Tavily API Key
MCP-Client mit Unterstützung für
streamable_http
Installation
Erstelle und aktiviere zuerst deine eigene virtuelle Python-Umgebung und installiere dann die Abhängigkeiten und das aktuelle Projekt:
python -m pip install -r requirements.txt
python -m pip install -e .Kopiere die Vorlage für die Umgebungsvariablen:
cp .env.example .envFülle die Konfiguration in .env aus:
TAVILY_API_KEY=tvly-your-api-key
MCP_SERVER_HOST=127.0.0.1
MCP_SERVER_PORT=21029
MCP_SERVER_PATH=/mcp
MCP_ALLOWED_HOSTS=127.0.0.1,127.0.0.1:21029,localhost,localhost:21029
MCP_ALLOWED_ORIGINS=*Wenn du auf einem Server bereitstellst, setze MCP_SERVER_HOST auf 0.0.0.0 und füge deine öffentliche Domain oder den Zugriffshostnamen zu MCP_ALLOWED_HOSTS hinzu.
Dienst starten
python -m tavily_search_mcp.serverStandardmäßige lokale MCP-Adresse:
http://127.0.0.1:21029/mcpGesundheitscheck:
curl http://127.0.0.1:21029/healthTestclient
MCP-Tools auflisten:
python -m tavily_search_mcp.client --url http://127.0.0.1:21029/mcp list-toolsWebsuche aufrufen:
python -m tavily_search_mcp.client --url http://127.0.0.1:21029/mcp web-search "Tavily Python SDK" --max-results 2Webseiten-Inhaltsextraktion aufrufen:
python -m tavily_search_mcp.client --url http://127.0.0.1:21029/mcp web-fetch "https://docs.tavily.com/"MCP-Client-Konfiguration
Beispiel für lokalen Dienst:
{
"mcpServers": {
"tavily-search": {
"type": "streamable_http",
"url": "http://127.0.0.1:21029/mcp",
"headers": {}
}
}
}Beispiel für Remote-Dienst:
{
"mcpServers": {
"tavily-search": {
"type": "streamable_http",
"url": "https://your-domain.example/mcp",
"headers": {}
}
}
}Auf dem Server bereitstellen
Du kannst das Bereitstellungsskript im Repository verwenden, um den Dienst über deinen eigenen SSH-Key hochzuladen und zu starten:
.\scripts\deploy_remote.ps1 -HostName "your-server.example" -User "ubuntu" -IdentityFile "<path-to-private-key>"This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn 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.22
- AlicenseNot gradedqualityCmaintenanceA web search and extraction MCP server powered by Tavily, providing tools for AI-powered search, content extraction from URLs, and Q\&A with source citations.MIT
- FlicenseAqualityDmaintenanceMCP server that provides web search capabilities using the Tavily API.3
- AlicenseBqualityDmaintenanceMCP server providing search, extract, map, and crawl tools powered by Tavily for real-time web data access.414MIT
Related MCP Connectors
Serper MCP — wraps the Serper Google Search API (serper.dev)
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Hosted MCP with 91 agent tools: X, domains, SEO, Maps, Trends, Search, YouTube, TikTok, and more.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/whfzdxhst/TavilySearchMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server