CLI for grep.app — search code across 1M+ public GitHub repos with syntax highlighting. Powered by mcp.grep.app.
cargo install grep-app-cli
grep-app-cli 'useState('cargo install grep-app-cliOr download a binary from GitHub Releases.
grep-app-cli [OPTIONS] <QUERY>grep-app-cli 'useState('
grep-app-cli --language TypeScript --language TSX 'getServerSession'
grep-app-cli --use-regexp --match-case '(?s)useEffect\(.*cleanup'
grep-app-cli --repo facebook/react 'createContext'
grep-app-cli --json 'async function'| Flag | Description |
|---|---|
--match-case |
Case sensitive search |
--match-whole-words |
Match whole words only |
--use-regexp |
Interpret query as a regular expression |
--repo <REPO> |
Filter by repository |
--path <PATH> |
Filter by file path |
--language <LANG> |
Filter by language (repeatable) |
--json |
Output raw JSON |
You can add and use the grep-app-cli skill.
npx skills add sudosubin/grep-app-clicargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings
cargo test --all-features
cargo build --all-featuresMIT, see LICENSE.