Coderag

by SylphxAI

11 stars
289 downloads
Not rated
GitHub Website

About

Lightning-fast semantic code search with AST chunking (15+ languages) - Hybrid TF-IDF + Vector, MCP-ready for AI assistants

Details

Author
SylphxAI
GitHub stars
11
Downloads
289
Categories
Other

- TF‑IDF ranked codebase search via MCP tool codebase_search
- LLM‑optimized output with minimal tokens and maximum content
- Configurable file size limit and auto‑indexing on startup
- Filter search by file extensions, path, and excluded directories
- Sub‑50 ms search latency after indexing
- Supports Node.js (via npx) or bun (via bunx) runtimes

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Coderag
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install by adding the server configuration to your MCP client (Claude Desktop, VS Code, Cursor, Windsurf, Claude Code, or others) using npx -y @sylphx/coderag-mcp --root=/path/to/project. Optionally set --max-size (default 1 MB) or --no-auto-index. Invoke the codebase_search tool with a query string and optional parameters like limit, file_extensions, path_filter, and exclude_paths.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "coderag": {
            "coderag": {
                "command": "npx",
                "args": [
                    "-y",
                    "@sylphx/coderag-mcp",
                    "--root=/path/to/project"
                ]
            }
        }
    }
}

McpServers

{
    "coderag": {
        "command": "npx",
        "args": [
            "-y",
            "@sylphx/coderag-mcp",
            "--root=/path/to/project"
        ]
    }
}

@sylphx/coderag-mcp

MCP server for intelligent codebase search - RAG-ready for AI assistants.

Quick Start

Using Claude Desktop, VS Code, Cursor, Claude Code, or other MCP clients.

Standard Config

{
  "mcpServers": {
    "coderag": {
      "command": "npx",
      "args": ["-y", "@sylphx/coderag-mcp", "--root=/path/to/project"]
    }
  }
}

With Claude Desktop

<details>
<summary>Installation</summary>

Add to your claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "coderag": {
      "command": "npx",
      "args": ["-y", "@sylphx/coderag-mcp", "--root=/path/to/project"]
    }
  }
}

</details>

With VS Code

<details>
<summary>Installation</summary>

Add to your VS Code settings (JSON):

{
  "mcp": {
    "servers": {
      "coderag": {
        "command": "npx",
        "args": ["-y", "@sylphx/coderag-mcp", "--root=${workspaceFolder}"]
      }
    }
  }
}

Or add to .vscode/mcp.json in your project:

{
  "servers": {
    "coderag": {
      "command": "npx",
      "args": ["-y", "@sylphx/coderag-mcp", "--root=${workspaceFolder}"]
    }
  }
}

</details>

With Cursor

<details>
<summary>Installation</summary>

Add to your Cursor MCP config:

macOS: ~/.cursor/mcp.json
Windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "coderag": {
      "command": "npx",
      "args": ["-y", "@sylphx/coderag-mcp", "--root=/path/to/project"]
    }
  }
}

</details>

With Windsurf

<details>
<summary>Installation</summary>

Add to your Windsurf MCP config:

macOS: ~/.codeium/windsurf/mcp_config.json
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

{
  "mcpServers": {
    "coderag": {
      "command": "npx",
      "args": ["-y", "@sylphx/coderag-mcp", "--root=/path/to/project"]
    }
  }
}

</details>

With Claude Code

<details>
<summary>Installation</summary>

claude mcp add coderag -- npx -y @sylphx/coderag-mcp --root=/path/to/project

</details>

With Other MCP Clients

<details>
<summary>Installation</summary>

Use the standard config format. All MCP-compatible clients should work with:

{
  "mcpServers": {
    "coderag": {
      "command": "npx",
      "args": ["-y", "@sylphx/coderag-mcp", "--root=/path/to/project"]
    }
  }
}

Using bun:

{
  "mcpServers": {
    "coderag": {
      "command": "bunx",
      "args": ["@sylphx/coderag-mcp", "--root=/path/to/project"]
    }
  }
}

Global install:

```bash
npm install -g @sylphx/coderag-mcp

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.