AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
MCP Servers/
xerj
xerj logo

xerj

Active·★ 19.2k·Apache-2.0·Updated 2026-11-17
★ Most Popular

XERJ is a local search engine packaged as a single static Rust binary with no JVM. Running xerj autoindex on a folder sniffs every file and creates typed indices for code, docs, logs, PDFs, SQLite and CSV, with code indexed by symbol and line number through tree-sitter. Queries go through an Elasticsearch-compatible API with BM25, kNN vector and hybrid search, so existing ES clients work unchanged.

Its headline use is reference coding: the agent clones open-source repos close to the task, indexes them, and retrieves how they solved the problem before writing code. The project's own case study (8 tasks, 16 runs per arm) reports 2.7x fewer output tokens than a grep-driven agent at the same 16/16 solve rate, and it states openly that the gain disappears on popular libraries the model already knows.

xerj init wires it into Claude Code or Cursor as an MCP server plus skill, and a /_memory API gives agents long-term memory. The default embedder is lexical and offline; neural embeddings are opt-in (about 90 MB). The quick-start runs with --insecure, meaning no TLS or auth, which is only appropriate on a single-user dev machine. License is Apache-2.0.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-11-12.

License
Apache-2.0
Latest release
v1.0.0-rc.101 · 2026-11-05
Last commit
2026-11-12
Contributors
123
Forks
1,392
Open issues and PRs
187
First published
2026-06-30

Source: GitHub, npm and PyPI public APIs.

#agent-memory#ai-agents#bm25#claude-code#cli#code-search#cursor#elasticsearch
$ Install
$ curl -fsSL https://xerj.org/get | sh
↗ Visit site★ GitHub
01

Features

01xerj autoindex sniffs every file and creates typed indices with no schema or pipeline to write
02Code indexed with symbols and line numbers via tree-sitter, plus go-to-definition (xerj def)
03BM25 full-text, kNN vector and hybrid search behind an Elasticsearch-compatible API
04xerj init wires it into Claude Code or Cursor as an MCP server plus skill in one command
05/_memory namespaces give agents long-term memory recalled by meaning
02

Why choose it

+Zero-config autoindex turns any folder of mixed files into searchable typed indices in one command.
+Elasticsearch-compatible API means existing clients, dashboards and tooling work against it unchanged.
+Ships as one static binary with an offline default embedder, so no JVM or cloud service is needed.
03

Trade-offs

!The quick-start --insecure mode has no TLS or auth; shared or networked use needs proper security setup.
!By its own case study, token savings are small or negative on popular libraries the model already knows.
!Semantic search quality depends on opting into the neural embedder and staging its model files.
04

Maintenance check

ActiveChecked: 2026-11-06
Last commit
2026-11-06
Commits, last 90 days
100+
Releases, last 90 days
30
Latest release
pack-rust-vulns-ad69ad64 (2026-11-06)
Open issues
142
Recent issues with at least one comment
0/12
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 245, 196, 43, 17, 26, 117, 126, 169, 349, 356, 245, 110

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

Most discussed open issues

  • #1122 engine: node dies SIGABRT under memory exhaustion — std thread-spawn sigaltstack panic hits panic="abort"14 comments · 2026-10-03
  • #2426 xc: exact symbol query for LabPanoAdapter returns unrelated MapAdapter instead of its definition (rc.99, Windows)8 comments · 2026-10-25
  • #2580 search: CJK lexical ranking is weak on short/rare terms, and judge gives 0.0 to every hit on Chinese queries (rc.99)6 comments · 2026-10-28
  • #2527 [bug]: do not reach out to AIs6 comments · 2026-10-27
  • #2513 search: natural-language code queries rank README/docs and demo code above the real implementation files (rc.99)5 comments · 2026-10-27

Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.

05

Compatibility

Claude Code
MCP + skill
Verified via docs
Cursor
MCP + skill
Verified via docs
Elasticsearch clients
Compatible API
Verified via docs
Linux / macOS / Windows
Prebuilt binary
Verified via docs
06

Quick start

1
$ curl -fsSL https://xerj.org/get | sh
07

Use cases

↳Reference coding: clone and index similar open-source repos, then retrieve how they solved a problem
↳Codebase Q&A and RAG with answers cited by file:line
↳Security audits and log/incident analysis across mixed file types
↳Persistent agent memory across sessions
08

Alternatives

⚡Top VS:
VSyantrikdb-mcp★25→VSsverklo★82→VSkanzo★1.2k→VSGraft★11.3k→
pmb logo
pmb★ 291
Local-first persistent memory for AI coding agents (Claude Code, Cursor, Codex) via MCP. 94.5% LoCoMo recall@10, 70ms p50, multilingual, zero API keys.
yantrikdb-mcp logo
yantrikdb-mcp★ 25
Persistent cognitive memory for AI agents — drop-in MCP server for Claude Code, Cursor, Windsurf. Temporal decay, contradiction detection, knowledge graph, autonomous consolidation. Backed by the YantrikDB Rust engine. Install: pip install yantrikdb-mcp.
VSCompare→
sverklo logo
sverklo★ 82
The local-first MCP server for code intelligence — symbol graph, blast-radius, git-pinned memory. Open-source alternative to Greptile/Sourcegraph for Claude Code & Cursor.
VSCompare→
kanzo logo
kanzo★ 1.2k
Self-hosted, sharable kanban for humans and agents. One 4.7 MB binary, 5 MB of RAM, 10 to 60 tokens per agent reply, starts in 3 ms, zero setup.
VSCompare→
Graft logo
Graft★ 11.3k
Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebase.
VSCompare→
taste-skill logo
taste-skill★ 117.7k
Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
VSCompare→
ai-devkit logo
ai-devkit★ 1.7k
The control plane for AI coding agents.
VSCompare→
wordcell logo
wordcell★ 16
Wordcell keeps decisions, plans, and sources as Markdown beside your code, so coding agents can find them from the file they are about to change.
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Maintenance check05Compatibility06Quick start07Use cases08Alternatives
xerj-org /
xerj
↗

One Rust binary that indexes any folder so coding agents search instead of reading files

19.2k1.4kApache-2.0
Last commit1d ago
StatusActive
CategoryMCP Servers
Contributors123
Latest releasev1.0.0-rc.101
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.