MCP Ripgrep Server

by mcollina

71 stars
245 downloads
Not rated
GitHub

About

Provides local file search capabilities using the ripgrep (rg) command-line tool.

Details

Author
mcollina
GitHub stars
71
Downloads
245
Categories
Search, Developer Tools, File Management, Other

- Basic text search with ripgrep
- Advanced search with fixed strings and file type filtering
- Count pattern matches in files
- List files matching a search without running it
- List all supported ripgrep file types

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 MCP Ripgrep Server
    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

Requires Node.js (v18 or higher) and ripgrep installed and available in your PATH. Configure the server in your Claude for Desktop configuration file by adding a "ripgrep" entry using npx -y mcp-ripgrep@latest as the command, then restart Claude for Desktop.

search

Search files for patterns using ripgrep (rg)

advanced-search

Advanced search with ripgrep with more options

count-matches

Count matches in files using ripgrep

list-files

List files that would be searched by ripgrep without actually searching them

list-file-types

List all supported file types in ripgrep

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "mcp ripgrep server": {
            "ripgrep": {
                "command": "npx",
                "args": [
                    "-y",
                    "mcp-ripgrep@latest"
                ]
            }
        }
    }
}

McpServers

{
    "ripgrep": {
        "command": "npx",
        "args": [
            "-y",
            "mcp-ripgrep@latest"
        ]
    }
}

An MCP server that provides ripgrep (rg) search capabilities to any MCP client such as Claude.

This server provides a Model Context Protocol (MCP) interface for the powerfulripgrepsearch tool. It enables Claude AI and other MCP-compatible clients to perform high-performance text searches across files on your system.

- Node.js (v18 or higher)
- ripgrep (rg) command installed and available in your PATH. Install it withbrew install ripgrepon macOS.

To use this MCP server with Claude for Desktop:
-

Edit your Claude for Desktop configuration file:

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

Add the following to your configuration:

{ "mcpServers": { "ripgrep": { "command": "npx", "args": ["-y", "mcp-ripgrep@latest"] } } }

Replace/path/to/mcp-ripgrepwith the absolute path to where you cloned this repository.

More advanced search with additional options:

Pattern: function Path: ./src FixedStrings: true FileType: ts IncludeHidden: false
Pattern: TODO Path: ./src CountLines: true

List files that would be searched without actually searching them:

List all supported file types in ripgrep.

This MCP server executes shell commands using the ripgrep tool. While efforts have been made to safely escape arguments, use caution when providing input as it runs commands on your machine.

Search global news using natural language. Webz.io News Search API returns the most relevant articles and content, with filters for source, country, language, date, sentiment, and category.

A collection of servers for file system operations, Google search, web automation, and executing terminal commands.

An industry-grade MCP gateway for OpenClaw environments providing three capabilities: (1) secure workspace file sharing with HMAC-signed time-limited download links via Ngrok tunnel, (2) authenticated URL-to-workspace file downloads with MIME validation, and (3) load-balanced web search across Tavily and Brave with circuit-breaker failover. Requires outbound internet access and an optional Ngrok tunnel for public download links.

Search Chromium source code using advanced Code Search syntax.

A local-first semantic code search tool with vector and regex capabilities, designed for AI assistants.

Search and access programming resources from Stack Overflow, MDN, GitHub, npm, and PyPI.

MCP server for Dash, the macOS API documentation browser

An MCP server that makes documentation and codebases searchable for AI assistants, supporting local directories and Git repositories.

MCP server for Everything (voidtools) file search

Perform lightning-fast local file searches on Windows using the Everything Search Engine.

Search and get recommendations from the official Expo documentation.

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.