Summary
Find who else solved this, then read their code.
Search alone gives you filenames; this pairs grep.app's index with file retrieval and caches the results in between, so "show me three real implementations of this pattern" ends with the actual source in front of you.
What it is
An MCP server over the grep.app API for code search across public GitHub repositories, with file retrieval attached so a hit can be opened rather than just cited.
What you get
- Code search across millions of public repositories, with regex, whole-word and case-sensitive matching available
- Filtering by language, by repository and by file path, so the results narrow to the ecosystem you are actually in
- Individual files fetched from GitHub, and batches of files retrieved in parallel
- Result caching, so retrieving files after a search does not re-run the query
- Output as JSON, as a numbered list, or as formatted text
- Two transports: STDIO for direct client integration, or HTTP with streaming
Requirements
Node.js 18+, then clone, npm install and npm run build. A run script starts it in STDIO or HTTP mode, development or production. No account and no key — grep.app indexes public repositories.
Setup effort
One command — npm install
