exa-search
affaan-m/ECC
使用 Exa MCP 服务器搜索网络、代码、公司和人员,以获取最新信息和进行技术研究。
...展开全部Exa Search
易受变动影响的功能。Exa MCP 工具名称、参数及账户限制可能 发生变更。在依赖 特定的搜索模式、类别或实时爬取行为之前,请确认工具的公开功能范围及最新的 Exa 文档。
通过 Exa MCP 服务器对网页内容、代码、公司和人员进行神经网络搜索。
何时启用
- 用户需要最新的网络信息或新闻
- 搜索代码示例、API 文档或技术参考资料
- 调研公司、竞争对手或市场参与者
- 查找特定领域的专业人士或个人资料
- 为任何开发任务进行背景调研
- 用户说“搜索”、“查询”、“查找”或“最新情况如何”
MCP 需求
必须配置 Exa MCP 服务器。添加至 ~/.claude.json:
"exa-web-search": {
"command": "npx",
"args": ["-y", "exa-mcp-server"],
"env": { "EXA_API_KEY": "YOUR_EXA_API_KEY_HERE" }
}
在 exa.ai 获取 API 密钥。
此代码库的当前 Exa 配置记录了此处暴露的工具接口: web_search_exa 以及 get_code_context_exa。
如果您的 Exa 服务器还提供了其他工具,请在文档或提示中引用它们之前,先确认其确切名称。
核心工具
web_search_exa
用于搜索最新信息、新闻或事实的通用网络搜索。
web_search_exa(query: "latest AI developments 2026", numResults: 5)
参数:
| 参数 | 类型 | 默认值 | 备注 |
|---|---|---|---|
query |
字符串 | 必填 | 搜索查询 |
numResults |
数字 | 8 | 结果数量 |
type |
字符串 | auto |
搜索模式 |
livecrawl |
字符串 | fallback |
如有需要,优先采用实时抓取 |
category |
字符串 | 无 | 可选的关注点,例如 company 或 research paper |
get_code_context_exa
从 GitHub、Stack Overflow 和文档网站查找代码示例和文档。
get_code_context_exa(query: "Python asyncio patterns", tokensNum: 3000)
参数:
| Param | 类型 | 默认值 | 备注 |
|---|---|---|---|
query |
字符串 | 必填 | 代码或 API 搜索查询 |
tokensNum |
数字 | 5000 | 内容令牌 (1000-50000) |
使用模式
快速查询
web_search_exa(query: "Node.js 22 new features", numResults: 3)
代码研究
get_code_context_exa(query: "Rust error handling patterns Result type", tokensNum: 3000)
公司或人物研究
web_search_exa(query: "Vercel funding valuation 2026", numResults: 3, category: "company")
web_search_exa(query: "site:linkedin.com/in AI safety researchers Anthropic", numResults: 5)
技术深度解析
web_search_exa(query: "WebAssembly component model status and adoption", numResults: 5)
get_code_context_exa(query: "WebAssembly component model examples", tokensNum: 4000)
技巧
- 使用
web_search_exa获取最新信息、查询公司及广泛探索 - 使用搜索运算符,例如
site:、带引号的短语以及intitle:来缩小搜索范围 - 将
tokensNum(1000-2000) 获取重点代码片段,(5000+) 获取更全面的上下文 - 使用
get_code_context_exa当您需要API用法或代码示例,而非一般网页时
相关技能
deep-research— 结合使用 firecrawl 和 exa 完成完整的研究工作流market-research— 基于决策框架的业务导向型研究
---
name: exa-search
description: Search the web, code, companies, and people using the Exa MCP server for current information and technical research.
---
# Exa Search
> **Drift-prone skill.** Exa MCP tool names, parameters, and account limits can
> change. Confirm the exposed tool surface and current Exa docs before relying
> on a specific search mode, category, or livecrawl behavior.
Neural search for web content, code, companies, and people via the Exa MCP server.
## When to Activate
- User needs current web information or news
- Searching for code examples, API docs, or technical references
- Researching companies, competitors, or market players
- Finding professional profiles or people in a domain
- Running background research for any development task
- User says "search for", "look up", "find", or "what's the latest on"
## MCP Requirement
Exa MCP server must be configured. Add to `~/.claude.json`:
```json
"exa-web-search": {
"command": "npx",
"args": ["-y", "exa-mcp-server"],
"env": { "EXA_API_KEY": "YOUR_EXA_API_KEY_HERE" }
}
```
Get an API key at [exa.ai](https://exa.ai).
This repo's current Exa setup documents the tool surface exposed here: `web_search_exa` and `get_code_context_exa`.
If your Exa server exposes additional tools, verify their exact names before depending on them in docs or prompts.
## Core Tools
### web_search_exa
General web search for current information, news, or facts.
```
web_search_exa(query: "latest AI developments 2026", numResults: 5)
```
**Parameters:**
| Param | Type | Default | Notes |
|-------|------|---------|-------|
| `query` | string | required | Search query |
| `numResults` | number | 8 | Number of results |
| `type` | string | `auto` | Search mode |
| `livecrawl` | string | `fallback` | Prefer live crawling when needed |
| `category` | string | none | Optional focus such as `company` or `research paper` |
### get_code_context_exa
Find code examples and documentation from GitHub, Stack Overflow, and docs sites.
```
get_code_context_exa(query: "Python asyncio patterns", tokensNum: 3000)
```
**Parameters:**
| Param | Type | Default | Notes |
|-------|------|---------|-------|
| `query` | string | required | Code or API search query |
| `tokensNum` | number | 5000 | Content tokens (1000-50000) |
## Usage Patterns
### Quick Lookup
```
web_search_exa(query: "Node.js 22 new features", numResults: 3)
```
### Code Research
```
get_code_context_exa(query: "Rust error handling patterns Result type", tokensNum: 3000)
```
### Company or People Research
```
web_search_exa(query: "Vercel funding valuation 2026", numResults: 3, category: "company")
web_search_exa(query: "site:linkedin.com/in AI safety researchers Anthropic", numResults: 5)
```
### Technical Deep Dive
```
web_search_exa(query: "WebAssembly component model status and adoption", numResults: 5)
get_code_context_exa(query: "WebAssembly component model examples", tokensNum: 4000)
```
## Tips
- Use `web_search_exa` for current information, company lookups, and broad discovery
- Use search operators like `site:`, quoted phrases, and `intitle:` to narrow results
- Lower `tokensNum` (1000-2000) for focused code snippets, higher (5000+) for comprehensive context
- Use `get_code_context_exa` when you need API usage or code examples rather than general web pages
## Related Skills
- `deep-research` — Full research workflow using firecrawl + exa together
- `market-research` — Business-oriented research with decision frameworks
所有文件
1 个文件安装 exa-search
下载技能文件并将其解压到 .claude/skills/ 目录下。
下载ZIP克隆仓库并复制技能文件到您的项目中。
git clone https://github.com/affaan-m/ECC/tree/main/skills/exa-search # Copy SKILL.md to your .claude/skills/ directory
复制





首页
