get_structure
Pack: crystallography · Endpoint: https://gateway.pipeworx.io/crystallography/mcp
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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
cod_id | string | yes | COD numeric structure id, e.g. “1009000”. |
Example call
Arguments
{
"cod_id": "1009000"
}
curl
curl -X POST https://gateway.pipeworx.io/crystallography/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_structure","arguments":{"cod_id":"1009000"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_structure', {
"cod_id": "1009000"
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"crystallography": {
"url": "https://gateway.pipeworx.io/crystallography/mcp"
}
}
}
See Getting Started for client-specific install steps.