xerj-org/xerj
Local-first search engine and MCP server for AI agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
Ranks #1 among LLM repositories tracked this week, and #6 over the last 30 days; #62 of 2,531 repositories GStars tracks this week (top 2%).
This week's +8,731 stars is ahead of its 30-day pace of about +2,559 per week.
5 releases in the last 90 days, the latest today, with 65 contributors on GitHub.
Peaked at #62 in the weekly ranking the week of Oct 18, its best in the past year.
Use Cases & Benefits
- Indexes and searches code, documents, logs, and PDFs using AI-powered autoindexing with Elasticsearch-compatible APIs.
- Reduces token usage by up to 40x compared to grep, enabling efficient AI agent data access without reading entire files.
- Use for reference coding to retrieve relevant code snippets from similar open-source projects before writing new code.
- Use for security audits by querying indexed codebases for sink patterns, secrets, and dangerous calls across file types.
- Use for log and incident analysis by indexing mixed-format logs and enabling fast, typed queries with aggregations.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
Apache 2.0
Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.
Community files
- README: present
- Contributing guide: present
- Code of conduct: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
XERJ is a community-trusted local AI search that indexes any folder automatically, so your coding agent stops burning tokens reading files one by one and pulls the exact code it needs instead. Reference coding is its main use case and the clearest win: point an agent at a task and it downloads the open-source repos closest to it, indexes them, and reuses how they solved the problem before writing its own code. In a controlled study that cut a coding agent's output tokens by 2.7x at the same 16/16 solve rate (case study), and people report roughly 5x in everyday work (field reports). It is enough for a smaller, cheaper model to out-code a pricier one working from memory, while you spend less time in fix loops. Try it now with a one-prompt install:
Windows and a hand-verified install are under Install by hand.
That
--insecureflag is a trust boundary, not a formality. It turns off TLS and API-key auth, so every caller that can reach the port is a superuser who can read and delete every index, including every/_memorynamespace. It is meant for one user on a dev machine: a fresh node binds127.0.0.1only, and a cleartext bind on any other interface refuses to start unless you explicitly allow it. The full model is in docs/SECURITY_MODEL.md.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
+9,767 stars over 15 days across 12 snapshot days; best day +2,106 on Oct 20.
Forks
806+571
Open issues
148+133
Compared with peers in LLM
Fastest-growing repositories GStars tracks in this cohort for the week of Oct 18, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| xerj-org/xerj | 12.8K | +8.7K | 75 | today |
| DietrichGebert/ponytail | 171.6K | +8.1K | 75 | 5 days ago |
| tashfeenahmed/freellmapi | 39.0K | +3.7K | 75 | today |
| JuliusBrussee/caveman | 114.1K | +2.4K | 75 | 8 days ago |
| thesysdev/openui | 12.9K | +2.0K | 75 | 6 days ago |
| ollama/ollama | 184.2K | +1.4K | 40 | today |
| Category median | 114.1K | +2.4K | 75 | — |
Discover Repositories
Search across tracked repositories by name or description