AI SearchOpen_source
XERJ logo

XERJ

Local-first search engine and MCP server built for AI agents

Overview

About XERJ

XERJ is a local-first search engine and MCP server built for AI agents, shipped as a single Rust binary. It indexes your code, documents, logs, JSONL, CSV and PDFs, then answers an agent's questions from that index rather than forcing the agent to read source files into its context window. It speaks the Elasticsearch 8.13 wire protocol, so clients you already run connect without changes, and it offers BM25 full-text, vector and hybrid search through one API on port 9200.

The problem it targets is specific. A coding agent that meets an API it has not memorised invents method names, fails to compile, and loops, and every lap spends output tokens. Grep does not fix that, because grep only says where to look and the agent still has to read the source. XERJ's answer is what the project calls reference coding: clone the open-source repositories closest to what you are building, index them once with xerj autoindex, and let the agent retrieve the exact definition and its contract before writing a line. The vendor measured eight tasks across four languages, sixteen runs per arm, and reports 2.7 times fewer output tokens at the same solve rate. Those are the vendor's own benchmarks, but the site publishes losses next to wins: a ten-question exam on a 518 MB corpus is reported as nine correct and one partial against a grep-and-python baseline's ten out of ten, described on the page as a tie rather than a rout. The licence is Apache-2.0. The project is young, and the download button currently reads v1.0.0-RC.98 rather than a 1.0 release.

Pricing

Custom pricing, contact sales

Free tier
  • Community$0/mo
  • ProfessionalContact sales
  • EnterpriseContact sales

From the vendor pricing page, 2026-10-23

Details

GitHub Stars 17,498
Forks 1,324
Data from: GitHub • Website•Updated: Oct 29, 2026
developer-toolscode-searchsearch-engineopen-sourcemcp