LEGO sets, parts, minifigs, and inventories as an MCP server
Most developer tooling work still happens through a UI a human drives. Lego MCP server moves it into the conversation instead. LEGO sets, parts, minifigs, and inventories as an MCP server.
lego-oracle on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
The server publishes 10 tools. What each one is for:
search_sets — Search for sets by name, theme, year, or piece count. Full-text search with filtersget_set — Get complete set details: inventory (grouped by part category), minifigures, theme hierarchycompare_sets — Compare 2-4 sets side by side: piece count, year, theme, minifigs, shared partssearch_parts — Search parts by name, category, colour, or materialget_part — Get part details including available colours and mold/print variantsfind_part_in_sets — Find which sets contain a specific part (optionally in a specific colour), sorted by quantitysearch_minifigs — Search minifigures by nameget_minifig — Get minifig details and every set it appears inbrowse_themes — Browse the LEGO theme hierarchy. Top-level themes or drill into sub-themes with set countsfind_mocs — Find community alternate builds (MOCs) for a set's partsPlenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Lego's toolset — search_sets, get_set, compare_sets and 7 more — is a fair guide to whether it matches your workflow. It is maintained by gregario; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| search_sets | Search for sets by name, theme, year, or piece count. Full-text search with filters. |
| get_set | Get complete set details: inventory (grouped by part category), minifigures, theme hierarchy. |
| compare_sets | Compare 2-4 sets side by side: piece count, year, theme, minifigs, shared parts. |
| search_parts | Search parts by name, category, colour, or material. |
| get_part | Get part details including available colours and mold/print variants. |
| find_part_in_sets | Find which sets contain a specific part (optionally in a specific colour), sorted by quantity. |
| search_minifigs | Search minifigures by name. |
| get_minifig | Get minifig details and every set it appears in. |
| browse_themes | Browse the LEGO theme hierarchy. Top-level themes or drill into sub-themes with set counts. |
| find_mocs | Find community alternate builds (MOCs) for a set's parts. |
{
"mcpServers": {
"lego-oracle": {
"command": "npx",
"args": ["-y", "lego-oracle"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.