# Lego Oracle

> Lego Oracle is an open-source MCP server. LEGO sets, parts, minifigs, and inventories as an MCP server. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/gregario/lego-oracle
- **MCP Registry name:** io.github.gregario/lego-oracle
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add lego-oracle -- npx -y lego-oracle
```

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "lego-oracle": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "lego-oracle"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## FAQ

### Is Lego Oracle free?

Yes. Lego Oracle is open source, so you can use and self-host it for free.

### How do I add Lego Oracle to Claude Code?

Run this command in your terminal: claude mcp add lego-oracle -- npx -y lego-oracle

---
Source: https://ai-powered.com/mcp/lego-oracle
