loading…
Search for a command to run...
loading…
Provides ripgrep search capabilities to MCP clients like Claude, enabling high-performance text searches across files on your system.
Provides ripgrep search capabilities to MCP clients like Claude, enabling high-performance text searches across files on your system.
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.
rg) command installed and available in your PATH. Install it with brew install ripgrep on macOS.To use this MCP server with Claude for Desktop:
Edit your Claude for Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd the following to your configuration:
{
"mcpServers": {
"ripgrep": {
"command": "npx",
"args": ["-y", "ripgrep-mcp@latest"]
}
}
}
Replace /path/to/ripgrep-mcp with the absolute path to where you cloned this repository.
Restart Claude for Desktop.
Basic search with ripgrep:
Pattern: error
Path: ./src
More advanced search with additional options:
Pattern: function
Path: ./src
FixedStrings: true
FileType: ts
IncludeHidden: false
Count occurrences of a pattern:
Pattern: TODO
Path: ./src
CountLines: true
List files that would be searched without actually searching them:
Path: ./src
FileType: js
List all supported file types in ripgrep.
This MCP server executes the ripgrep binary on your machine. It passes arguments directly to rg without shell command string construction, but you should still use caution when providing paths and patterns because searches run against your local filesystem.
MIT
Выполни в терминале:
claude mcp add ripgrep-mcp -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.