Expand description
ripgrep-powered file + line search.
Pure Rust — Python bindings are in mcp-methods-py. Two entry
points:
ripgrep_fileswalks a directory tree and searches every file matching the glob/type filter. Optionaltransformcallback runs per-file before search (the Python wrapper bridges a callable into&dyn Fn(&str) -> String).ripgrep_linesgreps through aVec<String>of lines with context-window merging. Returns structured matches.
Structs§
- Ripgrep
Files Opts - Optional knobs for
ripgrep_files. - Ripgrep
Lines Group - Result of
ripgrep_lines— one entry per merged context window.
Functions§
- ripgrep_
files - Search for a regex pattern across files using ripgrep’s engine.
- ripgrep_
lines - Grep through
text_lineswith context-window merging. Returns oneRipgrepLinesGroupper merged window.