Skip to content
LexBuild

LexBuild

U.S. Legal Texts as Structured Markdown

An open-source toolchain for turning U.S. legal codes and regulations into per-section Markdown, served through a searchable web resource, REST API, and MCP server. Built for LLMs, agentic workflows, RAG pipelines, and semantic search.

1.05M+ Documents
Continuously Updated
MIT Licensed

CLI Quick Start

No complex configuration required. Additional CLI options are available.

USC Download all 54 Titles of the U.S. Code directly from the source XML provided by the OLRC and convert into per-section Markdown files.
$ npx @lexbuild/cli download-usc --all
$ npx @lexbuild/cli convert-usc --all
Download and convert a single title, such as Title 29 , which includes Section 1022 as shown in the sample output below.
$ npx @lexbuild/cli download-usc --titles 29
$ npx @lexbuild/cli convert-usc --titles 29 --include-notes

How It Works

U.S. legal codes and regulations, parsed into a typed AST and rendered as per-section Markdown. Ingested from official government sources, stored in SQLite, indexed in Meilisearch, and served through a web resource, REST API, and MCP server.

@lexbuild/cli
Orchestrates the full pipeline
Download Parse Convert Write
Source
USLM 1.0 XML
eCFR XML
Any Legal Schema
Core Engine
@lexbuild/core
SAX Parse Typed AST Render
Frontmatter Link Resolution Metadata
Source Parsers
@lexbuild/usc
USLM XML → AST builder
@lexbuild/ecfr
eCFR XML → AST builder
@lexbuild/fr
FR XML → AST builder
@lexbuild/<source>
Source data → AST builder
Output
Structured Markdown
Per-section .md files with YAML frontmatter.
Document Store
SQLite
Source of truth with SHA-256 content hashing
Search Index
Meilisearch
Derived index for fast, faceted full-text search
Web Resource
@lexbuild/astro
Browse the full corpus. Copy or download any section.
Data API
@lexbuild/api
A REST API for the full corpus, returning JSON, Markdown, or plaintext.
MCP Server
@lexbuild/mcp
The full corpus exposed as MCP tools and resources for agents and assistants.

Sample Output

Each section is a standalone Markdown file with YAML frontmatter for metadata, cross-reference links, and the full statutory or regulatory text with structure preserved.

---
title: "29 USC § 1022 - Summary plan description"
title_number: 29
title_name: "LABOR"
section_number: "1022"
section_name: "Summary plan description"
chapter_number: 18
chapter_name: "EMPLOYEE RETIREMENT INCOME SECURITY PROGRAM"
positive_law: false
currency: "119-73"
last_updated: "2025-12-08"
format_version: "1.1.0"
generator: "[email protected]"
source_credit: "(Pub. L. 93–406, title I, § 102, Sept. 2, 1974, 88 Stat. 841; Pub. L. 104–191, title I, § 101(c)(2), Aug. 21, 1996, 110 Stat. 1951; Pub. L. 104–204, title VI, § 603(b)(3)(C), Sept. 26, 1996, 110 Stat. 2938; Pub. L. 105–34, title XV, § 1503(b), Aug. 5, 1997, 111 Stat. 1061; Pub. L. 111–3, title III, § 311(b)(1)(B), Feb. 4, 2009, 123 Stat. 67.)"
---
# § 1022. Summary plan description

**(a)** A summary plan description of any employee benefit plan shall be furnished to participants and beneficiaries as provided in section 1024(b) of this title. The summary plan description shall include the information described in subsection (b), shall be written in a manner calculated to be understood by the average plan participant, and shall be sufficiently accurate and comprehensive to reasonably apprise such participants and beneficiaries of their rights and obligations under the plan. A summary of any material modification in the terms of the plan and any change in the information required under subsection (b) shall be written in a manner calculated to be understood by the average plan participant and shall be furnished in accordance with section 1024(b)(1) of this title.

**(b)** The summary plan description shall contain the following information: The name and type of administration of the plan; in the case of a group health plan (as defined in section 1191b(a)(1) of this title), whether a health insurance issuer (as defined in section 1191b(b)(2) of this title) is responsible for the financing or administration (including payment of claims) of the plan and (if so) the name and address of such issuer; the name and address of the person designated as agent for the service of legal process, if such person is not the administrator; the name and address of the administrator; names, titles, and addresses of any trustee or trustees (if they are persons different from the administrator); a description of the relevant provisions of any applicable collective bargaining agreement; the plan's requirements respecting eligibility for participation and benefits; a description of the provisions providing for nonforfeitable pension benefits; circumstances which may result in disqualification, ineligibility, or denial or loss of benefits; the source of financing of the plan and the identity of any organization through which benefits are provided; the date of the end of the plan year and whether the records of the plan are kept on a calendar, policy, or fiscal year basis; the procedures to be followed in presenting claims for benefits under the plan including the office at the Department of Labor through which participants and beneficiaries may seek assistance or information regarding their rights under this chapter and the Health Insurance Portability and Accountability Act of 1996 with respect to health benefits that are offered through a group health plan (as defined in section 1191b(a)(1) of this title), the remedies available under the plan for the redress of claims which are denied in whole or in part (including procedures required under section 1133 of this title), and if the employer so elects for purposes of complying with section 1181(f)(3)(B)(i) of this title, the model notice applicable to the State in which the participants and beneficiaries reside.

