How to Connect Exa Remote MCP to Claude Code
Add Exa's remote MCP server to Claude Code in about a minute.
Step-by-step
- Run the add command
claude mcp add --transport http exahttps://mcp.exa.ai/mcp``. - AuthorizeAdd an
Authorization: Bearer <your-key>header in the server's config โ get the credential from https://docs.exa.ai/reference/exa-mcp. Run/mcpinside Claude Code to trigger the OAuth flow, orclaude mcp listto check status. - VerifyVerify in the browser: paste
https://mcp.exa.ai/mcpinto remotemcp.net/inspector and run initialize + tools/list.
Troubleshooting OAuth / 401
- A
401 Unauthorizedon first connect is normal โ the endpoint is OAuth-protected; let Claude Code finish the browser consent flow. - If the consent window never opens, remove and re-add the server, then retry.
- Check the exact challenge at our OAuth debugger.
- Run the live endpoint through the online inspector to see the raw JSON-RPC exchange.
Or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"exa": {
"url": "https://mcp.exa.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}claude mcp add --transport http exa https://mcp.exa.ai/mcp
With credential header:
claude mcp add --transport http exa https://mcp.exa.ai/mcp --header "Authorization: Bearer YOUR_API_KEY"
Or add to .vscode/mcp.json:
{
"servers": {
"exa": {
"type": "http",
"url": "https://mcp.exa.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}- Open Settings โ Connectors (Integrations) โ Add Custom Connector.
- Paste the endpoint URL:
https://mcp.exa.ai/mcp - Provide your API key / Bearer token when prompted.
Bridge the remote endpoint into stdio with mcp-remote in claude_desktop_config.json:
{
"mcpServers": {
"exa": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.exa.ai/mcp",
"--header",
"Authorization: Bearer YOUR_API_KEY"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"exa": {
"serverUrl": "https://mcp.exa.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Tools exposed by Exa MCP (4)
| Tool | Safety | Description | Parameters |
|---|---|---|---|
| web_search_exa | ๐ข Read | Semantic web search tuned for LLM consumption. | query*: stringnumResults: number |
| research_paper_search | ๐ข Read | Search academic and research papers. | query*: stringnumResults: number |
| company_research | ๐ข Read | Research a company and return structured findings. | companyName*: string |
| crawling_exa | ๐ข Read | Crawl a URL and return clean extracted content. | url*: string |
Connect Exa MCP to another client
Other servers for Claude Code
GitHub's official remote MCP server hosted at api.githubcopilot.com. Gives AI agents first-party access to repositories, issues, pull requests and code search.
Notion's official hosted MCP server. Agents can search your workspace, read and create pages, and query databases over Streamable HTTP or SSE.
Linear's official remote MCP server. Agents can search, create and update issues and query your team's workflow over Streamable HTTP or SSE.
Figma's official remote MCP server. Agents can pull design context, variables, Code Connect mappings and screenshots from your Figma files.
Stripe's official remote MCP server at mcp.stripe.com. Agents can query customers, payment intents and subscriptions and invoke Stripe API operations with OAuth.
Cloudflare's free, authless documentation MCP server. Agents can search the full Cloudflare docs corpus โ no account or token required.