Crystallography
v0.3.1Crystallography Open Database (COD) MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_structures
Search the Crystallography Open Database (COD), an open repository of crystal structures (inorganic, organic, metal-organic, and mineral). Search by compound name (free text), chemical formula, or mineral name; returns matching crystal structures with unit-cell parameters, space group, year, and a link to the CIF structure file. Keyless. Provide at least one of query, formula, or mineral. Formulas are normalized to COD's stored Hill notation for you, so "NaCl", "SiO2" and "CaCO3" all work; the response reports `formula_searched` with the exact string that was matched.
| Parameter | Type | Description |
|---|---|---|
formula | string | Chemical formula in any common spelling — "NaCl", "SiO2", "CaCO3", "C6H6", or COD's own "O2 Si". It is converted to COD's stored Hill form (C first, then H, then the rest alphabetically; counts of 1… |
limit | number | Max structures to return (default 20, max 100). |
mineral | string | Mineral name, e.g. "Quartz", "Calcite", "Halite". Matched against each structure's mineral field (case-insensitive substring), so "Quartz" also returns "Quartz low" / "Quartz high". |
query | string | Free-text search (compound/common name, title words, author, etc.). e.g. "quartz", "aspirin". |
get_structure
Look up a single crystal structure in the Crystallography Open Database (COD) by its numeric COD ID (e.g. "1009000"). Returns the compound/mineral name, chemical formula, space group, full unit-cell parameters (a, b, c, alpha, beta, gamma, volume), bibliographic details (title, authors, journal, year, DOI), and a link to the CIF structure file. Keyless.
| Parameter | Type | Description |
|---|---|---|
cod_id * | string | COD numeric structure id, e.g. "1009000". |
get_cif
Fetch the full CIF (Crystallographic Information File) for a COD structure by its numeric COD ID — the actual machine-readable structure: symmetry operations and the atom sites (element, fractional x/y/z coordinates, occupancy). Use after search_structures/get_structure when you need the real atomic structure, not just the metadata/link. Returns the CIF text plus a parsed summary (formula, space group, cell, atom count). Keyless.
| Parameter | Type | Description |
|---|---|---|
cod_id * | string | COD numeric structure id, e.g. "1009000". |