MCP考试
公开Exa搜索功能的Python MCP服务器(不需要API密钥)
   
mcp名称:io.github.daedalus/mcp-exca
安装
pip install mcp-exa用法
不需要API密钥。服务器使用Exa的公共MCP端点。
运行MCP服务器:
mcp-exa或者用作模块:
python -m mcp_exa配置
可用工具
服务器公开了以下MCP工具:
| 工具 | 说明 |
|---|---|
web_search_exa | 在网上搜索任何主题 |
get_code_context_exa | 从GitHub、Stack Overflow查找代码示例 |
crawling_exa | 从特定URL获取完整内容 |
web_search_advanced_exa | 使用过滤器进行高级搜索 |
MCP客户端配置
克劳德桌面版
添加到您的配置文件中:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - 窗户:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"exa": {
"command": "mcp-exa"
}
}
}开源代码
添加到您的 opencode.json:
{
"mcp": {
"exa": {
"type": "stdio",
"command": "mcp-exa",
"enabled": true
}
}
}发展
git clone https://github.com/daedalus/mcp-exa.git
cd mcp-exa
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/