Query the Materials Project API v3 for crystal structures, band gaps, formation energies, and thermodynamic stability of 150k+ inorganic materials. Use when: (1) searching materials by chemical formula, (2) looking up material properties by MP ID, (3) filtering materials by band gap, energy, or density, (4) finding stable phases for a composition. NOT for: organic molecules (use pubchem-compound), proteins (use uniprot-protein), drug compounds (use chembl-drug).
Search and retrieve computed materials data from the Materials Project database (v3 API). Covers 150k+ inorganic crystalline materials with DFT-computed properties.
All requests require the X-API-KEY header set to your Materials Project API key.
Store it in the MP_API_KEY environment variable.
export MP_API_KEY="your_api_key_here"