介绍
# Exa Web Search (Free)
面向网页、代码和公司研究的神经搜索。无需 API Key。
## 设置
验证 mcporter 是否已配置: ```bash mcporter list exa ```
如果未列出: ```bash mcporter config add exa https://mcp.exa.ai/mcp ```
## 核心工具
### web_search_exa
在网络上搜索最新资讯、新闻或事实。
```bash mcporter call 'exa.web_search_exa(query: "latest AI news 2026", numResults: 5)' ```
**参数:** - `query` - 搜索查询 - `numResults` (可选,默认值: 8) - `type` (可选) - `"auto"`、`"fast"` 或 `"deep"`
### get_code_context_exa
从 GitHub 和 Stack Overflow 查找代码示例和文档。
```bash mcporter call 'exa.get_code_context_exa(query: "React hooks examples", tokensNum: 3000)' ```
**参数:** - `query` - 代码/API 搜索查询 - `tokensNum` (可选,默认值: 5000) - 范围: 1000-50000
### company_research_exa
研究公司的业务信息和新闻。
```bash mcporter call 'exa.company_research_exa(companyName: "Anthropic", numResults: 3)' ```
**参数:** - `companyName` - 公司名称 - `numResults` (可选,默认值: 5)
## 高级工具 (可选)
通过更新配置 URL,可使用六个额外的工具: - `web_search_advanced_exa` - 域名/日期筛选 - `deep_search_exa` - 查询扩展 - `crawling_exa` - 全页提取 - `people_search_exa` - 专业档案 - `deep_researcher_start/check` - AI 研究代理
**启用所有工具:** ```bash mcporter config add exa-full "https://mcp.exa.ai/mcp?tools=web_search_exa,web_search_advanced_exa,get_code_context_exa,deep_search_exa,crawling_exa,company_research_exa,people_search_exa,deep_researcher_start,deep_researcher_check"
# Then use: mcporter call 'exa-full.deep_search_exa(query: "AI safety research")' ```
## 提示
- 网页搜索:使用 `type: "fast"` 进行快速查找,使用 `"deep"` 进行深度研究 - 代码搜索:降低 `tokensNum` (1000-2000) 以获取更聚焦的结果,提高 (5000+) 以获取全面的内容 - 查看 [examples.md](references/examples.md) 了解更多模式
## 资源
- [GitHub](https://github.com/exa-labs/exa-mcp-server) - [npm](https://www.npmjs.com/package/exa-mcp-server) - [文档](https://exa.ai/docs)