set
Pack: rebrickable · Endpoint: https://gateway.pipeworx.io/rebrickable/mcp
Fetch a single LEGO set by set_num (e.g. “75192-1”) from Rebrickable. Returns set name, year, theme, part count, and image URL.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
set_num | string | yes |
Example call
Arguments
{
"set_num": "75368-1"
}
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":"set","arguments":{"set_num":"75368-1"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('set', {
"set_num": "75368-1"
});
Response shape
| Field | Type | Description |
|---|---|---|
set_num | string | Set number identifier |
name | string | Set name |
year | number | Year set was released |
theme_id | number | Theme ID |
num_parts | number | Total number of parts |
num_minifigs | number | Total number of minifigures |
set_img_url | string | null | Image URL for set |
set_url | string | Rebrickable URL for set |
last_modified_dt | string | Last modification date |
Full JSON Schema
{
"type": "object",
"properties": {
"set_num": {
"type": "string",
"description": "Set number identifier"
},
"name": {
"type": "string",
"description": "Set name"
},
"year": {
"type": "number",
"description": "Year set was released"
},
"theme_id": {
"type": "number",
"description": "Theme ID"
},
"num_parts": {
"type": "number",
"description": "Total number of parts"
},
"num_minifigs": {
"type": "number",
"description": "Total number of minifigures"
},
"set_img_url": {
"type": [
"string",
"null"
],
"description": "Image URL for set"
},
"set_url": {
"type": "string",
"description": "Rebrickable URL for set"
},
"last_modified_dt": {
"type": "string",
"description": "Last modification date"
}
}
}
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.