mcp-exa
MCP server exposing Exa websearch API
mcp-name: io.github.daedalus/mcp-exa
Install
pip install mcp-exa
Usage
Option 1: Using the public MCP endpoint (no API key required)
You can use Exa search without an API key by connecting to the public MCP endpoint:
{
"mcpServers": {
"exa": {
"url": "https://mcp.exa.ai/mcp"
}
}
}
This endpoint provides the following tools:
web_search_exa- Perform a web search
Option 2: Running locally with your own API key
If you want to use the full Exa API with your own API key, install the package and run it locally.
Set up your API key
export EXA_API_KEY="your-api-key"
Run as MCP server
mcp-exa
Available Tools
The MCP server exposes the following Exa API methods as tools:
search- Perform a web searchfind_similar- Find pages similar to a URLget_contents- Retrieve contents for URLsanswer- Generate an answer using Exa's LLM capabilitiesstream_answer- Stream an answer responseresearch_create- Create a research taskresearch_get- Get a research task by IDresearch_poll_until_finished- Poll until research completesresearch_list- List research tasks
Development
git clone https://github.com/daedalus/mcp-exa.git
cd mcp-exa
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/