Back to MCP directory
publicPublicdnsLocal runtime

exa-mcp-server

模型上下文协议(MCP)服务器使得像Claude这样的AI助手能够使用Exa AI搜索API进行网页搜索。该设置允许AI模型以安全和受控的方式获取实时网页信息。

article

README

Exa MCP Server

Install in Cursor Install in VS Code npm version smithery badge

Connect AI assistants to Exa's search capabilities: web search, code search, and company research.

Full Documentation | npm Package | Get Your Exa API Key

Installation

Connect to Exa's hosted MCP server:

https://mcp.exa.ai/mcp

Get your API key

Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "exa": {
      "url": "https://mcp.exa.ai/mcp"
    }
  }
}
VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "exa": {
      "type": "http",
      "url": "https://mcp.exa.ai/mcp"
    }
  }
}
Claude Code
claude mcp add --transport http exa https://mcp.exa.ai/mcp
Claude Desktop

Add to your config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "exa": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.exa.ai/mcp"]
    }
  }
}
Codex
codex mcp add exa --url https://mcp.exa.ai/mcp
OpenCode

Add to your opencode.json:

{
  "mcp": {
    "exa": {
      "type": "remote",
      "url": "https://mcp.exa.ai/mcp",
      "enabled": true
    }
  }
}
Antigravity

Open the MCP Store panel (from the "..." dropdown in the side panel), then add a custom server with:

https://mcp.exa.ai/mcp
Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "exa": {
      "serverUrl": "https://mcp.exa.ai/mcp"
    }
  }
}
Zed

Add to your Zed settings:

{
  "context_servers": {
    "exa": {
      "url": "https://mcp.exa.ai/mcp"
    }
  }
}
Gemini CLI

Add to ~/.gemini/settings.json:

{
  "mcpServers": {
    "exa": {
      "httpUrl": "https://mcp.exa.ai/mcp"
    }
  }
}
v0 by Vercel

In v0, select Prompt Tools > Add MCP and enter:

https://mcp.exa.ai/mcp
Warp

Go to Settings > MCP Servers > Add MCP Server and add:

{
  "exa": {
    "url": "https://mcp.exa.ai/mcp"
  }
}
Kiro

Add to ~/.kiro/settings/mcp.json:

{
  "mcpServers": {
    "exa": {
      "url": "https://mcp.exa.ai/mcp"
    }
  }
}
Roo Code

Add to your Roo Code MCP config:

{
  "mcpServers": {
    "exa": {
      "type": "streamable-http",
      "url": "https://mcp.exa.ai/mcp"
    }
  }
}
Other Clients

For clients that support remote MCP:

{
  "mcpServers": {
    "exa": {
      "url": "https://mcp.exa.ai/mcp"
    }
  }
}

For clients that need mcp-remote:

{
  "mcpServers": {
    "exa": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.exa.ai/mcp"]
    }
  }
}
Via npm Package

Use the npm package with your API key. Get your API key.

{
  "mcpServers": {
    "exa": {
      "command": "npx",
      "args": ["-y", "exa-mcp-server"],
      "env": {
        "EXA_API_KEY": "your_api_key"
      }
    }
  }
}

Available Tools

Enabled by Default: | Tool | Description | | ---- | ----------- | | web_search_exa | Search the web for any topic and get clean, ready-to-use content | | get_code_context_exa | Find code examples, documentation, and programming solutions from GitHub, Stack Overflow, and docs | | company_research_exa | Research any company to get business information, news, and insights |

Off by Default: | Tool | Description | | ---- | ----------- | | web_search_advanced_exa | Advanced web search with full control over filters, domains, dates, and content options | | deep_search_exa | Deep search with automatic query expansion for thorough research | | crawling_exa | Get the full content of a specific webpage from a known URL | | people_search_exa | Find people and their professional profiles | | deep_researcher_start | Start an AI research agent that searches, reads, and writes a detailed report | | deep_researcher_check | Check status and get results from a deep research task |

Enable all tools with the tools parameter:

https://mcp.exa.ai/mcp?tools=web_search_exa,web_search_advanced_exa,get_code_context_exa,deep_search_exa,crawling_exa,company_research_exa,people_search_exa,deep_researcher_start,deep_researcher_check

Links


Built with ❤️ by Exa

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client