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

NameTypeRequiredDescription
set_numstringyes

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

FieldTypeDescription
set_numstringSet number identifier
namestringSet name
yearnumberYear set was released
theme_idnumberTheme ID
num_partsnumberTotal number of parts
num_minifigsnumberTotal number of minifigures
set_img_urlstring | nullImage URL for set
set_urlstringRebrickable URL for set
last_modified_dtstringLast 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.

Regenerated from source · build July 6, 2026