What are the prerequisites for MCP Ripgrep Server?
Node.js (v18 or higher) and the ripgrep (`rg`) command installed and available in your PATH. On macOS, install ripgrep with `brew install ripgrep`.
@mcollina
Basic information
An MCP server to wrap ripgrep
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"ripgrep": {
"command": "npx",
"args": [
"-y",
"mcp-ripgrep@latest"
]
}
}
}Search files for patterns using ripgrep (rg)
Advanced search with ripgrep with more options
Count matches in files using ripgrep
List files that would be searched by ripgrep without actually searching them
List all supported file types in ripgrep
A Model Context Protocol (MCP) server that provides ripgrep (rg) search capabilities to any MCP client such as Claude. It enables high-performance text searches across files on the user's system.
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.
Node.js (v18 or higher) and the ripgrep (`rg`) command installed and available in your PATH. On macOS, install ripgrep with `brew install ripgrep`.
Edit your Claude for Desktop configuration file (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS) and add the server entry with `command: "npx"` and `args: ["-y", "mcp-ripgrep@latest"]`, then restart the application.
Five tools: `search`, `advanced-search`, `count-matches`, `list-files`, and `list-file-types`. Each supports a pattern, path, and tool-specific options like file type, fixed strings, or hidden file inclusion.
Yes. This server executes shell commands using the ripgrep tool. While arguments are safely escaped, use caution with input as commands run on your machine.
It uses the Model Context Protocol (MCP), which is supported by clients like Claude for Desktop. The server exposes tools that the client can invoke to perform ripgrep searches.

Model Context Protocol Servers

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
Hindsight: Agent Memory That Learns
A curated list of references for MLOps
A search tool helps dev to solve the naming things problem.
Comments