advanced-search
Perform high-performance text searches across files using the MCP Ripgrep Server. Filter by file type, show context lines, use regex or literal strings, and customize search options like case sensitivity and line numbers.
Instructions
Advanced search with ripgrep with more options
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 | |
fileType | No | Filter by file type (e.g., js, py) | |
fixedStrings | No | Treat pattern as a literal string, not a regex | |
followSymlinks | No | Follow symbolic links | |
includeHidden | No | Search in hidden files and directories | |
invertMatch | No | Show lines that don't match the pattern | |
maxResults | No | Limit the number of matching lines | |
path | Yes | Directory or file(s) to search. | |
pattern | Yes | The search pattern (regex by default) | |
showFilenamesOnly | No | Only show filenames of matches, not content | |
showLineNumbers | No | Show line numbers | |
useColors | No | Use colors in output (default: false) | |
wordMatch | No | Only show matches surrounded by word boundaries |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from MCP Ripgrep Server
Related Tools
- @mcollina/mcp-ripgrep
- @mcollina/mcp-ripgrep
- @kevinwatt/shell-mcp
- @mcollina/mcp-ripgrep
- @auchenberg/claude-code-mcp