MCP.so
登录

Exa MCP Server

@exa-labs

基本信息

分类

搜索

许可证

MIT

传输方式

stdio

作者

exa-labs

关于 Exa MCP Server

用于网页搜索和网页爬取的 Exa MCP!

Exa MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "exa": {
      "url": "https://mcp.exa.ai/mcp"
    }
  }
}

Exa MCP Server 工具

2

Search the web for any topic and get clean, ready-to-use content. Best for: Finding current information, news, facts, people, companies, or answering questions about any topic. Returns: Clean text content from top search results. Query tips: describe the ideal page, not keywords. "blog post comparing React and Vue performance" not "React vs Vue". Use category:people / category:company to search through Linkedin profiles / companies respectively. If highlights are insufficient, follow up with web_fetch_exa on the best URLs.

Read a webpage's full content as clean markdown. Use after web_search_exa when highlights are insufficient or to read any URL. Best for: Extracting full content from known URLs. Batch multiple URLs in one call. Returns: Clean text content and metadata from the page(s).

概览

什么是 Exa MCP Server?

Exa MCP 是 Exa 官方的 Model Context Protocol 服务器,通过托管端点 https://mcp.exa.ai/mcp 将 AI 智能体连接到 Exa 的网页搜索、页面抓取和多步骤研究能力,无需本地安装。

它由 Exa Labs 在 exa-labs/exa-mcp-server 仓库中维护。托管服务器可以匿名使用,但有速率限制;通过 OAuth 登录或添加 Exa API 密钥可以提高限额并解锁 Exa Agent。对于无法连接远程服务器的客户端,仍可使用本地 npm 包 exa-mcp-server。

如何使用 Exa MCP Server?

对大多数客户端来说,只需要服务器 URL。起步阶段不需要密钥;需要更高限额时,再到 https://dashboard.exa.ai/api-keys 获取。

Claude Code

从 Claude 插件市场安装:

claude plugin install exa@claude-plugins-official

也可以在 Claude Code 中输入 /plugin 并搜索 Exa。如果只想添加 MCP 服务器,使用托管 URL:

claude mcp add --transport http exa https://mcp.exa.ai/mcp

Claude Desktop

从 Claude 的连接器目录中添加 Exa,然后连接并授权。文档给出的路径是 +(或 Add connectors)> Connectors 标签 > 搜索 Exa > +。

Cursor

从 Cursor 市场安装,或在 ~/.cursor/mcp.json 中添加:

{
  "mcpServers": {
    "exa": {
      "url": "https://mcp.exa.ai/mcp"
    }
  }
}

VS Code

使用一键安装,或在 .vscode/mcp.json 中添加:

{
  "servers": {
    "exa": {
      "type": "http",
      "url": "https://mcp.exa.ai/mcp"
    }
  }
}

Codex

codex mcp add exa --url https://mcp.exa.ai/mcp

Windsurf 及其他客户端

将客户端指向 https://mcp.exa.ai/mcp。Windsurf 需要添加到 ~/.codeium/windsurf/mcp_config.json。README 还列出了 Gemini CLI、OpenCode、Zed、Kiro、LM Studio、Warp、Google Antigravity、Replit 和 v0。

本地包

如果客户端不支持远程 MCP 服务器,可使用你的密钥运行 npm 包:

{
  "mcpServers": {
    "exa": {
      "command": "npx",
      "args": ["-y", "exa-mcp-server"],
      "env": {
        "EXA_API_KEY": "your_api_key"
      }
    }
  }
}

Exa MCP Server 的主要功能

  • 托管的 Streamable HTTP 端点:无需安装,可在限流条件下匿名使用
  • 网页搜索直接返回干净、可用的页面内容,而不只是链接
  • 一次调用即可将一个或多个 URL 的完整页面抓取为 Markdown
  • 可选的高级搜索,支持域名过滤、日期范围、高亮、摘要和子页面爬取
  • Exa Agent 支持多步骤研究、名单整理、数据补全和结构化输出
  • 支持 OAuth 登录,或通过 URL 参数、Authorization: Bearer 或 x-api-key 请求头传入 API 密钥
  • 作为 Claude 插件或 Agent Plugin 安装时,附带 Agent Skills(search、exa-agent)

Exa MCP Server 工具

