grep.app alternatives in 2026: code search for developers and AI agents
What are the best grep.app alternatives in 2026? For real examples in public code, GitHub code search or Sourcegraph. For your own private repos, Sourcebot, Zoekt, livegrep or Hound on your own server. For one checkout, ripgrep. For private code plus docs, PDFs and logs with cited answers for an agent, XERJ.
Key number: Grep by Vercel searches over a million public GitHub repositories and has an MCP server at mcp.grep.app. GitHub's official MCP server has 34,937 stars and a search_code tool. Sourcebot has 4,049 stars.
Grep by Vercel facts from Vercel's launch post for its MCP server and its MCP catalog listing. Stars, licences and descriptions for open source tools from the public GitHub API on 3 Dec 2026; latest releases from the releases API the same day. MCP support from each project's README or docs.
TL;DR grep.app, now Grep by Vercel, searches code across over a million public GitHub repositories and also has an MCP server so agents can call it. People look for alternatives when they want to search private repositories, run search on their own server, search more than code, or use a different public index. Use the filter below to keep only the tools that match what you need.
Find the grep.app alternative that fits
Sort by
| Tool | What it is | Best for | Latest release | Licence | Stars |
|---|---|---|---|---|---|
| Grep by Vercel (grep.app) | Search code across over a million public GitHub repositories by string or regex, with an MCP server at mcp.grep.app | Finding real usage examples in public code | Hosted product | Hosted product | Hosted product |
| GitHub code search | Code search across GitHub; GitHub's official MCP server includes a search_code tool | Public code and your own GitHub organisation | MCP server v2.3.0, 24 Nov 2026 | Hosted product; MCP server MIT | Hosted product |
| Sourcegraph | Code search and code intelligence across many repos, with an MCP server on Enterprise plans | A platform for a whole company | Hosted and self-managed product | Product, see sourcegraph.com | Hosted product |
| Sourcebot | Self-hosted code context layer for humans and agents, with an MCP server | Your own repos on your own server | v6.1.3, 30 Nov 2026 | MIT | 4,049 |
| Zoekt | Fast trigram based code search with a web UI and APIs | A fast self-hosted index to build on | No GitHub release | Apache-2.0 | 2,109 |
| livegrep | Interactively grep source code | Interactive regex search of gigabyte-scale repositories | No GitHub release | BSD-2-Clause (COPYING file) | 2,240 |
| Hound | Extremely fast source code search engine with a React front end and a Go backend | A simple web search over a list of repos | v0.7.1, 3 May 2023 | MIT | 5,900 |
| ripgrep | Recursive regex search that respects your gitignore | Anything already cloned on your machine | 16.0.0, 22 Nov 2026 | MIT or Unlicense | 70,709 |
| XERJ | Local search engine for AI agents over code, docs and files, with cited answers over CLI and MCP | Your private code and the docs beside it | v1.0.0-rc.105, 23 Nov 2026 | Apache-2.0 | 23,537 |
Read https://xerj.org/compare/grep-app-alternatives-2026.md. Ask me whether I search public code or private repos, whether search can run on my own server, whether my agent needs an MCP server, and whether docs should be searchable too, then tell me which grep.app alternative fits and how to set it up.
Pick one in ten seconds
- Real usage examples from public code, in the browser or over MCP: Grep by Vercel or GitHub code search.
- One platform for a whole company: Sourcegraph.
- Your own repos on your own server with an MCP server: Sourcebot.
- A fast self-hosted index to build on: Zoekt.
- Interactive regex search of gigabyte-scale repositories: livegrep.
- A light web search over a list of repos: Hound.
- Anything already cloned on your machine: ripgrep.
- Private code plus docs, PDFs and logs with cited answers: XERJ.
Why people look for a grep.app alternative
grep.app is a quick way to find how public code uses an API. Teams look at other tools when the code is private, when search must run on their own server, when the agent needs documents as well as code, or when they want a different public index. For self-hosted engines, see Zoekt alternatives 2026.
grep.app vs GitHub code search and Sourcegraph
Grep by Vercel searches over a million public GitHub repositories by string or regex and filters by language, repository and path. Its MCP server is at https://mcp.grep.app. GitHub code search covers GitHub itself, including your organisation, and GitHub's official MCP server (34,937 stars, MIT, latest release v2.3.0, 24 Nov 2026) lists a search_code tool. Sourcegraph adds code intelligence across many repositories, and its MCP server on Enterprise plans includes keyword search, natural-language search, go to definition and find references.
Self-hosted options for private code
Sourcebot (MIT, 4,049 stars, latest release v6.1.3, 30 Nov 2026) is a self-hosted code context layer with an MCP server. Zoekt (Apache-2.0, 2,109 stars) is a fast trigram index with a web UI and APIs. livegrep (2,240 stars) and Hound (5,900 stars, MIT) are lighter web searches. ripgrep (70,709 stars, MIT or Unlicense) needs no server at all.
XERJ: a new way for AI to search for data
XERJ searches what is on your machine. It indexes code, docs, PDFs and logs, and returns cited passages to agents over CLI and MCP, with BM25, vector and hybrid search in one binary. It is Apache 2.0 and its latest release is v1.0.0-rc.105, 23 Nov 2026. xerj mcp --http serves Streamable HTTP at http://127.0.0.1:9330/mcp, read-only unless you pass --allow-writes. A non-loopback bind needs XERJ_MCP_TOKEN. The flag is --http. A common setup: Grep by Vercel for examples in public code, XERJ for your private code and the documents beside it. See best MCP server for local code search 2026.
Read next
- Zoekt alternatives 2026
- Sourcegraph alternatives 2026
- Grep alternatives 2026
- Context7 alternatives 2026
- Best MCP server for local code search 2026
FAQ
What is the best grep.app alternative in 2026?
For public code, GitHub code search and Sourcegraph. For private repos on your own server, Sourcebot, Zoekt, livegrep or Hound. For one checkout, ripgrep. For private code plus docs with cited answers for an agent, XERJ.
Does grep.app have an MCP server?
Yes. Vercel's launch post describes a Grep MCP server at https://mcp.grep.app that searches public GitHub repositories by string or regex, filtered by language, repository and path.
Can I search private repositories with grep.app?
grep.app searches public GitHub repositories. For private code, run a self-hosted tool such as Sourcebot, Zoekt, livegrep or Hound, or index the folder locally with XERJ.
What is a free grep.app alternative?
Sourcebot (MIT), Zoekt (Apache-2.0), livegrep (BSD-2-Clause), Hound (MIT), ripgrep (MIT or Unlicense) and XERJ (Apache-2.0) are open source and free to self-host.
How was this page checked?
Grep by Vercel facts came from Vercel's launch post for its MCP server and an MCP catalog listing validated on 23 Nov 2026. Stars, licences and descriptions of open source tools came from the public GitHub API on 3 Dec 2026, and latest releases from the releases API the same day.
Evidence
- Vercel: Grep a million GitHub repositories via MCP: over a million public repositories, string or regex search, filters by language, repository and path, endpoint https://mcp.grep.app.
- Grep by Vercel MCP catalog listing: Streamable HTTP, no authentication, one tool named searchGitHub, validated 23 Nov 2026.
- github/github-mcp-server: 34,937 stars, MIT, v2.3.0, 24 Nov 2026; README lists search_code.
- Sourcegraph MCP Server docs: supported on Enterprise plans.
- sourcebot-dev/sourcebot: 4,049 stars, MIT, v6.1.3, 30 Nov 2026.
- sourcegraph/zoekt: 2,109 stars, Apache-2.0. livegrep/livegrep: 2,240 stars, BSD-2-Clause. hound-search/hound: 5,900 stars, MIT.
- BurntSushi/ripgrep: 70,709 stars, MIT or Unlicense, 16.0.0, 22 Nov 2026.
- xerj-org/xerj: 23,537 stars, Apache-2.0, v1.0.0-rc.105, 23 Nov 2026.