MCP Ripgrep Server

by mcollina
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Provides specific configuration support for macOS users, with documented paths for Claude for Desktop configuration and installation instructions for ripgrep via Homebrew.

  • Integrates with Node.js environment to run the ripgrep search functionality, enabling the MCP server to execute high-performance text searches across the filesystem.

MCP Ripgrep 서버

Claude와 같은 모든 MCP 클라이언트에 ripgrep(rg) 검색 기능을 제공하는 MCP 서버입니다.

개요

이 서버는 강력한 검색 도구인 ripgrep 에 모델 컨텍스트 프로토콜(MCP) 인터페이스를 제공합니다. Claude AI 및 기타 MCP 호환 클라이언트가 시스템의 여러 파일에 대해 고성능 텍스트 검색을 수행할 수 있도록 지원합니다.

필수 조건

  • Node.js(v18 이상)
  • ripgrep( rg ) 명령어가 설치되어 PATH에 등록되어 있습니다. macOS에서는 brew install ripgrep 으로 설치하세요.

Claude for Desktop 사용

Claude for Desktop과 함께 이 MCP 서버를 사용하려면:

  1. Claude for Desktop 구성 파일을 편집하세요.
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. 구성에 다음을 추가하세요.지엑스피1/path/to/mcp-ripgrep 이 저장소를 복제한 절대 경로로 바꾸세요.
  3. 데스크톱에서 Claude를 다시 시작합니다.

사용 가능한 도구

찾다

ripgrep을 이용한 기본 검색:

Pattern: error Path: ./src

고급 검색

추가 옵션을 통한 고급 검색:

Pattern: function Path: ./src FixedStrings: true FileType: ts IncludeHidden: false

카운트-매치

패턴의 발생 횟수 세기:

Pattern: TODO Path: ./src CountLines: true

목록 파일

실제로 검색하지 않고도 검색될 파일을 나열합니다.

Path: ./src FileType: js

파일 유형 목록

ripgrep에서 지원되는 모든 파일 유형을 나열합니다.

보안 고려 사항

이 MCP 서버는 ripgrep 도구를 사용하여 셸 명령을 실행합니다. 인수를 안전하게 이스케이프하기 위해 노력했지만, 컴퓨터에서 명령을 실행하기 때문에 입력을 제공할 때는 주의하십시오.

특허

MIT

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Claude와 같은 MCP 클라이언트에 ripgrep 검색 기능을 제공하여 시스템의 파일에서 고성능 텍스트 검색이 가능합니다.

  1. Overview
    1. Prerequisites
      1. Usage with Claude for Desktop
        1. Available Tools
          1. search
          2. advanced-search
          3. count-matches
          4. list-files
          5. list-file-types
        2. Security Considerations
          1. License
            ID: hcia0l3ms0