MCP Ripgrep MCP Server

An MCP server to wrap ripgrep

Local serverstdio

What is the MCP Ripgrep MCP Server?

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.

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.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
search

How to install the MCP Ripgrep MCP Server

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

From the project documentation. Replace placeholders and example paths before connecting.

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

An MCP server to wrap ripgrep Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.