← all corpora

lexbuild

reference corpus · status live · domain LAW (Law and regulation) · lane A · refresh pinned · tags GLOBAL · USLM · LEGISLATIVE-XML · US-CODE · MARKDOWN · RAG

What an agent uses it for

An agent converting official legislative XML (USLM) into LLM-friendly structured Markdown queries this for a reference CLI and its transformation/metadata pipeline.

Use it
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/lexbuild.json
xerj corpus add --from ./lexbuild.json
xerj corpus index lexbuild then xerj code lexbuild "your question"

Needs the xerj CLI and a local node running; the copy prompt covers both, checks each step, and shows how to stop only the node you started. No shell: the MCP tool xerj_code_search with corpus: "lexbuild", once the corpus is indexed on the node.

Sources and pins

sourcepinlicencesizereview note
lexbuild 8cc0b93b7003MIT 3.4 MB / 564 files licence host-verified (ok-spdx): MIT

3.4 MB across 564 files. Added 2026-10-13.

Rights

MIT. Redistribution permitted with attribution per the licence review. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.

Retrieval spot-check (G7)

Not yet spot-checked. Queries are pre-registered in the registry before grading.