Lego Oracle MCP Server

LEGO sets, parts, minifigs, and inventories. An MCP server. Ask your AI assistant about LEGO sets, find specific bricks, look up minifigures, browse themes, and compare sets. All backed by Rebrickable's catalog (26k sets, 62k parts, 17k minifigs), not hallucinations. Its 10 documented tools cover sets, part. It runs locally over stdio via the published package.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-01 · ★ 2 · #398 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install Lego Oracle

Claude Code

claude mcp add gregario-lego-oracle -- npx -y lego-oracle

Claude Desktop / Cursor / VS Code - add to config

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

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package lego-oracle - unscoped; check the name against the project README before installing

registry namespace io.github.gregario is GitHub-verified and matches the repo owner

03 · What Lego Oracle can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can search for sets by name, theme, year, or piece count. Full-text search with filters, get complete set details: inventory (grouped by part category), minifigures, theme hierarchy, compare 2-4 sets side by side: piece count, year, theme, minifigs, shared parts, and search parts by name, category, colour, or material.

Capability map

Tools grouped from the project's README - what Lego Oracle lets an agent do.

read & search

8 tools - e.g. Search for sets by name, theme, year, or piece count. Full-text search with filters.; Get complete set details: inventory (grouped by part category), minifigures, theme hierarchy.; Search parts by name…

search_sets · get_set · search_parts · get_part · find_part_in_sets · search_minifigs…

Compare

1 tool - e.g. Compare 2-4 sets side by side: piece count, year, theme, minifigs, shared parts.

compare_sets

Browse

1 tool - e.g. Browse the LEGO theme hierarchy. Top-level themes or drill into sub-themes with set counts.

browse_themes

Latest releases

v0.1.2 · 2026-05-02

v0.1.1 · 2026-03-15

Initial release. 10 tools, 141 tests, 26k sets, 62k parts, 17k minifigs from Rebrickable.

04 · Who maintains Lego Oracle

lego-oracle is maintained by gregario. We track 12 MCP servers from gregario - 12 actively maintained, 41 combined GitHub stars, oldest repo from Mar 2026. Full record: all servers from gregario.

  1. warhammer-oracle Warhammer 40K and Kill Team rules, stats, and game flow MCP server ★ 9
  2. brewers-almanack Brewing knowledge MCP - beer styles, ingredients, off-flavours, water chemistry, recipes ★ 2
  3. dnd-oracle D&D 5e SRD MCP server with monster, spell, equipment search and encounter building tools ★ 5
  4. astronomy-oracle Astronomical catalog data and observing session planner. 13,000+ objects from OpenNGC. ★ 3
  5. lorcana-oracle Disney Lorcana TCG MCP server with card search, deck analysis, ink curves, and set browsing ★ 3
  6. mtg-oracle Magic: The Gathering MCP server - cards, rules, combos, and Commander intelligence ★ 4

05 · Facts

category
other - ranked #398 of 848 actively-maintained other servers as of 2026-08-25.
registry
io.github.gregario/lego-oracle (active, first published 2026-03-15)
packages
npm:lego-oracle

06 · Lego Oracle FAQ

Is Lego Oracle still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-01. We re-verify nightly.

What can Lego Oracle do?

With this server connected, an agent can search for sets by name, theme, year, or piece count. Full-text search with filters, get complete set details: inventory (grouped by part category), minifigures, theme hierarchy, compare 2-4 sets side by side: piece count, year, theme, minifigs, shared parts, and search parts by name, category, colour, or material.

How do I install Lego Oracle?

Run `npx -y lego-oracle`. You can also paste the ready-made client config above.

Does Lego Oracle run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Lego Oracle

More MCP servers to compare · Lorcana Oracle · Mtg Oracle · MAL MCP Server · Pulsenetwork · Doom MCP

More TypeScript MCP servers · Onepiece Oracle · Warhammer Oracle · Easy Notion · see all