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

fast-search-mcp

v1.0.1

Published

AI-powered semantic code search MCP server using Cerebras and ripgrep

Readme

Fast Search MCP Server

AI-powered semantic code search for your IDE using the Model Context Protocol (MCP). Get intelligent, context-aware search results powered by Cerebras AI and ripgrep.

Features

  • 🚀 Blazing Fast: Leverages ripgrep for lightning-fast file searching
  • 🧠 AI-Powered: Uses Cerebras LLM to understand semantic queries
  • 🔍 Smart Search: Finds relevant code even with natural language queries
  • 🌐 HTTP/2 Support: End-to-end HTTP/2 for optimal performance
  • 🔌 MCP Compatible: Works with any MCP-compatible IDE (Kiro, Claude Desktop, etc.)

Installation

Global Installation (Recommended)

npm install -g @cheetah-ai/fast-search-mcp

Local Installation

npm install @cheetah-ai/fast-search-mcp

Configuration

1. Get Your API Key

You need a Cerebras API key from the proxy service. Contact the administrator or use the public endpoint.

2. Configure MCP

Add to your MCP configuration file:

For Kiro IDE (.kiro/settings/mcp.json):

{
  "mcpServers": {
    "fast-search": {
      "command": "npx",
      "args": ["@cheetah-ai/fast-search-mcp"],
      "env": {
        "CEREBRAS_API_KEY": "your-api-key-here",
        "CEREBRAS_API_URL": "https://cerebras-proxy-rrrczy5zva-uc.a.run.app/api",
        "CEREBRAS_MODEL": "llama-3.3-70b"
      },
      "disabled": false,
      "autoApprove": ["semantic_code_search"]
    }
  }
}

For Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "fast-search": {
      "command": "npx",
      "args": ["@cheetah-ai/fast-search-mcp"],
      "env": {
        "CEREBRAS_API_KEY": "your-api-key-here",
        "CEREBRAS_API_URL": "https://cerebras-proxy-rrrczy5zva-uc.a.run.app/api",
        "CEREBRAS_MODEL": "llama-3.3-70b"
      }
    }
  }
}

3. Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | CEREBRAS_API_KEY | Your API key (required) | - | | CEREBRAS_API_URL | Proxy endpoint URL | https://cerebras-proxy-rrrczy5zva-uc.a.run.app/api | | CEREBRAS_MODEL | Model to use | llama-3.3-70b | | DEFAULT_MAX_RESULTS | Max results per search | 100 | | MAX_PARALLEL_PROCESSES | Concurrent searches | 5 |

Usage

Once configured, use the semantic search tool in your IDE:

Example Queries

"Find authentication logic"
"Where is the user login handled?"
"Show me database connection code"
"Find React components that use hooks"
"Locate error handling middleware"

MCP Tool

The server exposes one tool:

semantic_code_search

  • Input:
    • query (string): Natural language search query
    • path (string): Absolute path to codebase
  • Output: List of relevant file paths with scores

How It Works

  1. Query Processing: Your natural language query is sent to Cerebras AI
  2. Pattern Generation: AI generates multiple search patterns and keywords
  3. Fast Search: Ripgrep executes parallel searches across your codebase
  4. Smart Ranking: Results are scored and ranked by relevance
  5. Return Results: Top matches are returned to your IDE

Requirements

  • Node.js >= 18.0.0
  • ripgrep installed and available in PATH
    • macOS: brew install ripgrep
    • Ubuntu/Debian: apt install ripgrep
    • Windows: choco install ripgrep or download from releases

Development

Run Locally

git clone https://github.com/cheetah-ai/fast-search-mcp.git
cd fast-search-mcp
npm install
node src/mcp-server.js

Test

npm test

Architecture

┌─────────────┐
│   IDE/MCP   │
└──────┬──────┘
       │ MCP Protocol
       ▼
┌─────────────────┐
│  MCP Server     │
│  (This Package) │
└──────┬──────────┘
       │ HTTP/2
       ▼
┌─────────────────┐
│ Cerebras Proxy  │
│  (Cloud Run)    │
└──────┬──────────┘
       │
       ▼
┌─────────────────┐
│  Cerebras API   │
└─────────────────┘

Troubleshooting

"ripgrep not found"

Install ripgrep: https://github.com/BurntSushi/ripgrep#installation

"API key invalid"

Check your CEREBRAS_API_KEY in the MCP configuration.

"Connection timeout"

Verify the CEREBRAS_API_URL is accessible and correct.

MCP server not starting

Check Node.js version: node --version (must be >= 18)

License

MIT

Support

  • Issues: https://github.com/cheetah-ai/fast-search-mcp/issues
  • Documentation: https://github.com/cheetah-ai/fast-search-mcp

Credits

Built with: