search
Search files for specific patterns using regex-based queries, filter by file type, and display context lines. Supports case sensitivity, color output, and result limits for efficient text analysis.
Instructions
Search files for patterns using ripgrep (rg)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
caseSensitive | No | Use case sensitive search (default: auto) | |
context | No | Show N lines before and after each match | |
filePattern | No | Filter by file type or glob | |
maxResults | No | Limit the number of matching lines | |
path | Yes | Directory or file(s) to search. | |
pattern | Yes | The search pattern (regex by default) | |
useColors | No | Use colors in output (default: false) |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from MCP Ripgrep Server
Related Tools
- @mcollina/mcp-ripgrep
- @sylphlab/filesystem-mcp
- @auchenberg/claude-code-mcp
- @mcollina/mcp-ripgrep
- @Alihkhawaher/everything-search-server