About Exa MCP Server
Exa MCP Server is an MCP server for developers and AI assistants that uses the Exa API to search for code with natural-language queries. It returns relevant code examples and documentation, with configurable result counts and structured JSON metadata.
Key features
- 01Natural-language code search
- 02Relevant code examples and documentation
- 03Configurable result count
- 04JSON results with metadata
Use cases
- 01Finding code examples for a programming question
- 02Locating documentation related to a code query
MCP support
It exposes a search tool and resources for query-specific and most recent results to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEExa MCP Server
An MCP (Model Context Protocol) server that provides AI-powered code search capabilities using the Exa API.
Features
- Perform AI-powered code searches using natural language queries
- Get relevant code examples and documentation
- Configurable number of search results
- JSON response format with rich metadata
Installation
- Clone this repository:
git clone https://github.com/it-beard/exo-server.git
cd exa-server
- Install dependencies:
npm install
- Build the project:
npm run build
- Configure your Exa API key in the MCP settings file (tested with Cline):
{
"mcpServers": {
"exa": {
"command": "node",
"args": ["/path/to/exa-server/build/index.js"],
"env": {
"EXA_API_KEY": "your-api-key-here"
}
}
}
}
Usage
The server provides the following tools and resources:
Tools
search
Perform an AI-powered search using Exa API
Input Schema:
{
"query": "Search query",
"numResults": 10
}
Resources
exa://search/{query}- Search results for a specific queryexa://last-search/result- Results from the most recent search query
Development
- Make your changes in the
srcdirectory - Build the project:
npm run build
- Test your changes by configuring the server in your MCP settings
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.