---

**Source Credit**: (Pub. L. 93–406, title I, § 102, Sept. 2, 1974, 88 Stat. 841; Pub. L. 104–191, title I, § 101(c)(2), Aug. 21, 1996, 110 Stat. 1951; Pub. L. 104–204, title VI, § 603(b)(3)(C), Sept. 26, 1996, 110 Stat. 2938; Pub. L. 105–34, title XV, § 1503(b), Aug. 5, 1997, 111 Stat. 1061; Pub. L. 111–3, title III, § 311(b)(1)(B), Feb. 4, 2009, 123 Stat. 67.)

## Editorial Notes

### References in Text

This chapter, referred to in subsec. (b), was in the original "this Act", meaning , known as the Employee Retirement Income Security Act of 1974. Titles I, III, and IV of such Act are classified principally to this chapter. For complete classification of this Act to the Code, see Short Title note set out under  and Tables.

The Health Insurance Portability and Accountability Act of 1996, referred to in subsec. (b), is , , . For complete classification of this Act to the Code, see Short Title of 1996 Amendment note set out under , The Public Health and Welfare, and Tables.

### Amendments

2009—Subsec. (b).  substituted ", the remedies" for "and the remedies" and inserted ", and if the employer so elects for purposes of complying with , the model notice applicable to the State in which the participants and beneficiaries reside" before the period at end.

1997—, substituted "Summary plan description" for "Plan description and summary plan description" in section catchline.

Subsec. (a). , struck out "(1)" after subsec. designation and struck out par. (2) which read as follows: "A plan description (containing the information required by subsection (b)) of any employee benefit plan shall be prepared on forms prescribed by the Secretary, and shall be filed with the Secretary as required by . Any material modification in the terms of the plan and any change in the information described in subsection (b) shall be filed in accordance with ."

Subsec. (b). , substituted "The summary plan description shall contain" for "The plan description and summary plan description shall contain".

1996—Subsec. (b).  made technical amendment to references in original act which appear in text as references to .

inserted "in the case of a group health plan (as defined in ), whether a health insurance issuer (as defined in ) is responsible for the financing or administration (including payment of claims) of the plan and (if so) the name and address of such issuer;" after "type of administration of the plan;" and "including the office at the Department of Labor through which participants and beneficiaries may seek assistance or information regarding their rights under this chapter and the Health Insurance Portability and Accountability Act of 1996 with respect to health benefits that are offered through a group health plan (as defined in )" after "presenting claims for benefits under the plan".

## Statutory Notes and Related Subsidiaries

### Effective Date of 2009 Amendment

Amendment by  effective , and applicable to child health assistance and medical assistance provided on or after that date, with certain exceptions, see , set out as an Effective Date note under , The Public Health and Welfare.

### Effective Date of 1996 Amendments

Amendment by  applicable with respect to group health plans for plan years beginning on or after , see  set out as a note under .

Amendment by  applicable with respect to group health plans for plan years beginning after , except as otherwise provided, see , set out as an Effective Date note under .

### Regulations

Secretary authorized, effective , to promulgate regulations wherever provisions of this subchapter call for the promulgation of regulations, see .

Packages

The library layer of the monorepo, versioned and released in lock-step across all packages. Source-specific parsers depend on a shared core engine but not on each other, so new sources can be added without modifying existing ones.

@lexbuild/plaw
Public Laws & Statutes at Large

Enrolled bills and session laws from GovInfo.gov, bridging bill text and final codification.

Planned
@lexbuild/bills
Congressional Bills

Bill text and amendments from Congress.gov, across all introduced, active, and enacted legislation.

Planned
@lexbuild/cfr
Annual CFR

Point-in-time annual edition from GovInfo.gov, complementing the continuously-updated @lexbuild/ecfr.

Planned
@lexbuild/<state>
State Statutes

State-level statutory code parsers. Same pipeline, broader coverage.

Planned
@lexbuild/<municipality>
Municipal Code

City and county ordinances, starting with the Municipal Code of Chicago.

Planned