Installation
Exa’s Search MCP can be installed in any MCP client with the server URL:https://mcp.exa.ai/mcp
Install in Cursor
Exa MCP is available on Cursor.
Install in VS Code
Exa MCP is available on VSCode.
- Codex
- Claude Code
- Claude Web, Desktop, or Cowork
- OpenCode
- Kiro
- Other
Run in terminal:
API Key
Get your Exa API key
Available Tools
Enabled by default:
Additional tools (enable via the
tools parameter):
Enable specific tools:
Exa Agent
Exa Agent is now available within Exa MCP. Use it for multi-step research, list-building, enrichment, and structured output when a task needs more than a single search call. Agent runs are usage-based, so the Agent tool requires authentication — connect with OAuth or pass your own Exa API key. Enable the Agent tool with theagent_tools alias:
The Agent tool
How it works
agent_run runs the whole agent loop in one call: it creates the run, streams its lifecycle to completion, and returns the final output.
- Run the agent with
agent_run, passing a natural-languagequery. Include anoutputSchemawhenever you need repeatable, structured results. - Read the output. When the run finishes, the response has
outputReady: truewithoutput.text,output.structured(when a schema was provided), andoutput.groundingcitations, plususageand cost. - Long runs. If a run outlives the call window (~750s),
agent_runreturnsstatus: "running"with the run’sidinstead of an error — the run keeps executing server-side. Callagent_runagain withrunIdset to thatidto keep waiting until it finishes. - Continue. Pass
previousRunId(a completed run’sid) toagent_runto refine or extend earlier work; useinput.exclusionto avoid resurfacing prior results.
agent_run accepts a natural-language query (or a runId to resume waiting on a retained run, or a previousRunId to continue completed work) plus optional outputSchema, systemPrompt, input (data to enrich, exclusion to avoid), dataSources (Exa Connect providers, up to 5), and effort (minimal, low, medium, high, xhigh, or auto; defaults to low).
See the Exa Agent guide for schema patterns, effort modes, Exa Connect data sources, and pricing.
Resources
Usage Examples
Usage Examples
Web SearchCode SearchRead a Page
Troubleshooting
Troubleshooting
Rate limit error (429)You’ve hit the free plan rate limit. Add your own API key to continue:Get your API keyTools not appearingRestart your MCP client after updating the config file. Some clients require a full restart to detect new MCP servers.Claude Desktop not connectingUse the built-in Connector: click + (or Add connectors) → Connectors tab → search for Exa → click +.Config file not foundCommon config locations:
- Cursor:
~/.cursor/mcp.json - VS Code:
.vscode/mcp.json(in project root) - Claude Desktop (macOS):
~/Library/Application Support/Claude/claude_desktop_config.json - Claude Desktop (Windows):
%APPDATA%\Claude\claude_desktop_config.json