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 での使用
この MCP サーバーを Claude for Desktop で使用するには:
- Claude for Desktop 構成ファイルを編集します。
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- 設定に以下を追加します。
/path/to/mcp-ripgrep
このリポジトリのクローンを作成した場所への絶対パスに置き換えます。 - Claude for Desktop を再起動します。
利用可能なツール
検索
ripgrep による基本検索:
詳細検索
追加オプションによるより高度な検索:
一致数
パターンの出現回数をカウントします。
リストファイル
実際に検索せずに、検索対象となるファイルを一覧表示します。
ファイルタイプのリスト
ripgrep でサポートされているすべてのファイル タイプを一覧表示します。
セキュリティに関する考慮事項
このMCPサーバーは、ripgrepツールを使用してシェルコマンドを実行します。引数を安全にエスケープするよう努めていますが、マシン上でコマンドを実行するため、入力にはご注意ください。
ライセンス
マサチューセッツ工科大学
local-only server
The server can only run on the client's local machine because it depends on local resources.
Claude などの MCP クライアントに ripgrep 検索機能を提供し、システム上のファイル間での高性能なテキスト検索を可能にします。
Related MCP Servers
- -securityAlicense-qualityThe Search MCP Server enables seamless integration of network and local search capabilities in tools like Claude Desktop and Cursor, utilizing the Brave Search API for high-concurrency and asynchronous requests.Last updated -152PythonMIT License
- -securityAlicense-qualityProvides web search functionality via DuckDuckGo for Claude Code and MCP-compatible clients, featuring advanced content exploration, navigation across search results, and detailed webpage analysis.Last updated -1PythonMIT License
Kagi MCP Serverofficial
AsecurityAlicenseAqualityAn MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.Last updated -193PythonMIT LicenseVectorizeofficial
AsecurityAlicenseAqualityVectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.Last updated -36067JavaScriptMIT License