Skip to main content
Use Exa’s keyless MCP endpoint for web research. For direct SDK access, see Exa Web Context.
web_exa_mcp.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your OpenAI API key

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