tavily-web-search
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TAVILY_DB_PATH | No | SQLite 数据库文件路径 | ~/.tavily/data.db |
| TAVILY_API_KEYS | No | 可选,启动时幂等导入的初始 Key(逗号/换行分隔) | |
| TAVILY_BASE_URL | No | Tavily 上游 REST API 地址 | https://api.tavily.com |
| TAVILY_PANEL_HOST | No | 面板监听地址(强烈建议保持回环地址) | 127.0.0.1 |
| TAVILY_PANEL_PORT | No | 面板监听端口(若被无关程序占用会自动顺延 8788~8797) | 8787 |
| TAVILY_MAX_FAILOVER | No | 单次调用最多尝试切换的不同 Key 数(1~20) | 5 |
| TAVILY_PANEL_ENABLED | No | stdio 模式下是否自动在后台挂载 Web 面板 | true |
| TAVILY_TIMEOUT_SECONDS | No | 单次常规请求超时秒数 | 30 |
| TAVILY_DEFAULT_MAX_CHARS | No | 网页提取/爬取正文默认最大返回字符数(>=500) | 16000 |
| TAVILY_RESEARCH_TIMEOUT_SECONDS | No | tavily_research 轮询总超时秒数 | 300 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Local Tavily Web Search MCP powered by a personal API key pool with automatic health-aware failover and quota tracking. Use tavily_search for real-time web search, tavily_extract for reading full webpages, tavily_crawl and tavily_map for site exploration, tavily_research for multi-source cited reports, and tavily_pool_status to inspect pool health and the local web dashboard URL.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| tavily_searchB | Search the web via Tavily Search API with automatic key pool failover. |
| tavily_extractC | Extract clean webpage content from one or more URLs via Tavily Extract API. |
| tavily_crawlB | Crawl a website starting from a root URL and return extracted Markdown pages. |
| tavily_mapC | Map a website's URL structure starting from a base URL. |
| tavily_researchB | Run multi-source Tavily Deep Research and return a cited report. |
| tavily_pool_statusA | Inspect local key pool health, remaining credits, and web panel URL (0 credits). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool maps to a distinct Tavily capability: search (query), extract (fetch content from known URLs), crawl (recursive fetch from a root), map (URL structure only), research (deep multi-source report), and pool status (diagnostics). The only mild risk is confusion between tavily_search and tavily_research, or crawl vs map, but the descriptions clearly signal different depths and outputs.
All tools share a consistent tavily_ prefix followed by a single action word, giving a predictable namespace. The one minor deviation is tavily_pool_status, which is a noun/status phrase rather than a verb like the other five.
Six tools is well-scoped for a web search/extraction API wrapper, and each corresponds to a meaningful capability rather than a redundant variant. No tool feels padded or missing at this count.
The surface covers the core Tavily endpoint family—search, extract, crawl, map, and deep research—plus diagnostics, giving a full research workflow. Minor gap: pool status is read-only, with no tool to add/rotate/remove keys or otherwise manage the pool despite failover being a stated feature.