
Exa MCP Server
Pricing
Pay per event

Exa MCP Server
HTTP MCP proxy to Exa's hosted MCP server (mcp.exa.ai). Connect via streamable HTTP
0.0 (0)
Pricing
Pay per event
0
1
1
Last modified
6 days ago
Exa MCP Server
HTTP MCP proxy to Exa's hosted MCP server at https://mcp.exa.ai/mcp. This Actor exposes a streamable HTTP endpoint so MCP clients can connect using an Apify-hosted URL with Bearer auth.
How to use
This server uses mcp-remote to connect to Exa and supports optional EXA_API_KEY (appended to the URL as exaApiKey).
Connection URL
MCP clients can connect to this server at:
https://mcp-servers--exa-mcp-server.apify.actor/mcp
Client Configuration
Use this configuration in your MCP client (replace your-apify-token with your token from Apify Console):
{ "mcpServers": { "exa": { "type": "http", "url": "https://mcp-servers--exa-mcp-server.apify.actor/mcp", "headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" } } } }
Optionally set EXA_API_KEY as an Actor environment variable to use your Exa key.
Pay per event
This Actor uses the Pay Per Event (PPE) model. Exa tool calls map to events defined in .actor/pay_per_event.json such as exa-get-code-context
, exa-web-search
, etc. Unknown tools fall back to tool-request
.
To charge users, define events in JSON format and save them on the Apify platform. Here is an example schema with the tool-request
event:
Event charging is performed in src/billing.ts
based on the MCP method and tool name.
To set up the PPE model: in Actor Monetization settings, choose Pay per event and paste the content of .actor/pay_per_event.json.
Credits and links
- What is Anthropic's Model Context Protocol?
- How to use MCP with Apify Actors
- All credits to the original authors of https://github.com/exa-labs/exa-mcp-server (or hosted Exa at https://mcp.exa.ai/mcp)
- Claim this MCP server – write to ai@apify.com.
- Apify MCP servers monorepo
- Apify MCP server
- Apify MCP server documentation
- Apify MCP client
- Model Context Protocol documentation
- TypeScript tutorials in Academy
- Apify SDK documentation
Getting started
For complete information see this article. To run the Actor use the following command:
$apify run
Deploy to Apify
Connect Git repository to Apify
If you've created a Git repository for the project, you can easily connect to Apify:
- Go to Actor creation page
- Click on Link Git Repository button
Push project on your local machine to Apify
You can also deploy the project on your local machine to Apify without the need for the Git repository.
-
Log in to Apify. You will need to provide your Apify API Token to complete this action.
$apify login -
Deploy your Actor. This command will deploy and build the Actor on the Apify Platform. You can find your newly created Actor under Actors -> My Actors.
$apify push
Documentation reference
To learn more about Apify and Actors, take a look at the following resources: