data
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.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.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
exa.exa_search | Read read | 10 | 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_search_and_contents | Read read | 11 | 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_answer | Read read | 3 | Get a grounded answer to a question using Exa search results, including citations when returned by Exa. |
exa.exa_find_similar | Read read | 5 | 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 | 9 | Retrieve full page contents, summaries, highlights, and metadata for URLs or Exa document IDs. |
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. |