Lego MCP Server

LEGO sets, parts, minifigs, and inventories as an MCP server

Local serverstdio

What is the Lego MCP Server?

LEGO sets, parts, minifigs, and inventories as an MCP server

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
search_setsSearch for sets by name, theme, year, or piece count. Full-text search with filters.
get_setGet complete set details: inventory (grouped by part category), minifigures, theme hierarchy.
compare_setsCompare 2-4 sets side by side: piece count, year, theme, minifigs, shared parts.
search_partsSearch parts by name, category, colour, or material.
get_partGet part details including available colours and mold/print variants.
find_part_in_setsFind which sets contain a specific part (optionally in a specific colour), sorted by quantity.
search_minifigsSearch minifigures by name.
get_minifigGet minifig details and every set it appears in.
browse_themesBrowse the LEGO theme hierarchy. Top-level themes or drill into sub-themes with set counts.
find_mocsFind community alternate builds (MOCs) for a set's parts.

How to install the Lego MCP Server

{
  "mcpServers": {
    "lego-oracle": {
      "command": "npx",
      "args": ["-y", "lego-oracle"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • “Use Lego to search sets.”
  • “Use Lego to get set.”
  • “Use Lego to compare sets.”

Frequently asked questions

LEGO sets, parts, minifigs, and inventories as an MCP server Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.