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

NameTypeRequiredDescription
part_numstringyes

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

FieldTypeDescription
part_numstringPart number identifier
namestringPart name
part_cat_idnumberPart category ID
part_cat_namestringPart category name
part_urlstringRebrickable URL for part
part_img_urlstring | nullImage URL for part
year_fromnumber | nullYear part was first produced
year_tonumber | nullYear 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.

Regenerated from source · build July 6, 2026