使用说明
Exa MCP服务器
用于人工智能网络搜索、代码搜索和研究工具的远程MCP服务器。Exa提供实时网络搜索功能,具有干净、即用的内容提取功能。
设置
使用工具CLI
从安装CLIhttps://github.com/zerocore-ai/tool-cli
# Install from tool.store
tool install library/exa
# Configure your API key
tool config set library/exa api_key=YOUR_EXA_API_KEY
# View available tools
tool info library/exa
# Search the web
tool call library/exa -m web_search_exa -p query="latest AI developments"
# Find code examples
tool call library/exa -m get_code_context_exa -p query="React hooks best practices"
# Research a company
tool call library/exa -m company_research_exa -p companyName="OpenAI"
认证
Exa MCP使用API密钥验证。从获取API密钥https://dashboard.exa.ai/api-keys
连接端点:
- HTTP:
https://mcp.exa.ai/mcp
工具
web_search_exa
在网上搜索任何主题,获得干净、现成的内容。
输入:
| 字段 | 类型 | 必填 | 描述 |
|---|---|---|---|
query |
string | 是 | 网络搜索查询 |
numResults |
number | 否 | 要返回的搜索结果数(默认值:10) |
livecrawl |
string | 否 | 实时爬网模式-“回退”、“始终”或“从不” |
type |
string | 否 | 搜索类型-“auto”(默认)或“fast” |
contextMaxCharacters |
number | No | 针对LLM优化的上下文字符串的最大字符数 |
company_research_exa
研究任何公司以获取商业信息、新闻和见解。
输入:
| 字段 | 类型 | 必填 | 描述 |
|---|---|---|---|
companyName |
string | 是 | 要研究的公司名称 |
numResults |
number | 否 | 要返回的搜索结果数(默认值:10) |
get_code_context_exa
从GitHub、Stack Overflow和文档中查找代码示例、文档和编程解决方案。
输入:
| 字段 | 类型 | 必填 | 描述 |
|---|---|---|---|
query |
string | 是 | 搜索查询以查找API、库和框架的相关上下文 |
tokensNum |
number | 否 | 要返回的令牌数(1000-50000,默认值:10000) |
提示
web_search_help
使用Exa获取网络搜索帮助。
code_search_help
获取查找代码示例和文档的帮助。
资源
exa://tools/list
可用Exa工具列表及其说明。
许可证
阿帕奇-2.0
参考文献
- https://exa.ai
- https://exa.ai/docs/reference/exa-mcp
- https://github.com/exa-labs/exa-mcp-server
