Skip to main content
Glama

MCP Exa

一个公开 Exa 搜索功能的 Python MCP 服务器(无需 API 密钥)

PyPI Python Coverage Ruff

mcp-name: io.github.daedalus/mcp-exa

安装

pip install mcp-exa

Related MCP server: Swift Poe Search MCP

使用方法

无需 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 客户端配置

Claude Desktop

添加到您的配置文件中:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "exa": {
      "command": "mcp-exa"
    }
  }
}

OpenCode

添加到您的 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/

Available Tools

9 tools
answerB

Generate an answer to a query using Exa's search and LLM capabilities.

Inputs: query (required), text, system_prompt, model, +2 more. Returns: object

find_similarC

Find pages similar to a given URL using Exa.

Inputs: url (required), num_results, contents, include_domains, +10 more. Returns: object

get_contentsB

Retrieve contents for a list of URLs using Exa.

Inputs: urls (required). Returns: object

research_createB

Create a new research request using Exa.

Inputs: instructions (required), model, output_schema. Returns: object

research_getB

Get a research request by ID using Exa.

Inputs: research_id (required), events, output_schema. Returns: object

research_listC

List research requests using Exa.

Inputs: cursor, limit. Returns: object

research_poll_until_finishedA

Poll until research is finished using Exa.

Inputs: research_id (required), poll_interval, timeout_ms, events, +1 more. Returns: object

stream_answerC

Generate a streaming answer response using Exa.

Inputs: query (required), text, system_prompt, model, +2 more. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 9 tools

    Disambiguation3/5

    Most tools have clear boundaries (search, get_contents, find_similar, research_*), but answer and stream_answer are nearly identical except for streaming behavior, which could cause misselection. find_similar and search are related but distinct enough with descriptions.

    Naming Consistency3/5

    The research_* tools follow a consistent prefix pattern, but the rest mix bare verbs (search, answer), verb_noun (find_similar, get_contents, stream_answer), and a long descriptive phrase (research_poll_until_finished), creating an inconsistent feel.

    Tool Count4/5

    9 tools is a reasonable size for a search and research server, covering immediate searches, content retrieval, and async research workflows. Slightly more than strictly necessary due to answer/stream_answer duplication, but not excessive.

    Completeness4/5

    The core search, similar, content, answer, and research lifecycle (create, get, poll, list) are covered. A notable gap is the lack of a cancel/delete research operation, but most main workflows are complete.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers