Exa MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NODE_ENV | No | Environment mode. | development |
| JEV_MODEL | No | TypeSafe Jev model. | jev-latest |
| LOG_LEVEL | No | ERROR, WARN, INFO, DEBUG. | ERROR (production) / DEBUG (development) |
| JEV_SCREEN | No | Prompt-injection screen for web_fetch (TypeSafe Jev): off, shadow (score and log only) or warn (warning line on flagged pages). Content is never withheld. | off |
| EXA_API_KEY | Yes | Exa API key. Required. | |
| EXA_RETRIES | No | Retries for network errors and 5xx responses. | 3 |
| EXA_TIMEOUT | No | Request timeout in ms (1000-60000). | 25000 |
| JEV_TIMEOUT | No | TypeSafe request timeout in ms. | 30000 |
| REDACT_LOGS | No | Redact sensitive data in logs. | true |
| EXA_BASE_URL | No | API base URL. | https://api.exa.ai |
| CACHE_ENABLED | No | Cache identical requests (skipped when maxAgeHours is 0). | true |
| EXA_USAGE_CSV | No | If set, append one CSV line per tool call to this file. | |
| JEV_AUDIT_LOG | No | Append one JSON line per screened page (url, score or error) to this file. | |
| CACHE_MAX_SIZE | No | Max cached responses. | 100 |
| VOYAGE_API_KEY | No | Voyage AI key. Required for rerank / relevantTo; those options return an error without it. Nothing else uses Voyage. | |
| VOYAGE_TIMEOUT | No | Voyage request timeout in ms. | 30000 |
| VOYAGE_BASE_URL | No | Voyage API base URL. | https://api.voyageai.com/v1 |
| TYPESAFE_API_KEY | No | TypeSafe key. Required when JEV_SCREEN is not off; the server refuses to start without it when screening is on. | |
| CACHE_TTL_MINUTES | No | Cache lifetime. | 5 |
| TYPESAFE_BASE_URL | No | TypeSafe API base URL. | https://api.typesafe.ai/v1 |
| DOTENV_CONFIG_PATH | No | Load variables from this file. Useful when the MCP client's environment lacks a key. Variables already set take precedence. | .env in the working directory |
| DEFAULT_NUM_RESULTS | No | Results per search when numResults is omitted. | 3 |
| VOYAGE_RERANK_MODEL | No | Voyage reranker (rerank-3 for higher quality). | rerank-3-lite |
| JEV_SCREEN_THRESHOLD | No | Score at which warn shows the warning. | 0.35 |
| DEFAULT_MAX_CHARACTERS | No | Text characters per search result when includePageText is set. | 3000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Exa web tools. Choosing a tool:
exa_search: find pages when you don't have URLs. Returns highlights by default; filters cover papers (category "publication"), companies, people, news and posts on X. Set outputSchema for a synthesized, cited answer; set rerank to order results by Voyage relevance.
web_fetch: read known URLs (1-100 per call). Set relevantTo to get only the passages relevant to a question (needs VOYAGE_API_KEY): far fewer tokens than whole pages.
answer_question: one direct answer with citations.
code_search: code examples and API usage.
find_similar: pages like a given URL.
agent_run (if enabled): multi-step research; slow and costs dollars per run. Set effort, and maxCostDollars for effort auto/ultra. action list/cancel/stop manage runs.
monitors, websets (if enabled): create resources on the user's Exa account; monitors can delete. Every response ends with Exa's estimated cost.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| exa_searchA | Search the web with Exa. Use for discovery when you don't have a URL yet. Covers specialized searches through filters: research papers (category 'publication'), companies (category 'company', optionally subpages), people (category 'people'), news, posts on X (includeDomains ['x.com','twitter.com']), and competitors (describe the business, excludeDomains its own site). Set outputSchema for a synthesized, cited answer; set rerank for Voyage relevance ordering. Use answer_question for a direct answer to one question, code_search for code, web_fetch to read known URLs. |
| web_fetchA | Read the full content of one or more known URLs (articles, PDFs, any page), up to 100 per call. Set relevantTo to get only the passages that matter for a question. Use when you already have the URLs. Does NOT search — use exa_search to find URLs first. Reports per-URL failures. |
| answer_questionA | Get a direct answer to a question with cited sources. Use instead of exa_search when you want a synthesized answer, not a list of results. Set outputSchema for a structured answer. For open-ended multi-step research use agent_run. |
| find_similarA | Find pages similar to a reference URL. Use when you have an example page and want more like it. Requires a URL, not a query. Note: Exa marks /findSimilar deprecated; exa_search with a query describing the page is the long-term replacement. |
| code_searchA | Search for code examples, API usage, and programming patterns across GitHub, docs, and Stack Overflow. Use instead of exa_search for code-specific queries. Returns token-efficient snippets with source URLs. Does NOT search general web content. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Descriptions actively cross-reference each other (web_fetch explicitly says 'does NOT search', answer_question says 'use instead of exa_search'), which helps a lot. However, three tools are effectively specializations of exa_search: answer_question is exa_search with an outputSchema, code_search is a domain-restricted search, and find_similar is flagged as deprecated and replaceable by a descriptive query. An agent can still pick correctly, but the boundaries are narrower than the tool count suggests.
Most names follow a verb_noun shape (web_fetch, answer_question, find_similar, code_search) and the intent is readable at a glance. The 'exa_' vendor prefix on exa_search is the one inconsistency, and 'find_similar' is verb_adjective rather than verb_noun, but neither is confusing.
Five tools is well-scoped for a search/fetch server, with each entry mapping to a recognizable use case. The only weak spot is find_similar, which the server itself acknowledges is deprecated, meaning slightly fewer tools would carry the same surface.
The core lifecycle (discover via search, read via fetch, synthesize via answer, specialize via code_search) is covered, but the answer_question description directs open-ended multi-step research to 'agent_run' — a tool that is not present in this set, creating a dead end. There is also no coverage for result pagination or research follow-up, so agents will hit a wall on deeper tasks.