MCP server
A stdio server that needs only the Python standard library and no credentials. It searches the catalog, opens records, returns SHA-256-verified file contents, parses band tables, and compares gaps.
MATERIALS EXPLORER
Electronic bands, original inputs, and exact basis files — linked to each calculation and its software provenance.
Experimental gaps. No calculation record in this catalog includes a measured gap yet. The DFT and GW values taken from papers are calculations, not measurements. We plot a measurement only when its source is cited and its structure and gap definition match the calculation. A missing value here does not mean that no measurement exists in the literature.
Try another material, an element symbol, or reset the filters.
One row per calculation. Gaps are in eV and may describe the archived k-path, not the global fundamental gap. A dash means no value is listed; open a record for its definition and evidence.
PROGRAMMATIC ACCESS
Every record on this site is plain JSON with hash-anchored payload URLs. Scripts read it over HTTPS, and AI agents read it through a read-only MCP server. Neither path can change the archive: new data arrives as a pull request that CI validates and a maintainer reviews.
A stdio server that needs only the Python standard library and no credentials. It searches the catalog, opens records, returns SHA-256-verified file contents, parses band tables, and compares gaps.
Static JSON on GitHub Pages: a light catalog, one record per calculation, and payloads in the external archive with SHA-256 values and mirror URLs.
A contribution is a branch with one record, its evidence files, and regenerated indexes. CI runs the maintainers' gates; merging publishes the record and archives the bytes.
In Claude Code, the repository is a plugin marketplace. One plugin installs the read-only MCP server together with two skills: one for reading data, one for contributing a calculation as a pull request.
/plugin marketplace add AroundPeking/LibRPA-database
/plugin install librpa-database@librpaAny other MCP client (Claude Desktop, Cursor, Codex, and others) runs the same single-file server. It needs Python 3.9 or newer and works from a downloaded copy of plugin/mcp/server.py.
{
"mcpServers": {
"librpa-database": {
"command": "python3",
"args": ["/path/to/LibRPA-database/plugin/mcp/server.py"]
}
}
}| Tool | What it returns |
|---|---|
database_overview | Record and basis-set counts, elements with record counts, record types, front ends, and where to start. |
search_materials | Records filtered by text, elements (contains all or only these), dimension, front end, record type, methods, and GW-gap range, with their gap values. |
get_material | One complete record: properties, software identity, species bindings, and every declared file with its URLs. |
list_files | The declared files of a record, with tier, size, and primary and mirror URLs. |
read_file | One payload, verified against its SHA-256 before the text is returned. |
get_band_table | A KS, EXX, or GW band export parsed into k-points, energies, and occupations. |
compare_gaps | Kohn–Sham, EXX, and GW gaps side by side, each with its recorded scope, as on the Gap overview page. |
list_basis_sets · get_basis_set | The basis library: valence electrons, orbital and auxiliary sizes, payload URLs, and the calculations that used each set. |
contribution_guide | The pull-request workflow, required evidence, and local gates for adding a calculation. |
All paths are relative to https://aroundpeking.github.io/LibRPA-database/. Payloads in the external archive carry external_url, a mirror in external_url_backup, size_bytes, and sha256; verify the hash after downloading.
| Path | Contents |
|---|---|
database/catalog/index.json | Totals, elements, and software names. |
database/catalog/calculations.json | Every calculation record without its file lists (fast first load). |
database/catalog/basis-sets.json | Every basis set with its files and size labels. |
database/data.json | The complete catalog, including every declared file. |
data/calculations/<2d|3d>/<Material>/<id>/record.json | One complete record; each record page shows its exact URL. |
llms.txt | A short plain-text guide to these endpoints for language models. |
curl -s https://aroundpeking.github.io/LibRPA-database/database/data.json -o data.json
python3 -c "import json; c = json.load(open('data.json')); print(len(c['calculations']), 'records')"The database has no write API. Every new calculation goes through review, by a person or by an agent following the librpa-database-intake skill:
add/<case-id> in your fork of the repository.record.json with inputs/, results/, logs/, and figures/ under data/calculations/<2d|3d>/<Material>/<case-id>/. Sanitize private paths first, then record each file's SHA-256.