search
Exa AI MCP, CLI, and Lua Integration for AI Agents
Exa AI integration docs for AI agents: MCP gateway setup, Exa AI CLI commands, Lua API reference, credentials, and function schemas.
5 functions 5 read 0 write API key auth
Exa AI for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
exa- route_slug
exa- package
exa- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Exa AI CLIHeadless setup and direct function calls. Exa AI MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Exa AI MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Exa AI.
Claude Code Exa AI MCP setup for Claude Code. Cursor Exa AI MCP setup for Cursor. Codex Exa AI MCP setup for Codex. OpenAI Agents Exa AI MCP setup for OpenAI Agents SDK. Claude Agent SDK Exa AI MCP setup for Claude Agent SDK. Vercel AI SDK Exa AI MCP setup for Vercel AI SDK. LangChain Exa AI MCP setup for LangChain. LangGraph Exa AI MCP setup for LangGraph. CrewAI Exa AI MCP setup for CrewAI. MCP clients Exa AI MCP setup for Generic MCP Clients.
Exa AI CLI Matrix
Use these pages for direct Exa AI CLI workflows in scripts, CI, cron, and agent wrappers.
CI Exa AI CLI for CI. Cron Jobs Exa AI CLI for cron jobs. Shell Scripts Exa AI CLI for shell scripts. Headless Automation Exa AI CLI for headless automation. Coding Agents Exa AI CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
exa.exa_search | Read read | 6 | Perform a neural search query across the web using Exa AI. Returns a list of relevant pages with titles, URLs, and scores. Supports filtering by category, date range, and autoprompt mode. |
exa.exa_find_similar | Read read | 2 | Find web pages similar to a given URL. Useful for discovering related content, competitors, or alternative resources. Returns a list of similar pages with titles, URLs, and scores. |
exa.exa_get_contents | Read read | 3 | Retrieve the full text contents and optional highlights for a list of Exa document IDs. Use this after a search or findSimilar call to get the actual page content. |
exa.exa_search_and_contents | Read read | 8 | Search the web and retrieve full page contents in one call. Combines search and content retrieval into a single request for efficiency. Returns results with both metadata and full text content. |
exa.exa_get_current_user | Read read | 0 | Get the currently authenticated Exa user's profile information, including email and API usage details. Useful for verifying credentials. |