MCP Ripgrep MCP Server

An MCP server to wrap ripgrep

Local serverstdio

What is the MCP Ripgrep MCP server?

MCP Ripgrep MCP server exists for a simple reason — assistants are far more useful when they can act on MCP Ripgrep directly instead of describing what you should do. An MCP server to wrap ripgrep.

What you get

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 powerful ripgrep search tool. It enables Claude AI and other MCP-compatible clients to perform high-performance text searches across files on your system.

What the assistant can call

Once MCP Ripgrep is connected, these are the calls the assistant has available:

  • macOS — ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows — %APPDATA%\Claude\claude_desktop_config.json
  • search — The search tool exposed by this server

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Configuration and credentials

  • Node.js (v18 or higher) - ripgrep (rg) command installed and available in your PATH. Install it with brew install ripgrep on macOS.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. MCP Ripgrep's toolset — macOS, Windows, search — is a fair guide to whether it matches your workflow. It is maintained by mcollina; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against MCP Ripgrep's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp ripgrep mcp server does with a few real requests.

Available tools

ToolWhat it does
macOS~/Library/Application Support/Claude/claude_desktop_config.json
Windows%APPDATA%\Claude\claude_desktop_config.json
searchThe search tool exposed by this server.

How to install the MCP Ripgrep MCP server

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

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Node.js (v18 or higher) - ripgrep (rg) command installed and available in your PATH. Install it with brew install ripgrep on macOS.

Example prompts to try

  • Use MCP Ripgrep to macOS.
  • Use MCP Ripgrep to Windows.
  • Use MCP Ripgrep to search.

Frequently asked questions

It connects MCP Ripgrep to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (macOS, Windows, search) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Ripgrep directly.