Tavily MCP Server 是官方的吗?
是的。它由 Tavily 在 tavily-ai/tavily-mcp 仓库中开发和维护,Tavily 自己的文档中也有介绍。
@tavily-ai
基本信息
可用于生产环境的 MCP 服务器,提供实时搜索、提取、站点地图和爬取功能。
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"tavily-mcp": {
"command": "npx",
"args": [
"-y",
"tavily-mcp"
],
"env": {
"TAVILY_API_KEY": "your-api-key-here"
},
"disabled": false,
"autoApprove": []
}
}
}Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.
Extract content from URLs. Returns raw page content in markdown or text format.
Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.
Map a website's structure. Returns a list of URLs found starting from the base URL.
Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings. Rate limit: 20 requests per minute.
Tavily MCP Server 是 Tavily 官方的 MCP 集成。它通过 Tavily API 为 AI 助手提供实时网页搜索、网页内容提取、站点地图、爬取和多来源研究。你可以直接使用托管的远程服务器,也可以用 npx 在本地运行。
该项目由 Tavily 维护(tavily-ai/tavily-mcp,MIT 许可证),支持 Claude Code、Claude Desktop、Cursor 以及其他任何 MCP 客户端。托管端点支持三种认证方式:在 URL 中带 API key、使用 Bearer 请求头,或通过 OAuth 登录。
你需要先在 app.tavily.com 获取 Tavily API key。Tavily 提供免费账户,其文档说明免费 key 每月含 1,000 credits,无需信用卡。key 以 tvly- 开头。如果使用本地服务器,还需要 Node.js 20 或更高版本。
远程(托管)URL,无需安装:
https://mcp.tavily.com/mcp/?tavilyApiKey=<your-api-key>
如果客户端支持自定义请求头,可以不把 key 放在 URL 里,改为发送 Authorization: Bearer <your-api-key>。也可以不带 key 连接 https://mcp.tavily.com/mcp,再通过 OAuth 登录。
本地(stdio):
npx -y tavily-mcp@latest
运行前需在环境变量中设置 TAVILY_API_KEY。
在 URL 中带上 API key,添加托管的 Tavily MCP 服务器:
claude mcp add --transport http tavily https://mcp.tavily.com/mcp/?tavilyApiKey=<your-api-key>
也可以不带 key 添加,改用 OAuth:
claude mcp add --transport http tavily https://mcp.tavily.com/mcp
然后运行 claude,输入 /mcp,选中 Tavily 服务器完成登录。在任一命令中加上 --scope user,即可在所有项目中使用。
在 claude_desktop_config.json 中添加本地服务器(macOS 位于 ~/Library/Application Support/Claude/,Windows 位于 %APPDATA%\Claude\):
{
"mcpServers": {
"tavily-mcp": {
"command": "npx",
"args": ["-y", "tavily-mcp@latest"],
"env": {
"TAVILY_API_KEY": "your-api-key-here"
}
}
}
}
Tavily 文档还介绍了另一种方式:在 Claude Desktop 设置中把远程 URL 添加为 integration。
点击 README 中的“Add to Cursor”按钮,或在 mcp.json 中加入以下配置并替换 key:
{
"mcpServers": {
"tavily-remote-mcp": {
"command": "npx -y mcp-remote https://mcp.tavily.com/mcp/?tavilyApiKey=<your-api-key>",
"env": {}
}
}
}
如需改用 OAuth,把命令换成 npx mcp-remote https://mcp.tavily.com/mcp。
只支持本地 stdio 服务器的客户端,可以通过 mcp-remote 桥接连接托管服务器:
{
"tavily-remote": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.tavily.com/mcp/?tavilyApiKey=<your-api-key>"]
}
}
默认参数:本地运行时设置环境变量 DEFAULT_PARAMETERS,使用远程服务器时发送 DEFAULT_PARAMETERS 请求头,内容为 JSON,例如 {"include_images": true, "max_results": 15, "search_depth": "advanced"}。
tavily-mcp 发布在 npm 上。mcp.tavily.com,无需本地安装。basic、advanced、fast、ultra-fast)、主题(general 或 news)、时间范围、起止日期,以及要包含或排除的域名。DEFAULT_PARAMETERS 一次性设置搜索默认值;可选的 TAVILY_HUMAN_ID 会转发终端用户 ID 用于分析,Tavily 会在存储前对该 ID 做哈希处理。工具分为三组:
tavily_search 执行实时网页搜索,返回摘要和来源 URL,适合查询新闻、近期事件以及模型训练截止日期之后的事实。tavily_extract 返回一个或多个 URL 的内容;tavily_map 从基础 URL 出发,列出站点中发现的 URL;tavily_crawl 从起始 URL 开始浏览站点,并提取所访问页面的内容。tavily_research 针对较宽泛的问题从多个来源收集信息,返回详细回答。其工具说明中的速率限制为每分钟 20 次请求。社区中还有多个 “Tavily MCP” 分支;本页面对应的是 tavily-ai 官方仓库。
node --version 和 npm --version,确认 Node.js 版本不低于 20,并检查配置文件的 JSON 语法是否有误。which npx,把 npx 的完整路径填入 command 字段。tvly- 开头,且在 Tavily 控制台中处于有效状态。可以在 Tavily Playground 中测试。rm -rf ~/.mcp-auth 清除已保存的凭据,然后重新登录。如需指定 OAuth 使用哪个 key,在 Tavily 账户中把它命名为 mcp_auth_default。tavily-search 和 tavily-extract;当前版本的 tavily_search、tavily_extract 等工具均使用下划线。是的。它由 Tavily 在 tavily-ai/tavily-mcp 仓库中开发和维护,Tavily 自己的文档中也有介绍。
服务器本身以 MIT 许可证开源。工具调用会消耗你的 Tavily API credits;Tavily 文档说明免费 API key 每月含 1,000 credits,无需信用卡。用量更高时需要付费套餐。
需要从 app.tavily.com 获取的 Tavily API key(以 `tvly-` 开头)。本地运行时设为 `TAVILY_API_KEY`;使用远程服务器时,可通过 `?tavilyApiKey=`、Bearer 请求头或 OAuth 传入。
托管端点是 `https://mcp.tavily.com/mcp/`。可以加上 `?tavilyApiKey=<your-api-key>`,也可以不带 key 连接,再通过 OAuth 登录。
支持。Claude Code 使用 `claude mcp add --transport http` 连接;Cursor 可在 `mcp.json` 中通过 `mcp-remote` 连接,或使用 Add to Cursor 按钮。它同样适用于 Claude Desktop 和其他 MCP 客户端。
远程服务器无需安装,并支持 OAuth;本地 npx 包在你的机器上通过 stdio 运行,从环境变量读取 key。两者提供相同的工具。
URL 中的 key 属于凭据,含有它的配置文件不要提交到版本控制。客户端支持时,优先使用 OAuth 或 `Authorization: Bearer` 请求头。

Sorank connects Google Search Console, PageSpeed Insights, and AI citability scoring to your assistant, so it can diagnose why a page underperforms and tell you exactly what to change. Sorank gives your AI assistant dir
Give Claude, Cursor or any MCP agent a real Singapore mobile IP. Fetch pages, run Singapore-localised Google searches and check geo-locked content through physical Singtel and M1 SIMs, with IP rotation on demand. Hosted
Live flight, hotel and seat prices for AI assistants. Search fares and hotel rates, find the cheapest days on a calendar, check open seats on a flight, and set price-drop, seat and bucket-list alerts.

Web scraping MCP server for AI agents: scrape any page to clean Markdown, SERP search (Google, Bing, DuckDuckGo), site crawl and map, 74 ready-made collectors and residential proxies. 25 tools, pay per success.

Search Europe's road freight carriers from your AI assistant: find carriers by route, equipment and certificates among 15,700+ checked carriers in 32 countries, in 14 languages. Read-only, no account needed for searching
评论