Skip to main content
Glama

mcp-exa

MCP server to give client the ability to connect to Exa

Setup

cp .env.example .env   # then fill in EXA_API_KEY
uv sync

The server starts without a key; tools return a setup error until EXA_API_KEY is set.

Register it in an MCP client (e.g. Claude Desktop):

{
  "mcpServers": {
    "exa": {
      "command": "uv",
      "args": ["--directory", "/path/to/mcp-exa", "run", "main.py"]
    }
  }
}

Related MCP server: mcp-exa

Tools

  • exa_search: web search with highlights or full text; filters for category (company, news, publication, people, ...), domains, and published-date range

  • exa_get_contents: read known URLs, optionally only the passages relevant to a query

  • exa_deep_search: multi-step search that synthesizes a cited answer, as text or shaped by a JSON Schema (output_schema)

  • exa_research_start / exa_research_get: Exa's research agent for lists and reports. Runs take minutes, so start returns a run_id and get waits up to 50 seconds per call

Cost

The free tier gives $10 of credits per month. Every response includes cost_dollars. Roughly: instant search $4/1k, auto/fast $7/1k (+$1/1k per result above 10), deep search $12–15/1k, contents $1/1k pages; research runs cost the most. To keep one call from draining the budget, the server caps results at 25, URLs at 10 per call, and research effort at medium.

Available Tools

5 tools
exa_get_contentsA
Read the content of known web pages through Exa (handles JS-heavy and blocked sites).

Args:
    urls: Page URLs to read (max 10)
    highlight_query: Optional; return only the passages relevant to this query
        instead of the full text (e.g., "IEEE papers")
    max_characters: Max characters of text per page when no highlight_query (default: 5000)

Inputs: urls (required), max_characters, highlight_query. Returns: result

exa_research_getA
Get the status and result of a research run started with exa_research_start.

Args:
    run_id: The run_id returned by exa_research_start
    wait_seconds: Wait up to this long for the run to finish before returning (0-50, default: 30)

Inputs: run_id (required), wait_seconds. Returns: result

exa_research_startA
Start an Exa research agent for open-ended tasks (building lists, analyzing a topic
across many sources). Runs take minutes, so this returns a run_id right away;
fetch the result with exa_research_get. This is the most expensive Exa tool.

Args:
    query: The research task (e.g., "Find 10 AI consultant companies in Indonesia")
    output_schema: Optional JSON Schema for a structured result; without it the result is a report
    effort: "minimal", "low" (default), "medium" or "auto"

Inputs: query (required), effort, output_schema. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 5 tools

    Disambiguation4/5

    exa_search, exa_deep_search, and exa_research_start all perform search-like operations, so there is some conceptual overlap. However, the descriptions clearly differentiate them: ranked results vs. synthesized answer with citations vs. long-running research agent, which helps an agent choose correctly.

    Naming Consistency4/5

    All tools use a consistent exa_ prefix and snake_case. Minor deviation: exa_search and exa_deep_search are noun-style while exa_get_contents, exa_research_start, and exa_research_get follow verb_noun, but the pattern remains readable and predictable.

    Tool Count5/5

    Five tools is well-scoped for a web search and research server, with each tool earning its place (search, read, synthesize, async start, async poll). No redundancy or padding.

    Completeness4/5

    The surface covers the full search lifecycle: ranked search, page reading, synthesized answers, and async research with status polling. Minor gap: no find-similar/lookup-by-URL tool that Exa typically offers, but core workflows are covered.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Connects AI assistants to Exa AI's search capabilities for web search, code context retrieval from GitHub repos and documentation, company research, LinkedIn search, and deep research tasks.
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Exposes the Exa web search API as an MCP server, providing tools for web searching, content retrieval, and similar page discovery. It also supports advanced features like AI-generated answers and automated research task management.
      9
      MIT