Skip to content
Skillpedia
βœ“ Official Β· XERJ (xerj-org)● Free and open sourceπŸ’» LocalπŸ”“ No API keyAI, memory and agents

XERJ

Lets your AI agent search your local code, docs, logs and PDFs and get cited answers instead of reading files one by one.

19k stars on GitHubby XERJ (xerj-org)License Apache-2.0Updated 18 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Download the .mcpb file and open it with Claude Desktop.

Download the .mcpb file β†—

What to fill in

NameWhat it isRequired
XERJ_URLES-compatible listener of a running XERJ node (start one with xerj --insecure --data-dir ~/xerj-data).No
XERJ_AUTHAuthorization header for a node with auth on, e.g. 'ApiKey <key>'. Optional for a loopback node: the key is read from <data-dir>/admin.key.No

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Index my project folder and tell me where the WAL segment gets rotated.
Find the definition of euler_to_rotationmatrix and show me its signature.

What it is

XERJ is a search engine in one Rust binary that runs on your machine and also works as an MCP server. It indexes folders of code, docs, logs, JSONL/CSV files and PDFs, then answers with ranked passages and file locations. It also offers agent memory and an optional model that turns a question into a checkable search program.

What it can do

  • xerj search: ranked passages with file:line
  • xerj def: go to a definition with file:line and signature
  • xerj autoindex: index a folder automatically
  • xerj_batch_search: run several searches in one call
  • xerj_facts_ask: ask questions over stored facts
  • xerj init: wire XERJ into Claude Code or Cursor

When to use

  • β€ΊWhen you want your coding agent to find code without grepping through whole files.
  • β€ΊWhen you want an agent to search a folder of logs, docs or PDFs and cite where answers came from.
  • β€ΊWhen you want an agent to look at open-source repos for how others solved a problem before writing code.

What you need

The XERJ binary, installed with a curl install script on Linux and macOS (Windows is covered under install by hand). No API key is mentioned.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

The readme says it is a free Apache-2.0 binary. In return the project asks for one short field report from people who run it.

Does it need a GPU or cloud service?

The optional XERJ Query-1 model runs on four CPU cores, offline, with no embeddings to build and no GPU.

Which clients does it work with?

It works with Claude Code, Cursor and any MCP client.

What does the insecure flag do?

It turns off TLS and API-key auth, so anyone who can reach the port has full access. It is meant for one user on a dev machine, and a fresh node binds to 127.0.0.1 only.

What can it index?

Code, docs, logs, JSONL/CSV, PDFs, SQLite and awkward CSVs.

What are the known limits of the model?

The readme says it does not yet handle sums and totals, large fact sets are slow, and it declines more often than an LLM would guess.

If it does not work

  • β€ΊKeep the data directory outside any folder you autoindex, or XERJ will index its own storage.
  • β€ΊIf the model check prints nothing right after start, wait a few seconds and run it again, because the model may still be loading.
  • β€ΊIf a new data directory makes old indices look missing, restart with the previous --data-dir or --config.

5 new skills a week. 1 minute to read.