Exa Ultra MCP
Summary: Exa Ultra MCP is a local stdio MCP server that gives an AI agent full access to the Exa API (search, contents, similar pages, answers, Agent research runs, Monitors) with pooled API keys, failover, budget guard, and quality modes.
exa_search– search the live web with Exa; ranked results with query-relevant highlights, optional filters (domains, dates, category, include/exclude text), subpages, images, links, and structured output viaoutputSchema/systemPrompt.exa_find_similar– find pages similar to a seed URL (competitors, alternatives, related papers), with an optionalfocusdescribing what "similar" means.exa_contents– fetch clean text/highlights/summary of known URLs, with live crawl, subpage crawling, link/image extraction, and Exa Snapshot.exa_answer– get a short, cited answer to a question written by Exa itself.exa_agent_run/exa_agent_get/exa_agent_manage– run async multi-step deep research (list-building, row enrichment, multi-hop, structured JSON with citations), poll status, follow up on prior runs, and list/events/cancel/delete runs.exa_monitor– set up monitors on/monitors(off by default; requires a public webhook).exa_mode– show or set the server-wide quality mode (fast,auto,max), controlling cost/latency vs. quality per call.exa_keys_status– inspect key health, cooldowns, spend and reservations; reset cooldowns/disabled keys.Resources & prompt –
exa://keys/status,exa://modes, and theexa_researchprompt.Operational guarantees – automatic key failover on 401/402/429/5xx/timeouts, monthly budget guard per key, shared cross-process state, local caching, offline
--doctorcheck, and key redaction.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Exa Ultra MCP search the web for recent AI regulation news and cite the sources"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Exa Ultra MCP
A 100% local, offline-built stdio MCP server and universal AI agent skill for the full Exa API.
Covers every Exa surface on the free plan: search (all types), contents, find-similar, answer, Agent runs, Monitors.
Runs locally over stdio (
node dist/index.js). No remote MCP relay or third-party host sees your queries or API keys—requests go directly from your machine tohttps://api.exa.ai.Quality modes:
fast,auto(Exa standard), andmax(highest the free plan allows). Set one server-wide, or pass one per call.Pool of API keys with failover. On 401/402/429/5xx, timeouts, or malformed responses, the call automatically fails over to the next healthy key. Bad requests (400) are rejected without retrying.
Budget guard & shared cross-process state. Every session on your machine shares monthly spend ($10/key default), cooldowns, reservations, and active mode.
Private key hygiene. Auto-discovers
~/.config/exa-ultra/keys(chmod 600), supports plain text or JSON key files, filters placeholder tokens, warns on loose file permissions, redacts keys from all errors, and includes an offline$0-credit--doctorcheck.
AI Agents (Antigravity, Claude Code, Codex, Cursor, Windsurf, OpenCode, Cline, Roo, Copilot, OpenBot): Read
AGENTS.mdandskills/exa-ultra/SKILL.mdfor local offline installation, private key rules, and tool usage.
Quick Start (Offline Build + Private Keys)
Requires Node.js >= 20.6:
git clone https://github.com/chocowarsky/exa-ultra-mcp.git
cd exa-ultra-mcp
npm install # installs dependencies and compiles dist/Create your private key file outside the repo (chmod 600). Paste one or more keys from https://dashboard.exa.ai/api-keys (one per line, comma-separated, or JSON ["k1", "k2"]):
mkdir -p ~/.config/exa-ultra
install -m 600 /dev/null ~/.config/exa-ultra/keys
$EDITOR ~/.config/exa-ultra/keysVerify readiness 100% offline ($0 credits spent):
node dist/index.js --doctor --jsonRelated MCP server: mcp-exa
Install Across Every AI Agent Harness
Agent Skill Discovery (skills.sh / Claude Code / Antigravity)
# Universal Agent Skills CLI (30+ harnesses)
npx skills add chocowarsky/exa-ultra-mcpClaude Code Plugin Marketplace:
/plugin marketplace add chocowarsky/exa-ultra-mcpAntigravity / Codex / Cursor / Windsurf / Copilot / Cline / Roo / OpenCode / OpenBot: Native entrypoints included (
AGENTS.md,CLAUDE.md,GEMINI.md,plugin.json,.claude-plugin/,.cursor/rules/exa-ultra.mdc,.github/copilot-instructions.md,skills/exa-ultra/SKILL.md).
MCP Client Registration
Because ~/.config/exa-ultra/keys is auto-discovered, standard stdio MCP registration is simply:
{
"mcpServers": {
"exa-ultra": {
"command": "node",
"args": ["/ABSOLUTE/PATH/exa-ultra-mcp/dist/index.js"]
}
}
}(Pass "--keys-file=/ABSOLUTE/PATH/keys" as a second argument if you store your key file at a custom location. Leading ~/ is automatically expanded.)
Ready-to-use templates for every client live in examples/:
Antigravity:
examples/antigravity-mcp.jsonClaude Code:
examples/claude-code.shClaude Desktop:
examples/claude_desktop_config.jsonOpenAI Codex:
examples/codex-config.tomlCursor:
examples/cursor-mcp.jsonWindsurf:
examples/windsurf-mcp.jsonVS Code / Copilot:
examples/vscode-mcp.jsonOpenCode:
examples/opencode.jsonCline / Roo Code:
examples/cline-mcp.jsonOpenBot:
examples/openbot.md
Key Discovery & Security Rules
Keys are merged and deduplicated from these sources (never committed to git, never printed in logs or chat):
--keys-file=PATHor--keys-file PATH(supports~/)EXA_API_KEYS_FILEenv var (supports~/)EXA_API_KEYS(comma/newline-separated) orEXA_API_KEYenv varAuto-discovered default private files when no explicit key source is given:
$XDG_CONFIG_HOME/exa-ultra/keys(default~/.config/exa-ultra/keys)$XDG_CONFIG_HOME/exa-ultra/keys.txt$XDG_CONFIG_HOME/exa-ultra/keys.json
Modes
Mode |
|
| Typical use |
|
|
| Autocomplete, tight agent loops |
|
|
| Exa's standard defaults |
|
|
| Best quality on the free plan |
Precedence: explicit type/effort → per-call mode → saved server mode (exa_mode) → --mode= / EXA_MODE.
Tools
Tool | Exa endpoint | Notes |
|
| All types, filters, |
|
| text, highlights or summary; live crawl, subpages, links/images, Snapshot |
|
| Replaces the deprecated |
|
| Cited answer, optional schema |
|
| Create, wait, follow-up, list, events, cancel, delete |
|
| Off by default ( |
| local | Show or set the server mode |
| local | Key health, cooldowns, spend, reservations; |
Resources: exa://keys/status, exa://modes. Prompt: exa_research.
Configuration
Every setting is optional except the keys.
Variable / Flag | Default | Meaning |
|
| Private file with keys (plain text with |
| — | Keys in the environment (comma or newline separated) |
|
|
|
|
| Cap per |
|
| How long |
|
| USD per key per month |
|
| Stop using a key this many USD before its budget |
|
|
|
|
| Requests per second per key (free plan: 10); |
|
| Timeout of one HTTP attempt |
|
| Keys tried per call |
|
| Default cap on the text returned to the model |
|
| In-memory cache of identical calls |
|
| Turn tool groups on or off |
|
| Shared state: sha256 fingerprints, spend, mode. Never raw keys |
|
| For proxies or tests |
Failover Rules
Exa answer | What happens to the key | Retried on another key |
401 / 403 | Disabled for 6 h | ✓ |
403 "plan doesn't include …" | Nothing; the key is fine | — (every key on the plan would answer the same) |
402, or 429 about credits | Disabled until next month | ✓ |
429 rate limit | Cooldown ( | ✓ |
5xx, 408, timeout, network error, 200 with a non-JSON body | Cooldown with backoff | ✓ |
400 / 404 / 422 | Nothing | — (the request itself is wrong) |
Development, Testing & Security
npm run build # compile TypeScript to dist/
npm test # run offline unit + CLI --doctor tests
npm run check:secrets # scan tracked files (and --history) for leaked keys/UUIDsNever commit keys.
.gitignoreblocks common key files, andnpm run check:secrets(enforced in GitHub Actions CI) fails on anything resembling a key—including UUIDs, the format Exa uses.The shared state file (
~/.local/state/exa-ultra-mcp/keys.json) stores sha256 fingerprints and the last 4 characters only (0600), never raw keys.
License
Available Tools
9 toolsexa_agent_getExa Agent run status/resultA
Get an Exa Agent run by id; with wait=true, keep polling until it finishes or waitSeconds pass.
Inputs: id (required), raw, wait, noCache, +2 more.
exa_agent_manageExa Agent runs: list, events, cancel, deleteC
list = recent runs on every key · events = lifecycle events of a run · cancel = stop a running run · delete = remove a run.
Inputs: action (required), id, limit, cursor.
exa_agent_runExa Agent research runA
Async multi-step Exa Agent run (deep research): list-building, enrichment of rows, multi-hop research, structured JSON with citations. Not for simple lookups (use exa_search or exa_answer). Effort comes from the mode unless you set it: fast = minimal ($0.012) · auto = low ($0.025) · max = ultra (usage-based, capped at $1/run). Waits up to waitSeconds (default 120); if still running, returns the run id for exa_agent_get.
Inputs: query (required), raw, mode, wait, +10 more.
exa_answerExa grounded answerA
Ask a question; Exa searches and writes a short cited answer itself ($0.005). Good for quick facts. For research where you read the sources yourself, use exa_search.
Inputs: query (required), raw, text, noCache, +4 more.
exa_contentsExa get page contentsA
Get clean content of known URLs (no search). Default returns page text. Supports live crawl (maxAgeHours 0), subpage crawling, link/image extraction, and Exa Snapshot (paid plans). Failed URLs are listed; the call fails only when every URL failed.
Inputs: urls (required), raw, links, content, +12 more.
exa_find_similarExa find similar pagesA
Find pages similar to a seed URL (competitors, alternatives, related papers). Reads the seed page, then runs a semantic search built from it. Replaces Exa's deprecated /findSimilar. Search type follows the mode like exa_search.
Inputs: url (required), raw, mode, type, +6 more.
exa_keys_statusExa key pool statusA
Show health, cooldowns, requests and tracked spend of each Exa key (keys shown as last 4 chars only). action=reset clears cooldowns and disables.
Inputs: alias, action.
exa_modeExa Ultra modeA
Show or set the server-wide quality mode used when a call sets no type/effort: fast = Lowest latency and cost: lite search (<1 s, $0.004), agent effort minimal ($0.012). auto = Exa's standard defaults: auto search (~2 s, $0.007), agent effort low ($0.025). max = Highest quality the free plan allows: deep-reasoning search (7-20 s, $0.015), agent effort ultra (capped by EXA_AGENT_MAX_COST, default $1/run). Setting it applies to every agent and session on this machine. Only set it when the user asks.
Inputs: set, reset.
exa_searchExa web searchA
Search the live web with Exa; returns ranked pages with query-relevant highlights (10 results). Search type comes from the mode unless you set type: fast = lite (<1 s) · auto = auto (~2 s) · max = deep-reasoning (7-20 s, best quality). See exa_mode for the current server mode. Put recency and source preferences in the query text; use filters only when they must be enforced. Use outputSchema (+ systemPrompt for keep/drop rules) to get fields extracted from the pages.
Inputs: query (required), raw, mode, type, +26 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Search, find_similar, contents, and answer are clearly differentiated in the descriptions (e.g., answer = cited quick facts, search = read sources yourself). The only soft overlap is between exa_agent_get (with wait=true polling) and exa_agent_manage's list/events, plus agent_get vs agent_run returning terminal state, but these boundaries are still workable.
All tools share the exa_ prefix and snake_case, with a sensible agent_* sub-family (run/get/manage). Minor deviation: several tools are noun-based (exa_contents, exa_mode, exa_keys_status) rather than consistent verb_noun, so the pattern isn't fully uniform.
Nine tools is well within the sweet spot and each maps to a distinct capability (search, similar, contents, answer, agent lifecycle, keys, mode). Nothing feels redundant or padded.
Covers the full Exa workflow: discovery (search, find_similar), retrieval (contents), synthesis (answer), long-running research with a complete run lifecycle (run/get/manage including cancel/delete), plus operational controls (keys_status, mode). No obvious dead ends for the stated purpose.
Maintenance
Related MCP Connectors
Official Exa MCP for web search, content fetching, and multi-step research.
Web search, page fetch and cited research for AI agents: 26 engines, 8 tools, one key, from $15/mo.
Web search and page fetch for AI agents. Results come from a shared cache; cached calls cost less.
Web search for AI agents — one tool across 6 engines, routed to the cheapest + cached.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to perform real-time web searches, company research, content crawling, LinkedIn searches, and deep research using the Exa AI Search API. Provides comprehensive web information retrieval capabilities in a safe and controlled manner.21MIT
- AlicenseAqualityCmaintenanceEnables MCP clients to connect to Exa for web search, retrieving URL contents, deep cited-answer search, and research-agent runs. It provides Exa search, content, and research tools with filtering, structured output, and cost reporting.5MIT
- AlicenseAqualityBmaintenanceEnables AI agents to perform web search, page fetching, and multi-source research via the official search and fetch API, with deduplication, content limits, caching, and rate limiting.7462 PyPI5MIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to run neural web searches, gather token-budgeted code context and documentation excerpts, and crawl individual pages through the Exa API.44 npmMIT