Grep
Provides powerful text search capabilities by wrapping the `grep` command-line utility as an MCP server.
Grep is an MCP (Model Context Protocol) server designed to bring the robust text searching capabilities of the `grep` command-line utility into an AI agent's toolkit. It allows users to search for patterns in files and directories using both natural language descriptions and direct regex patterns, making complex searches accessible and efficient. The server emphasizes security with safe command execution and thorough input validation, ensuring reliable and secure operation within an AI-driven environment.
Key Features
01Natural Language Search with automatic regex conversion and built-in patterns
02Comprehensive Search Options like case-sensitivity, whole word matching, and context line display
03Robust Security Measures including safe command execution and input validation
04Advanced Search Capabilities supporting direct regex, recursive directory searching, and file filtering
05Dedicated tools for counting matches and listing files containing patterns
060 GitHub stars
Use Cases
01Searching for email addresses or specific data types across project files using plain English.
02Identifying and counting occurrences of code patterns like function definitions or TODO comments.
03Listing files that contain particular import statements or error messages within a codebase.