COMPARISONS · CODE SEARCH

grep.app alternatives in 2026: code search for developers and AI agents

AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-12-03 · UPDATED · 2026-12-03
SHORT ANSWER · UPDATED 2026-12-03

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.

TOOL · FILTER

Find the grep.app alternative that fits

I need

Sort by

ToolWhat it isBest forLatest releaseLicenceStars
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.appFinding real usage examples in public codeHosted productHosted productHosted product
GitHub code searchCode search across GitHub; GitHub's official MCP server includes a search_code toolPublic code and your own GitHub organisationMCP server v2.3.0, 24 Nov 2026Hosted product; MCP server MITHosted product
SourcegraphCode search and code intelligence across many repos, with an MCP server on Enterprise plansA platform for a whole companyHosted and self-managed productProduct, see sourcegraph.comHosted product
SourcebotSelf-hosted code context layer for humans and agents, with an MCP serverYour own repos on your own serverv6.1.3, 30 Nov 2026MIT4,049
ZoektFast trigram based code search with a web UI and APIsA fast self-hosted index to build onNo GitHub releaseApache-2.02,109
livegrepInteractively grep source codeInteractive regex search of gigabyte-scale repositoriesNo GitHub releaseBSD-2-Clause (COPYING file)2,240
HoundExtremely fast source code search engine with a React front end and a Go backendA simple web search over a list of reposv0.7.1, 3 May 2023MIT5,900
ripgrepRecursive regex search that respects your gitignoreAnything already cloned on your machine16.0.0, 22 Nov 2026MIT or Unlicense70,709
XERJLocal search engine for AI agents over code, docs and files, with cited answers over CLI and MCPYour private code and the docs beside itv1.0.0-rc.105, 23 Nov 2026Apache-2.023,537

Open source stars, licences and descriptions from the public GitHub API on 3 Dec 2026; latest GitHub releases from the releases API the same day. Hosted products show that instead of a star count. For GitHub code search the release column shows GitHub's official MCP server. Tick boxes to keep only the tools that do all of them; sort by stars, newest release or name.
PASTE THIS TO YOUR AI AGENT. IT DOES THE REST 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

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

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