HSP Symmetry
Use the packaged hsp MCP server. Tool names here are raw MCP names;
let the client resolve their namespace. IRSSG identification runs on the
service; no local IRSSG installation or wrapper is needed.
Choose the workflow
- For an mPOSCAR or magnetic CIF (
mcif), read
material analysis. Use
hsp_prepare_structure_upload, upload raw bytes, then
hsp_identify_structure_symmetry and hsp_get_symmetry_analysis.
- For an already known SG, MSG or SSG, call
hsp_get_symmetry_group with a
group object as below. Read catalogue workflows
for parent-group discovery, stored SG/MSG representations, or custom
SSG k-point calculations.
| Group |
group example |
Identifier contract |
| Space group (SG) |
{"kind":"space","number":194} |
Integer 1–230 |
| Magnetic space group (MSG) |
{"kind":"magnetic","number":"63.7.517"} |
OG a.b.c or BNS a.b string; retain the scheme |
| Spin space group (SSG) |
{"kind":"spin","number":"194.1.6.1.P"} |
Exact catalogue identifier, including .L/.P when present |
Examples illustrate identifier formats, not guaranteed catalogue coverage.
For material identification, use the returned SG integer, MSG OG/BNS
numbers and SSG identifier to fetch each available group's complete
record. Missing MSG/SSG identifiers are unavailable results, not an
invitation to select a group from the catalogue.
Scientific interpretation
- Identification results describe the input material. Catalogue records
supply group data, including Wyckoff positions and k-vectors. Keep these
sources distinct when their operation sets or coordinate conventions differ.
- For material SSG/MSG operations, use
result.spin_operations and
result.magnetic_operations, preserving the complete text, count,
order, printed precision and basis. MSG-to-SSG indices are a cross-reference;
do not use them to truncate the SSG table.
- IRSSG's
spin_basis (D) defines SSG spin axes. MSG spin matrices use
Cartesian coordinates. Collinear/coplanar SSG tables contain reduced spin
blocks; do not expand them into assumed 3-by-3 matrices.
- Preserve complete returned coordinate expressions, operation order,
primitive/conventional conventions and representation metadata. A
k-vector's multiplicity need not equal its number of coordinate strings.
- The tools do not run IRSSG
-pw/-wann or determine electronic band
characters. Stored or custom group representations do not establish a
material's band assignment.
Present the requested data
Report identifiers with their schemes, actual analysis parameters,
warnings, and the source of each operation table. For requested complete
tables, include every returned row directly in the answer; artifact links
provide additional provenance. Respect requests for a summary or another format.
- Wyckoff positions: include label, multiplicity, site symmetry when
available, coordinate index and every
coordinates string. Use one row
per coordinate.
- High-symmetry k-vectors: display
label, multiplicity, little
cogroup when available, coordinate convention, coordinate index and all
coordinates_primitive and available coordinates_conventional strings.
Use one row per coordinate. Keep internal letter for representation
lookup rather than showing it by default.
- Operations and representations: retain operation indices and the
matching matrix/character order. Include all operations for a complete
table request; counts and download links alone do not supply the table.
Keep stored values unchanged. For display, use exact crystallographic
symbols only when their interpretation is supported by the source and
precision: for example, 0.5 as 1/2, and a confirmed standard
0.866025… coefficient as sqrt(3)/2, including coefficients attached to
variables or moments. Do not infer exact values from arbitrary decimals
or zero small terms without justification; otherwise show the returned value.
For combined position/spin or k/spin coordinates, show the full parenthesized
expression. In Markdown tables, encode its separator as | so the
visible pipe stays inside the cell. Avoid HTML layout tags. Omit columns
that are unavailable throughout; use a dash and explain partial missing
values without printing literal null.
Scientific workflow reference:
upstream HSP symmetry skill.
1---2name: hsp-symmetry3description: Identify material SG, MSG and SSG from magnetic mPOSCAR/mcif structures through HSP, query catalogue operations, Wyckoff positions and k-vectors, and obtain group representations. Use for HSP symmetry analysis and catalogue queries; material band-character calculations and point-group or subgroup queries are outside this MCP workflow.4display_name: "HSP 怀柔对称性研究平台"5display_name_en: "HSP Huairou Symmetry Platform"6description_zh: "从 mPOSCAR/mcif 磁结构识别空间群、磁空间群与自旋空间群,查询对称操作、Wyckoff 位置、高对称 k 矢量及群表示,并提供分析文件。"7description_en: "Identify space, magnetic and spin space groups from mPOSCAR/mcif structures; query symmetry operations, Wyckoff positions, high-symmetry k-vectors and group representations, and retrieve analysis files."8version: "0.1.2"9author: "Tiannian Zhu"10metadata:11 source: https://skillmd.com/skills/infometa/hsp-symmetry12---1314# HSP Symmetry1516Use the packaged `hsp` MCP server. Tool names here are raw MCP names;17let the client resolve their namespace. IRSSG identification runs on the18service; no local IRSSG installation or wrapper is needed.1920## Choose the workflow2122- For an mPOSCAR or magnetic CIF (`mcif`), read23 [material analysis](references/material-analysis.md). Use24 `hsp_prepare_structure_upload`, upload raw bytes, then25 `hsp_identify_structure_symmetry` and `hsp_get_symmetry_analysis`.26- For an already known SG, MSG or SSG, call `hsp_get_symmetry_group` with a27 `group` object as below. Read [catalogue workflows](references/catalogue-workflows.md)28 for parent-group discovery, stored SG/MSG representations, or custom29 SSG k-point calculations.3031| Group | `group` example | Identifier contract |32| --- | --- | --- |33| Space group (SG) | `{"kind":"space","number":194}` | Integer 1–230 |34| Magnetic space group (MSG) | `{"kind":"magnetic","number":"63.7.517"}` | OG `a.b.c` or BNS `a.b` string; retain the scheme |35| Spin space group (SSG) | `{"kind":"spin","number":"194.1.6.1.P"}` | Exact catalogue identifier, including `.L`/`.P` when present |3637Examples illustrate identifier formats, not guaranteed catalogue coverage.38For material identification, use the returned SG integer, MSG OG/BNS39numbers and SSG identifier to fetch each available group's complete40`record`. Missing MSG/SSG identifiers are unavailable results, not an41invitation to select a group from the catalogue.4243## Scientific interpretation4445- Identification results describe the input material. Catalogue records46 supply group data, including Wyckoff positions and k-vectors. Keep these47 sources distinct when their operation sets or coordinate conventions differ.48- For material SSG/MSG operations, use `result.spin_operations` and49 `result.magnetic_operations`, preserving the complete `text`, `count`,50 order, printed precision and basis. MSG-to-SSG indices are a cross-reference;51 do not use them to truncate the SSG table.52- IRSSG's `spin_basis` (`D`) defines SSG spin axes. MSG spin matrices use53 Cartesian coordinates. Collinear/coplanar SSG tables contain reduced spin54 blocks; do not expand them into assumed 3-by-3 matrices.55- Preserve complete returned coordinate expressions, operation order,56 primitive/conventional conventions and representation metadata. A57 k-vector's multiplicity need not equal its number of coordinate strings.58- The tools do not run IRSSG `-pw`/`-wann` or determine electronic band59 characters. Stored or custom group representations do not establish a60 material's band assignment.6162## Present the requested data6364Report identifiers with their schemes, actual analysis parameters,65warnings, and the source of each operation table. For requested complete66tables, include every returned row directly in the answer; artifact links67provide additional provenance. Respect requests for a summary or another format.6869- **Wyckoff positions:** include label, multiplicity, site symmetry when70 available, coordinate index and every `coordinates` string. Use one row71 per coordinate.72- **High-symmetry k-vectors:** display `label`, multiplicity, little73 cogroup when available, coordinate convention, coordinate index and all74 `coordinates_primitive` and available `coordinates_conventional` strings.75 Use one row per coordinate. Keep internal `letter` for representation76 lookup rather than showing it by default.77- **Operations and representations:** retain operation indices and the78 matching matrix/character order. Include all operations for a complete79 table request; counts and download links alone do not supply the table.8081Keep stored values unchanged. For display, use exact crystallographic82symbols only when their interpretation is supported by the source and83precision: for example, `0.5` as `1/2`, and a confirmed standard84`0.866025…` coefficient as `sqrt(3)/2`, including coefficients attached to85variables or moments. Do not infer exact values from arbitrary decimals86or zero small terms without justification; otherwise show the returned value.8788For combined position/spin or k/spin coordinates, show the full parenthesized89expression. In Markdown tables, encode its separator as `|` so the90visible pipe stays inside the cell. Avoid HTML layout tags. Omit columns91that are unavailable throughout; use a dash and explain partial missing92values without printing literal `null`.9394Scientific workflow reference:95[upstream HSP symmetry skill](https://github.com/zjwang11/IRSSG/tree/main/skills/hsp-symmetry).