An open archive of LibRPA materials calculations — band structures, large-system GW, RPA energies, and reader conversions from both ABACUS and FHI-aims front ends — each with its original inputs, exact basis bindings, software identity, and validation scope. Nothing to install: the link above searches, inspects, previews, and downloads every archived file. The companion ABACUS + LibRPA GW basis skill covers the ABACUS/NAO workflow itself.
Open the gap comparison to choose materials and calculated methods. Use Material to compare methods without a common baseline; the binary transition-metal oxides preset selects that view. Kohn–Sham gap uses each calculation’s own starting point. Experimental gap only plots measurements explicitly matched to the record’s structure and observable. A paper-reported calculation is not a measurement. An empty plot does not mean a zero gap.
Share the filtered page URL to reproduce the selection. For numerical values, use Cite in the table to cite the individual calculation record and, where listed, its original source. Include the measurement source when using an experimental value. Records with the same formula are not averaged and may describe different structures, magnetic states or sampling paths.
Open Crystal structure on a material page to rotate and zoom the input
cell and its first Brillouin zone below the corresponding file download. Each
preview reads that STRU, FHI-aims geometry.in, or POSCAR file. The zone
belongs to the input cell; supercells and 2D vacuum directions retain
their corresponding reciprocal-space geometry.
Special-point labels follow the Setyawan–Curtarolo convention. Primitive cubic, FCC, BCC, tetragonal, orthorhombic, and hexagonal cell settings are recognized under rotations and signed axis permutations. Other cell settings currently show Γ only.
| Layer | Location |
|---|---|
| Catalog, UI, validators, basis library | this repository |
| Calculation payload bytes (inputs, results, logs, figures) | external archive |
- Primary archive: https://huggingface.co/datasets/AroundPeking/LibRPA-database
- Mirror (reachable from mainland China): https://hf-mirror.com/datasets/AroundPeking/LibRPA-database
Every payload is declared in its record.json with the repository-relative
path as identity, size_bytes, sha256 as the integrity anchor, and direct
plus mirror URLs (tier: "referenced"). Validation gates fetch the bytes and
verify the hash (.external-cache/, never committed), so acceptance strength
is the same as when the bytes sat in git. A merged data PR uploads its
payloads to the archive automatically; contributors never need a HuggingFace
account. Basis payloads (data/elements) and species bindings stay in git.
data/calculations/{2d,3d}/<Material>/<case-id>/ record.json + inputs/ + results/ + logs/ + figures/
data/elements/<Element>/ basis library payloads
database/ catalog UI; data.json is the machine-readable catalog
data/log-index.json exactly one owner per retained log
curl -s https://aroundpeking.github.io/LibRPA-database/database/data.json -o data.jsonEach declared file carries its hash and download URLs — verify the SHA-256
after downloading. The API & agents page
lists every endpoint, and llms.txt
summarizes them for language models.
AI agents read through MCP and write through pull requests. The
plugin/ directory
is a Claude Code plugin (this repository is its marketplace) that bundles a
zero-dependency, read-only MCP server with two skills: reading the data, and
contributing a calculation as a pull request.
/plugin marketplace add AroundPeking/LibRPA-database
/plugin install librpa-database@librpa
Other MCP clients run plugin/mcp/server.py directly with Python ≥ 3.9; see
the plugin README.
Data checks use the Python standard library; frontend tests need Node.js 22+.
python3 scripts/library.py --write-catalog
python3 scripts/build_indexes.py --write
python3 scripts/public_scan.py .
python3 -m unittest discover -s tests -v
node --test tests/*.mjsCI accepts only the historical software-identity pairs frozen in
data/historical-software-identity-exceptions.json; a new record needs a full
source commit or the executable's SHA-256. Band figures are rebuilt with
scripts/generate_band_figures.py and exciton-density figures with
scripts/plot_exciton_slice.py (display and evidence contract in
references/plotting.md). Contribution rules:
CONTRIBUTING.md.
Pushing to main publishes through the Publish database workflow; the
deployed commit is recorded in build-info.json. To preview a build locally:
python3 scripts/build_site.py --output _site
python3 -m http.server 8766 --bind 127.0.0.1 --directory _siteThe scripts, schema notes, and catalog UI are MIT licensed. Third-party software and scientific data retain their own licenses and reuse conditions; check the source record before redistributing a payload.