默认情况下,服务器提供两个工具:

  • web_search_exa: 搜索网页并返回排名靠前结果的干净内容。Exa 建议描述理想的页面,而不是只输入关键词;使用 category:people 或 category:company 可以把结果限定为个人资料或公司。
  • web_fetch_exa: 将已知 URL 的完整内容读取为 Markdown,并可在一次调用中批量处理多个 URL。

另外还有两个工具可用:

  • web_search_advanced_exa: 需手动启用的高级搜索,支持域名、日期、高亮、摘要和子页面爬取等过滤。
  • agent_run: 运行 Exa Agent,进行多步骤研究并输出结构化结果。需要 OAuth 或 API 密钥。

通过 URL 参数 tools 选择工具,例如 https://mcp.exa.ai/mcp?tools=web_search_exa,web_fetch_exa,agent_run。显式列表会替换默认工具,因此请列出所有你需要的工具。

Exa MCP Server 的使用场景

  • 在编程会话中获取最新信息:“Search for the latest release notes of React and summarize breaking changes.”
  • 阅读已知来源:“Fetch these three URLs and compare their recommendations.”
  • 公司与人物调研:“Find companies building vector databases in Europe using category:company.”
  • 使用高级工具进行过滤调研:“Find articles from the last 30 days on example.com about pricing changes.”
  • 使用 Exa Agent 整理名单和补全数据:“Build a table of 20 open-source observability tools with license and GitHub stars.”

Exa MCP Server 与替代方案对比

Tavily MCP 是另一款面向智能体的搜索 API,同样采用先搜索再提取的流程。如果你需要爬取整站、与页面交互或从已知页面提取结构化数据,Firecrawl MCP Server 更有优势。如果你想要免安装、带匿名免费额度的托管搜索与抓取,Exa search MCP 服务器是最简单的选择。

Exa MCP Server 常见问题排查

  • 出现 429 限流错误: 你正在使用 Exa 的匿名免费限额。通过 OAuth 登录或添加自己的 API 密钥,请求就会改用你团队的套餐与限额。
  • Exa Agent 不见了或要求认证: agent_run 需要 OAuth 或 API 密钥。如需强制进入登录流程,使用 https://mcp.exa.ai/mcp?login 或 https://mcp.exa.ai/mcp/oauth。
  • 预期的工具没有出现: 显式的 tools 参数会替换默认列表。如果仍需要 web_search_exa 和 web_fetch_exa,请把它们加回去。
  • Claude Desktop 无法连接: 使用连接器目录中的官方连接器,而不是在配置文件中添加条目。
  • 找不到配置文件: macOS 上 Claude Desktop 的文件是 ~/Library/Application Support/Claude/claude_desktop_config.json;Windows 上是 %APPDATA%\Claude\claude_desktop_config.json。

常见问题

1

Exa MCP 是官方的吗?

是的。它由 Exa Labs 开发和维护,`exa.ai/docs/reference/exa-mcp` 上的文档介绍了这个托管服务器。

2

Exa MCP 服务器免费吗?

托管服务器无需 API 密钥或登录即可使用,但有速率限制。文档表示新账号会获得免费额度;超出后按你的 Exa 套餐计费。

3

需要 Exa API 密钥吗?

起步时不需要。若要更高限额或使用 Exa Agent,需要 OAuth 登录或从 `https://dashboard.exa.ai/api-keys` 获取的 API 密钥。密钥可以通过 `?exaApiKey=`、`Authorization: Bearer` 请求头或 `x-api-key` 请求头传入。

4

Exa MCP 支持 Claude Code、Cursor 和 VS Code 吗?

支持。Claude Code 可以安装 Exa 插件或添加托管 URL,Cursor 和 VS Code 提供一键安装,Codex 使用 `codex mcp add exa --url https://mcp.exa.ai/mcp`。

5

应该用远程服务器还是本地 npm 包?

只要客户端支持远程 MCP 服务器,就使用托管 URL。带 `EXA_API_KEY` 的 `exa-mcp-server` npm 包适用于只能启动本地 stdio 服务器的客户端。

6

如何启用高级搜索?

通过 `tools` 参数添加,例如 `https://mcp.exa.ai/mcp?tools=web_search_advanced_exa`。注意这会替换默认工具。

7

Exa search MCP 和 Exa Agent 有什么区别?

搜索工具在一次调用中返回结果。Exa Agent 通过 `agent_run` 处理多步骤研究、名单整理和结构化输出,并且需要认证。

评论

搜索 分类下的更多 MCP 服务器