Open Source • MIT License • v2.1

LLMR: One file.
Fewer tokens.

LLMR is a JSON site index that gives AI systems your entire website in one fetch. No HTML parsing. No wasted tokens.

633,997
bytes of HTML
→
10,974
bytes of LLMR
98.3%
reduction • measured

What it looks like

Your whole site in a JSON file. Compressed keys. Every token earns its place.

llmr.json ~1,600 tokens for 21 blog posts
{ "v": "2.1", "s": { "d": "raphaelreck.com", "a": { "n": "Raphaël Reck", "r": "IT_sys_sw_consultant" }, "llms_txt": "/llms.txt" }, "p": [ { "id": "when-webservices-lie", "u": "/blog/when-webservices-lie.html", "d": "2025-08-30", "tg": ["drupal", "debug"], "rt": 9, "cb": 24, "sum": "Drupal hooks firing too early, web services returning wrong data." } ] }

Real numbers, not estimates

Measured on raphaelreck.com: 21 blog posts, 93 code blocks.

raphaelreck.com • measured april 2026
Original HTML (all pages) 633,997 bytes
LLMR file 10,974 bytes
Reduction 98.3%
HTTP requests 21 → 1
Estimated tokens ~158,000 → ~1,665

LLMR is an index with summaries, not a content mirror. AI systems use it for site comprehension and discovery, then fetch individual pages when they need full text.

Two files, two jobs

llms.txt is the curated front door, llmr.json the complete index. Serve both: each one links to the other.

How llms.txt and llmr.json split the work, and how each file links to the other
Aspect llms.txt llmr.json
Role Curated front door Complete structured index
Format Markdown JSON with compressed keys
Lists The pages worth reading first Every page
Per page Title, link, one-line note Type, date, summary, keywords, read time
Agents use it to Get their bearings Search and filter by type, date or topic
Links to the other ## Optional → llmr.json s.llms_txt → llms.txt
llms.txt hand-written, abridged
# LLMR

> LLMR (LLM-Readable) is an open JSON site index format. [...]

## Docs
- [LLMR v2.1 specification](https://gitlab.com/open-llmr/spec/-/raw/main/SPEC.md): [...]

## Optional
- [LLMR site index](https://open-llmr.org/llmr.json): every page as structured JSON [...]

Agent flow: read llms.txt to get its bearings → query llmr.json when the curated list is not enough → fetch only the pages it picked.
Serve both: llmr generate ./my-site --domain example.com --llms-txt writes them and links them.
See ours: /llms.txt · /llmr.json

Install

Python works today. The other platforms are on their way.

$ pip install "git+https://gitlab.com/open-llmr/python.git"
$ llmr generate ./my-site --domain example.com --llms-txt
$ llmr read example.com # any site: index found, tokens saved
Not on npm yet # v2.1 source: gitlab.com/open-llmr/npm
Not on wordpress.org yet # v2.1 source: gitlab.com/open-llmr/wordpress
$ composer require open-llmr/laravel && php artisan llmr:generate # coming soon
$ drush llmr:generate # coming soon

Then add to your HTML:
<link rel="llmr" type="application/json" href="/llmr.json">
Ubuntu 23.04+ or Debian 12: use pipx install "git+https://gitlab.com/open-llmr/python.git".

Ecosystem

Each platform gets its own repo on GitLab.

LLMR ecosystem: available packages by platform and status
Package Platform Status
specJSON Schema + fixturesLive · v2.1
pythonpip install from GitLab · generate + readLive · 2.3
npmTypeScript / Node 20+v2.1 on GitLab, not on npm yet
wordpressWP 6.7+ / 7.0 Abilities APIv2.1 on GitLab, not on wordpress.org yet
laravelLaravel 12+ / ComposerPlanned
drupalDrupal 11+ / DrushPlanned