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
基本情報
An MCP server to wrap ripgrep
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"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.
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
🚀 The fast, Pythonic way to build MCP servers and clients.
Painless E2E Automation for Mobile and Web

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.

Model Context Protocol Servers
コメント