翻篇收录说明
翻篇网页快照

Exa MCP - Exa

https://exa.ai/docs/get-started/exa-mcp

最近抓取:2026-12-03 17:06:26(北京时间)

最近内容变化:2026-12-03 17:06:26(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

Exa MCP server: connect ChatGPT, Codex, Claude, Grok, Cursor, and any other MCP client to Exa's web search, page fetching, Exa Agent, and Exa Connect tools.

正文摘录

Use Exa MCP to improve the built-in web search in ChatGPT, Claude, and MCP-compatible tools with Exa’s search capabilities, including web search, code search, Exa Agent, and Exa Connect. Exa offers a hosted server that works in any MCP client: https://mcp.exa.ai/mcp No API key is needed to try search and fetch, at a free rate limit. Sign in or add an API key to use Exa Agent. Agents: see exa.ai/auth.md for every way to get access. Exa MCP is open source and available on GitHub. Install ChatGPT & Codex Claude Grok Build Cursor VS Code Other clientsExa is an official plugin in OpenAI’s plugin directory, which includes the hosted MCP server plus Exa’s search and exa-agent skills.1Open the pluginGo to chatgpt.com/plugins/exa. It opens Exa in OpenAI’s plugin directory, which is the same directory for ChatGPT and for Codex.2Install itSelect the plus button to install. Sign in to Exa when prompted, either during install or the first time Codex or ChatGPT uses it.Opening Plugins in Codex, adding Exa, and authorizing access3Start a new sessionSkills load in chats and CLI sessions started after the install, so open a fresh one and ask for something that needs the web.That’s it. The plugin includes both Exa’s MCP integration and skills, so there’s no separate MCP or skill setup required.See Exa in Codex and ChatGPT for the full setup and workflow guide.Claude Code CLI1Install the pluginInstall Exa from the terminal:claude plugin install exa@claude-plugins-official You can also type /plugin in Claude Code, search for Exa, and install it.2Use ExaStart a new Claude Code session and ask for something that needs the web.Desktop, Web & CoworkClaude Desktop, Web, and Cowork all use Exa’s official connector.1Open the connector directorySelect the plus button in a new chat, choose Add connector, and search for Exa.2Connect ExaOpen Exa, select Connect to Claude, and authorize access when prompted.Opening the connector directory in Claude, finding Exa, connecting it, and authorizing access3Use ExaStart a new chat and ask for something that needs current information from the web.See Exa in Claude Code, Web, and Desktop for the full setup and workflow guide.Claude Team and Enterprise admins can provision the connector for everyone through their identity provider instead: see Enterprise Managed Auth.Exa is available on the Grok Build marketplace.1Open the marketplaceIn Grok Build, run /marketplace.2Install ExaFind exa in the list and press i.3Sign inRun /mcp, select exa, and press i to sign in to your Exa account in the browser.New accounts get free credits at signup.Install Exa MCP from the Cursor marketplace, or add it to ~/.cursor/mcp.json:{ "mcpServers": { "exa": { "url": "https://mcp.exa.ai/mcp" } } } Use the one-click install, or add it to .vscode/mcp.json in your project:{ "servers": { "exa": { "type": "http", "url": "https://mcp.exa.ai/mcp" } } } Most clients use the standard mcpServers shape:{ "mcpServers": { "exa": { "url": "https://mcp.exa.ai/mcp" } } } Where the config lives and what the URL key is called varies by client:ClientWhere to add itURL keyfx by Vercel/mcp add --transport http exa https://mcp.exa.ai/mcp in the fx shell (saved to ~/.fx/mcp.json)urlOpenCodeopencode.json (under mcp, with "type": "remote")urlKiro~/.kiro/settings/mcp.json (under mcpServers)urlWindsurf~/.codeium/windsurf/mcp_config.json (under mcpServers)serverUrlGoogle AntigravityAgent panel → … → MCP Servers, search for Exa in the MCP Store and click Install (no config needed)—ZedZed settings.json (under context_servers)urlGemini CLI~/.gemini/settings.json (under mcpServers)httpUrlWarpSettings → MCP Servers → Add MCP Server (top-level exa)urlv0 by VercelPrompt Tools → Add MCPpaste the URL directlyIf your client doesn’t support remote MCP servers, use the mcp-remote bridge:{ "mcpServers": { "exa": { "command": "npx", "args": ["-y", "mcp-remote", "https://mcp.exa.ai/mcp"] } } } Or run the local npm package with your Exa API key:{ "mcpServers": { "exa": { "command": "npx", "args": ["-y", "exa-mcp-server"], "env": { "EXA_API_KEY": "your_api_key" } } } } Authentication Exa MCP supports three authentication modes: ModeUse it forSetupKeylessTrying search and fetch at a free rate limit, without sign-in or API key. Agent tools are unavailable.Connect to https://mcp.exa.ai/mcpOAuthInteractive clients, marketplace installs, production usageConnect to https://mcp.exa.ai/mcp?login to sign in to Exa in the browser. Usage belongs to your Exa team.API keyClients without MCP OAuthConnect to https://mcp.exa.ai/mcp with the x-api-key header set to your API key Sign in with OAuth ChatGPT, Claude, and other marketplace installs prompt you to sign in when needed. In any client that supports MCP OAuth, you can request the same flow by connecting to: https://mcp.exa.ai/mcp?login Your client discovers Exa’s authorization server, opens the browser sign-in, and manages access. Use an API key Get your Exa API keyCreate a key in the dashboard. New accounts start with free credits. Add the x-api-key header to the MCP server configuration: x-api-key: YOUR_EXA_API_KEY Available Tools ToolAvailabilityUse it forweb_search_exaEnabled by defaultSearch the web and return relevant, ready-to-use contentweb_fetch_exaEnabled by defaultRead clean content from one or more known URLsweb_search_advanced_exaAvailable when opted inConfigure web search with advanced filters and controlsagent_runEnabled by default with OAuth or API keyStart a billable run for multi-step research, list-building, or enrichmentagent_run_statusEnabled by default with OAuth or API keyCheck an existing run or retrieve its result without starting another run Use the tools URL parameter to choose what your client sees. For example, to enable all tools: https://mcp.exa.ai/mcp?tools=web_search_exa,web_fetch_exa,web_search_advanced_exa,agent_tools&login The Agent tools require OAuth or an API key, so this URL includes login to sign in with OAuth. If you use an API key, omit login and add the key as described in Authentication. An explicit tools list replaces the defaults, so include every tool you want enabled including web search and fetch. Exa Agent Use Exa Agent for research that takes more than one search—for example, building a list, checking each item against criteria, or returning structured results. Agent runs are billed by usage, so both Agent tools require OAuth or an API key. Once authenticated, both are enabled by default alongside search and fetch. This URL starts OAuth: https://mcp.exa.ai/mcp?login If you use an API key, omit login and add the key as described in Authentication. If you set an explicit tools list, include agent_tools in it. 1Describe what you needAsk for the research in plain language. Your assistant passes the request to agent_run with a query, and Exa Agent works out what to search, reads the sources, and checks what it finds against the request.Ask your Agent to provide an outputSchema only when your application needs the findings in a consistent JSON format. You can share one with your assistant in the system prompt, or have it generate one for you.2Get the resultWhen the research completes, the tool call hands your assistant the full research package: The written findings The sources behind them Validated JSON if you provided outputSchema Usage and cost Your assistant writes its reply from this package, so tell it what you want done with the output. You can ask it to summarize the findings, compare them, save them to a file, or anything else.3Continue if it needs more timeIf research outlasts a single MCP call, agent_run returns status: "running" and the run’s id. Your assistant passes that id as runId to agent_run_status and keeps checking while it returns running, until the run is completed, failed, or cancelled. Your client may ask for approval to start a billable run. Checking its status does not start or change a run. Optional controlsFieldUse it tosystemPromptGive Agent extra guidance for researching or judging resultsoutputSchemaReturn the answer in a specific JSON formatinput.dataEnrich rows or entities you already haveinput.exclusionSkip results you already know aboutdataSourcesAdd up to five Exa Connect providerspreviousRunIdBuild a new request on completed researcheffortChoose how much research Agent should do Use runId to keep waiting on current work. Use previousRunId to ask a new follow-up based on finished work. See the Exa Agent guide for output schema patterns, effort modes, data sources, and pricing. Advanced search Use web_search_advanced_exa when the request needs explicit category or domain filters, date ranges, text constraints, geo-targeting, query expansion, summaries, highlights, freshness control, or subpage crawling. For ordinary searches, keep web_search_exa; it gives the model a smaller tool surface and requires less configuration. Advanced Search does not require authentication, although authenticated connections use your own plan and rate limits. Enable it alongside the default tools with: https://mcp.exa.ai/mcp?tools=web_search_exa,web_fetch_exa,web_search_advanced_exa The MCP tool presents common Search API controls as tool-friendly fields such as includeDomains, startPublishedDate, enableHighlights, and maxAgeHours. Read the tool schema in your client for the exact field names. Troubleshooting Rate limit error (429)The connection is using Exa’s free rate limits. Sign in with OAuth or add your own API key, then reconnect so requests use your team’s plan and limits.Get your Exa API keyCreate a key in the dashboard. New accounts start with free credits.Agent is missing or asks for authenticationagent_run cannot use the free rate limits, so it only appears once you connect with ?login or configure an API key. If you set an explicit tools list, make sure it includes agent_tools. See Exa Agent.Forbidden error (403) without an API keyKeyless access requires an IPv4 connection made directly to https://mcp.exa.ai/mcp. From IPv6 or a proxied network path, sign in wit