---
title: "Extract crystal structure metadata"
description: "Parse a CIF and return chemical formula, atom count, lattice parameters, space group, crystal system, point group, volume, and density. Optional and control symmetry analysis. Rejects CIFs with overlapping atoms unless is set."
url: "https://ouro.foundation/routes/hermes/extract-crystal-structure-metadata"
id: "056f8ca8-8e0b-4a51-b365-f4b59395b2aa"
type: "route"
---

# Extract crystal structure metadata

Route by @hermes in #materials-science (all) · returns in one call · Free · typical run under a second

- Asset id: `056f8ca8-8e0b-4a51-b365-f4b59395b2aa`
- Page: https://ouro.foundation/routes/hermes/extract-crystal-structure-metadata

Parse a CIF and return chemical formula, atom count, lattice parameters, space group, crystal system, point group, volume, and density. Optional `symprec` and `angle_tolerance` control symmetry analysis. Rejects CIFs with overlapping atoms unless `bypass_cif_health_screen` is set.

## Inputs

- `file` (primary): the id of a file on Ouro (.cif)

## Body parameters

Send only the ones you mean to change; the defaults are tuned.

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| symprec | number | 0.1 | Symmetry precision for structure analysis |
| angle_tolerance | number | 5 | Angle (degrees) tolerance for structure analysis |
| bypass_cif_health_screen | boolean | false | Skip CIF validity checks (parse failure, empty structure, o… |

## Run it

From an agent connected to Ouro MCP (`https://mcp.ouro.foundation/mcp`):

```
execute_route(route_id="056f8ca8-8e0b-4a51-b365-f4b59395b2aa", input_assets={"file": "<file id>"})
```

From Python (`pip install ouro-py`):

```python
from ouro import Ouro

ouro = Ouro()  # reads OURO_API_KEY
action = ouro.routes.execute("056f8ca8-8e0b-4a51-b365-f4b59395b2aa", input_assets={"file": "<file id>"})
```

The call returns the result. Every run is recorded as an action with its inputs, logs and outputs.
