npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@siddhantxh/exa-search

v1.0.5

Published

EXA Search MCP server for semantic web search

Readme

EXA Search MCP Server

A Model Context Protocol (MCP) server that provides semantic web search capabilities using the EXA API.

Installation

npm install -g @mcp-servers/exa-search

Configuration

The server requires an EXA API key. You can get one from EXA's website.

Set your API key as an environment variable:

export EXA_API_KEY=your_api_key_here

Usage

As a CLI Tool

Once installed globally and configured with an API key, you can run the server:

exa-mcp

In Your MCP Configuration

Add this to your .cursor/mcp.json:

{
  "mcpServers": {
    "exa-search": {
      "command": "exa-mcp",
      "env": {
        "EXA_API_KEY": "your_api_key_here"
      }
    }
  }
}

As a Library

You can also use the server programmatically:

import { createExaServer } from '@mcp-servers/exa-search';
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";

const apiKey = process.env.EXA_API_KEY;
const server = createExaServer(apiKey);
const transport = new StdioServerTransport();
await server.connect(transport);

API

The server provides a single tool:

search

Performs a semantic search using the EXA API.

Parameters:

  • query (string): Search query to find relevant web content
  • num_results (number, optional): Number of search results to return (default: 10, max: 50)
  • search_type (string, optional): Type of search to perform ("neural" or "keyword", default: "neural")
  • include_domains (string[], optional): Domains to include in search
  • exclude_domains (string[], optional): Domains to exclude from search
  • start_crawl_date (string, optional): Start date for crawled content (YYYY-MM-DD)
  • end_crawl_date (string, optional): End date for crawled content (YYYY-MM-DD)
  • include_text (boolean, optional): Include page text in results (default: true)
  • include_highlights (boolean, optional): Include highlighted snippets (default: true)

Returns:

  • Search results including titles, URLs, snippets, and highlights

Development

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Start the server:
npm start

License

MIT