Provides automated daily synchronization with upstream repository changes while preserving Heroku-specific customizations through GitHub Actions workflows
Allows deployment of the MCP server to Heroku platform with automatic scaling and integration with Heroku Managed Inference and Agents for AI model execution
Exa MCP Server 🔍
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Remote Exa MCP 🌐
Connect directly to Exa's hosted MCP server (instead of running it locally).
Remote Exa MCP URL
Replace your-api-key-here
with your actual Exa API key from dashboard.exa.ai/api-keys.
Claude Desktop Configuration for Remote MCP
Add this to your Claude Desktop configuration file:
NPM Installation
Using Claude Code
Using Smithery
To install the Exa MCP server for Claude Desktop automatically via Smithery:
Configuration ⚙️
1. Configure Claude Desktop to recognize the Exa MCP server
You can find claude_desktop_config.json inside the settings of Claude Desktop app:
Open the Claude Desktop app and enable Developer Mode from the top-left menu bar.
Once enabled, open Settings (also from the top-left menu bar) and navigate to the Developer Option, where you'll find the Edit Config button. Clicking it will open the claude_desktop_config.json file, allowing you to make the necessary edits.
OR (if you want to open claude_desktop_config.json from terminal)
For macOS:
- Open your Claude Desktop configuration:
For Windows:
- Open your Claude Desktop configuration:
2. Add the Exa server configuration:
Replace your-api-key-here
with your actual Exa API key from dashboard.exa.ai/api-keys.
3. Available Tools & Tool Selection
The Exa MCP server includes the following tools, which can be enabled by adding the --tools
:
- web_search_exa: Performs real-time web searches with optimized results and content extraction.
- company_research: Comprehensive company research tool that crawls company websites to gather detailed information about businesses.
- crawling: Extracts content from specific URLs, useful for reading articles, PDFs, or any web page when you have the exact URL.
- linkedin_search: Search LinkedIn for companies and people using Exa AI. Simply include company names, person names, or specific LinkedIn URLs in your query.
- deep_researcher_start: Start a smart AI researcher for complex questions. The AI will search the web, read many sources, and think deeply about your question to create a detailed research report.
- deep_researcher_check: Check if your research is ready and get the results. Use this after starting a research task to see if it's done and get your comprehensive report.
You can choose which tools to enable by adding the --tools
parameter to your Claude Desktop configuration:
Specify which tools to enable:
For enabling multiple tools, use a comma-separated list:
If you don't specify any tools, all tools enabled by default will be used.
4. Restart Claude Desktop
For the changes to take effect:
- Completely quit Claude Desktop (not just close the window)
- Start Claude Desktop again
- Look for the icon to verify the Exa server is connected
Using via NPX
If you prefer to run the server directly, you can use npx:
Troubleshooting 🔧
Common Issues
- Server Not Found
- Verify the npm link is correctly set up
- Check Claude Desktop configuration syntax (json file)
- API Key Issues
- Confirm your EXA_API_KEY is valid
- Check the EXA_API_KEY is correctly set in the Claude Desktop config
- Verify no spaces or quotes around the API key
- Connection Issues
- Restart Claude Desktop completely
- Check Claude Desktop logs:
Built with ❤️ by team Exa
Deploy to Heroku 🚀
You can deploy this MCP server to Heroku with one click using the Heroku Button:
Manual Heroku Deployment
If you prefer to deploy manually:
- Clone this repository:
- Create a new Heroku app:
- Set your Exa API key as a config variable:
- Optionally, specify which tools to enable:
- Deploy to Heroku:
Using with Heroku Inference and Agents 🤖
This MCP server is fully compatible with Heroku Managed Inference and Agents. To use it:
- Deploy the MCP server to Heroku using the steps above.
- Attach the MCP server to a Heroku Managed Inference and Agents chat model:
- Your MCP server will be automatically registered with Heroku Inference and its tools will be available via the
/v1/agents/heroku
endpoint.
MCP Server Configuration
This server uses the following Procfile configuration for Heroku Inference:
The mcp-search-exa
process is registered with Heroku Inference, following the naming convention required by Heroku (process names must start with "mcp"). The direct Node.js execution ensures proper stdio handling for the MCP protocol.
Both web and mcp-search-exa dynos are configured to scale to 0 by default in the app.json, following Heroku's recommendation for MCP servers. When you attach this app to a Heroku Inference model, Heroku will automatically scale the MCP process as needed for tool execution.
Using with Claude Desktop
To use your Heroku-deployed MCP server with Claude Desktop:
- Add this to your Claude Desktop configuration file:
Replace your-app-name
with your Heroku app name and your-api-key-here
with your Exa API key.
Using with Claude Code CLI
Replace your-app-name
with your Heroku app name and YOUR_API_KEY
with your Exa API key.
Keeping Updated with Upstream 🔄
This repository automatically updates daily from the original exa-mcp-server repository while preserving all Heroku-specific customizations. Updates are handled through GitHub Actions.
Automatic Updates
A GitHub Actions workflow runs daily to:
- Fetch the latest changes from the original exa-mcp-server repository
- Preserve all Heroku-specific customizations (app.json, Procfile, etc.)
- Commit and push the updated code
You can also trigger an update manually by:
- Going to the "Actions" tab in the GitHub repository
- Selecting the "Auto Update from Upstream" workflow
- Clicking "Run workflow"
Manual Updates
If you prefer to update manually, you can use the included update script:
- Clone your forked repository:
- Run the update script:
- Review the changes, then commit and push to your repository:
- If you have already deployed to Heroku, update your Heroku app:
The update process preserves all Heroku-specific customizations, including:
- Heroku button configuration (app.json)
- Process definitions (Procfile)
- Environment variable handling
- Heroku-specific scripts
- Deployment instructions
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Enables AI assistants to perform real-time web searches, company research, content crawling, LinkedIn searches, and deep research tasks using the Exa AI Search API. Can be deployed locally or on Heroku for remote access.
- Remote Exa MCP 🌐
- Configuration ⚙️
- Using via NPX
- Troubleshooting 🔧
- Deploy to Heroku 🚀
- Using with Heroku Inference and Agents 🤖
- Keeping Updated with Upstream 🔄
Related Resources
Related MCP Servers
- -securityAlicense-qualityA server that allows AI assistants to access, view, run, and manage Hex projects through a standardized interface.Last updated -2PythonAGPL 3.0
- -securityFlicense-qualityAn MCP server that integrates real-time web search capabilities into AI assistants using the Exa API, providing both basic and advanced search functionality with formatted markdown results.Last updated -141Python
- AsecurityFlicenseAqualityA Model Context Protocol server that enables AI assistants like Claude to perform real-time web searches using the Exa AI Search API in a safe and controlled manner.Last updated -62,495
- AsecurityAlicenseAqualityA server that enables AI assistants like Claude to perform web searches using the Exa AI Search API, providing real-time web information in a safe and controlled way.Last updated -62,495MIT License