get_material
Pack: oqmd · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_material for the schema, then POST the same URL with its arguments for the data.
Fetch a single OQMD material by its entry_id (e.g. 16525 = the Pbcn polymorph of Fe2O3). Returns formation energy (eV/atom), stability above hull, band gap, space group, prototype, cell volume, atom/element counts, ICSD id, and generic composition. Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
entry_id | number | yes | OQMD entry_id, e.g. 16525 (Fe2O3, Pbcn). Get ids from search_materials results. |
Example call
Arguments
{
"entry_id": 16525
}
curl
curl -X POST https://gateway.pipeworx.io/oqmd/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_material","arguments":{"entry_id":16525}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_material', {
"entry_id": 16525
});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the oqmd pack
{
"mcpServers": {
"oqmd": {
"url": "https://gateway.pipeworx.io/oqmd/mcp"
}
}
}
See Getting Started for client-specific install steps.