xerj-org

    xerj-org/xerj

    #62 this week

    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.

    llm
    agent-memory
    ai-agents
    bm25
    claude-code
    cli
    Rust
    Apache-2.0
    12.8K stars
    806 forks
    12.8K GitHub watchers
    Updated Oct 22, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    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 --insecure flag 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 /_memory namespace. It is meant for one user on a dev machine: a fresh node binds 127.0.0.1 only, 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.

    Excerpt from the xerj-org/xerj README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Oct 8: +110Oct 14: +145Oct 15: +621Oct 16: +1,200Oct 17: +1,274Oct 18: +875Oct 19: +621Oct 20: +2,106Oct 21: +1,900Oct 22: +358

    +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

    xerj-org/xerj compared with LLM repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    xerj-org/xerj12.8K+8.7K75today
    DietrichGebert/ponytail171.6K+8.1K755 days ago
    tashfeenahmed/freellmapi39.0K+3.7K75today
    JuliusBrussee/caveman114.1K+2.4K758 days ago
    thesysdev/openui12.9K+2.0K756 days ago
    ollama/ollama184.2K+1.4K40today
    Category median114.1K+2.4K75—

    Discover Repositories

    Search across tracked repositories by name or description