Skip to content

tsiongk/exa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Exa MCP Server (Python)

A Python MCP server for the Exa AI Search API, built with the Dedalus MCP framework.

Features

  • exa_search - Search the web using Exa's AI-powered search
  • exa_find_similar - Find pages similar to a given URL
  • exa_get_contents - Get the contents of specific URLs

Installation

# Clone the repository
git clone https://github.com/dedalus-labs/exa-mcp-python.git
cd exa-mcp-python

# Install dependencies with uv
uv sync

Configuration

Create a .env file with your Exa API key:

EXA_API_KEY=your_api_key_here

Get your API key from Exa Dashboard.

Usage

Running the Server

uv run python src/main.py

The server will start on http://localhost:3010/mcp.

Testing with the Client

uv run python src/client.py

Tools

exa_search

Search the web using Exa's neural search.

Parameters:

  • query (required): Search query
  • num_results (optional): Number of results (default: 10, max: 100)
  • search_type (optional): "neural" or "keyword" (default: "neural")
  • use_autoprompt (optional): Let Exa optimize the query (default: true)
  • include_domains (optional): List of domains to include
  • exclude_domains (optional): List of domains to exclude

exa_find_similar

Find pages similar to a given URL.

Parameters:

  • url (required): URL to find similar pages for
  • num_results (optional): Number of results (default: 10)
  • include_domains (optional): List of domains to include
  • exclude_domains (optional): List of domains to exclude

exa_get_contents

Get the full contents of specific URLs.

Parameters:

  • urls (required): List of URLs to get contents for

License

MIT

About

Exa AI Search MCP server for Dedalus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages