Skip to main content
Good first step for trying out web research with no signup. For higher throughput or once you have a key, prefer ExaBackend (direct SDK) in 02_web_exa.py.
web_exa_mcp.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your API keys

4

Run the example

Save the code above as web_exa_mcp.py, then run:
Full source: cookbook/12_context/02_web_exa_mcp.py