The Exa MCP Server allows AI assistants like Claude to perform real-time web searches using the Exa AI Search API. This integration enables AI models to access up-to-date web information in a controlled and secure manner.
Connect directly to Exa's hosted MCP server without running it locally:
Get your API key from dashboard.exa.ai/api-keys
Use the following MCP URL format:
https://mcp.exa.ai/mcp?exaApiKey=your-exa-api-key
Configure Claude Desktop by adding:
{
"mcpServers": {
"exa": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.exa.ai/mcp?exaApiKey=your-exa-api-key"
]
}
}
}
npm install -g exa-mcp-server
npx -y @smithery/cli install exa --client claude
Enable Developer Mode:
Manually Edit Configuration File:
For macOS:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
For Windows:
code %APPDATA%\Claude\claude_desktop_config.json
Add Exa Server Configuration:
{
"mcpServers": {
"exa": {
"command": "npx",
"args": ["-y", "exa-mcp-server"],
"env": {
"EXA_API_KEY": "your-api-key-here"
}
}
}
}
The Exa MCP server includes these specialized search tools:
Configure which tools to enable by adding the --tools
parameter:
{
"mcpServers": {
"exa": {
"command": "npx",
"args": [
"-y",
"exa-mcp-server",
"--tools=web_search_exa,research_paper_search"
],
"env": {
"EXA_API_KEY": "your-api-key-here"
}
}
}
}
After configuration:
Run the server directly using npx:
# Run with all default tools
npx exa-mcp-server
# Enable specific tools
npx exa-mcp-server --tools=web_search_exa
# Enable multiple tools
npx exa-mcp-server --tools=web_search_exa,research_paper_search
# List all available tools
npx exa-mcp-server --list-tools
Server Not Found
API Key Issues
Connection Problems
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.