part
Pack: rebrickable · Endpoint: https://gateway.pipeworx.io/rebrickable/mcp
Fetch details for a single LEGO part by part_num from Rebrickable. Returns part name, category, material, and image URLs across available colors.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
part_num | string | yes |
Example call
Arguments
{
"part_num": "3001"
}
curl
curl -X POST https://gateway.pipeworx.io/rebrickable/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"part","arguments":{"part_num":"3001"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('part', {
"part_num": "3001"
});
Response shape
| Field | Type | Description |
|---|---|---|
part_num | string | Part number identifier |
name | string | Part name |
part_cat_id | number | Part category ID |
part_cat_name | string | Part category name |
part_url | string | Rebrickable URL for part |
part_img_url | string | null | Image URL for part |
year_from | number | null | Year part was first produced |
year_to | number | null | Year part was last produced |
Full JSON Schema
{
"type": "object",
"properties": {
"part_num": {
"type": "string",
"description": "Part number identifier"
},
"name": {
"type": "string",
"description": "Part name"
},
"part_cat_id": {
"type": "number",
"description": "Part category ID"
},
"part_cat_name": {
"type": "string",
"description": "Part category name"
},
"part_url": {
"type": "string",
"description": "Rebrickable URL for part"
},
"part_img_url": {
"type": [
"string",
"null"
],
"description": "Image URL for part"
},
"year_from": {
"type": [
"number",
"null"
],
"description": "Year part was first produced"
},
"year_to": {
"type": [
"number",
"null"
],
"description": "Year part was last produced"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"rebrickable": {
"url": "https://gateway.pipeworx.io/rebrickable/mcp"
}
}
}
See Getting Started for client-specific install steps.