# QMOF Database v18: 20,372 DFT-Relaxed Metal-Organic Frameworks (HDF5)

## Facts

- Provider: Rosen et al. (QMOF Database); preprocessed by materials-toolkits
- License: CC-BY-4.0 (https://github.com/Andrew-S-Rosen/QMOF)
- Size: 4 files
- Format: HDF5, Parquet (in sampled files)
- Stored at: Hugging Face, https://huggingface.co/datasets/materials-toolkits/qmof
- Access: public, readable without an account
- Category: Chemistry & Materials
- Source: https://doi.org/10.1016/j.matt.2021.02.015
- Page: https://scigantic.com/archive/0165a2b0-d647-51b5-b8f0-c4bae3c57e7f
- Keywords: Chemistry & Materials, DFT, graph learning, HDF5, Parquet, Hugging Face

## About

The Quantum MOF (QMOF) Database of Rosen and colleagues, version 18, preprocessed into flat HDF5 arrays for machine learning. It holds 20,372 metal-organic frameworks and coordination polymers (2.31 million atoms, 17 to 500 per structure, 79 elements) relaxed with periodic DFT at PBE-D3(BJ) in VASP; it is the database behind the Materials Project MOF Explorer. Labels are the PBE total energy and band gap, with band gaps at HLE17, HSE06* and HSE06 for about 10,800 structures, the D3(BJ) dispersion energy, net magnetic moment, Zeo++ pore-limiting and largest cavity diameters, density, and a flag separating experimental structures from hypothetical ones (ToBaCCo, Boyd and Woo). Files: one HDF5 of lattice, fractional coordinates, atomic numbers and labels, plus all_index.parquet mapping rows to qmof_id, source name, formula, DOI and MOFid (about 70 MB in total, measured 2026-11-15). Used for MOF band gap prediction, electronic structure screening for photocatalysis and graph neural network benchmarks. QMOF is released under CC-BY-4.0; cite Rosen et al., Matter 2021 and npj Computational Materials 2022.

## Load the data

```python
from huggingface_hub import hf_hub_download
path = hf_hub_download(repo_id="materials-toolkits/qmof", filename="all.hdf5", repo_type="dataset")
print(path)
```

## Data structure

File types in sampled files: HDF5, Parquet

Example file: `all.hdf5`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/0165a2b0-d647-51b5-b8f0-c4bae3c57e7f
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/0165a2b0-d647-51b5-b8f0-c4bae3c57e7f
- Over MCP: `get_schema_card` with id `0165a2b0-d647-51b5-b8f0-c4bae3c57e7f` at https://api.scigantic.com/mcp

## Related topics

- [Parquet datasets](https://scigantic.com/topics/parquet)
- [Chemistry & Materials datasets](https://scigantic.com/topics/chemistry-and-materials)
- [HDF5 datasets](https://scigantic.com/topics/hdf5)
- [DFT datasets](https://scigantic.com/topics/dft)
- [Graph learning datasets](https://scigantic.com/topics/graph-learning)
