XERJ, a local search engine and MCP server that indexes a folder of code, docs and logs for AI agentsXERJ, 코드와 문서, 로그 폴더를 색인해 AI 에이전트에게 검색으로 내주는 로컬 검색 엔진
One Rust binary indexes a folder automatically and serves search over an Elasticsearch-compatible API and MCP. The project's case study reports 2.7x fewer output tokens than a grep-driven agent.러스트 실행 파일 하나로 폴더를 자동 색인하고 Elasticsearch 호환 API와 MCP로 검색을 내줍니다. 프로젝트 사례 연구는 grep 방식보다 출력 토큰이 2.7배 적었다고 적었습니다.
- Checked확인일

XERJ is a local search engine and MCP server for AI agents. One Rust binary indexes code, docs, logs, CSV and PDF files for full-text, vector, hybrid and code search and for agent memory, behind an Elasticsearch-compatible API. The repository is public under Apache-2.0, and the latest release on the checked date is v1.0.0-rc.101.XERJ는 AI 에이전트를 위한 로컬 검색 엔진이자 MCP 서버입니다. 러스트로 만든 실행 파일 하나가 코드, 문서, 로그, CSV, PDF 등을 색인해 전문 검색, 벡터 검색, 혼합 검색, 코드 검색, 에이전트 메모리를 제공하고, Elasticsearch 호환 API로 접근합니다. 저장소는 Apache-2.0으로 공개돼 있고, 확인일 기준 최신 릴리스는 v1.0.0-rc.101입니다.
The xerj autoindex command inspects each file in a folder, works out what it is and creates one index per dataset, with no schema or pipeline to write. Source files go through tree-sitter, so code arrives with its symbols and line numbers. Instead of reading whole files, an agent gets ranked passages and file locations from xerj search and finds definitions with xerj def.xerj autoindex 명령은 폴더의 파일을 하나씩 살펴 종류를 가리고 데이터 묶음마다 색인을 따로 만듭니다. 스키마나 파이프라인을 따로 쓰지 않습니다. 소스 파일은 tree-sitter로 읽어 심볼과 줄 번호를 함께 담으므로, 에이전트는 파일을 통째로 읽는 대신 xerj search로 순위가 매겨진 구절과 파일 위치를 받고 xerj def로 정의 위치를 찾습니다.
The project names reference coding as its main use. An agent downloads the open-source repositories closest to a task, indexes them and looks up how they solved the problem before writing its own code. xerj init wires MCP and a skill into Claude Code and Cursor. XERJ Query-1, a model added in rc.101, turns a question into a short search program, runs it over stored facts and returns UNKNOWN when the data cannot support an answer.프로젝트가 주된 쓰임으로 꼽는 것은 레퍼런스 코딩입니다. 에이전트가 과제와 가까운 오픈소스 저장소를 받아 색인한 뒤, 그 저장소들이 문제를 어떻게 풀었는지 찾아보고 코드를 쓰는 방식입니다. xerj init은 Claude Code와 Cursor에 MCP와 스킬을 연결합니다. rc.101에 더해진 XERJ Query-1 모델은 질문을 짧은 검색 프로그램으로 바꿔 저장한 사실 위에서 실행하고, 데이터로 답할 수 없으면 UNKNOWN을 돌려줍니다.

The project's case study measured 8 tasks in 4 languages with 16 runs per condition. A memory-only agent used 260,916 output tokens and $11.18 and solved 11 of 16. A grep-driven agent used 26,477 tokens and $3.27, and XERJ used 9,982 tokens and $1.58, with both solving all 16. The Elasticsearch conformance suite passes 1,444 of 1,454 cases, with 0 failed and 10 skipped.프로젝트 사례 연구는 과제 8개, 언어 4개, 조건별 16회 실행을 잰 결과를 냈습니다. 기억만 쓴 에이전트는 출력 토큰 260,916개에 11.18달러로 16회 중 11회를 풀었고, grep으로 찾는 에이전트는 26,477개에 3.27달러, XERJ는 9,982개에 1.58달러로 둘 다 16회를 모두 풀었습니다. Elasticsearch 호환 시험은 1,454건 가운데 1,444건을 통과했고 실패는 0건, 건너뜀은 10건입니다.
Installation is one line, curl -fsSL https://xerj.org/get | sh, with a separate PowerShell installer for Windows and a Nix route. Prebuilt binaries cover Linux, macOS and Windows on x86-64 and arm64. After a local node starts, xerj autoindex indexes a folder, and MCP clients register xerj mcp.설치는 curl -fsSL https://xerj.org/get | sh 한 줄이고, Windows용 PowerShell 설치 스크립트와 Nix 설치 방법이 따로 있습니다. Linux, macOS, Windows의 x86-64와 arm64용 실행 파일을 미리 빌드해 둡니다. 로컬 서버를 띄운 뒤 xerj autoindex로 폴더를 색인하고, MCP를 지원하는 클라이언트에는 xerj mcp를 등록합니다.
The --insecure flag in the quick start turns off TLS and API-key auth. Every caller that can reach the port can read and delete every index, and the project says the flag is meant for one user on a dev machine. A fresh node binds 127.0.0.1 only. The project says the gain comes from code the model has not memorised and is neutral to harmful on popular public libraries it already knows. XERJ Query-1 is off by default, and in rc.101 it cannot compute sums and gets slower and declines more on large fact sets. Of the 26 clients that can register it, the project has confirmed 6 by running them.빠른 시작에 나오는 --insecure 옵션은 TLS와 API 키 인증을 끕니다. 포트에 닿는 호출자가 모든 색인을 읽고 지울 수 있어, 프로젝트는 혼자 쓰는 개발 컴퓨터용이라고 적었습니다. 새 노드는 127.0.0.1에만 붙습니다. 프로젝트는 이 이득이 모델이 기억하지 못하는 코드에서 나오고, 모델이 이미 아는 유명 공개 라이브러리에서는 효과가 없거나 오히려 해롭다고 적었습니다. XERJ Query-1은 처음에 꺼져 있고, rc.101은 합계를 계산하지 못하며 사실이 많으면 느려지고 답을 더 자주 거절합니다. 등록할 수 있는 클라이언트 26종 가운데 프로젝트가 실행을 확인한 것은 6종입니다.
HREN


