Brickognize MCP Server
MCP server for identifying LEGO parts, sets, and minifigures from images using the Brickognize API.
Huge thanks to Piotr Rybak for creating the Brickognize service and making LEGO recognition accessible to everyone!
Setup
npm install
npm run build
Configuration
Add to your MCP client config:
{
"mcpServers": {
"brickognize": {
"command": "node",
"args": ["/absolute/path/to/brickognize-mcp/dist/index.js"]
}
}
}
Tools
| Tool | Description |
|---|---|
brickognize_health | Check API status |
brickognize_identify | Identify any LEGO item from an image |
brickognize_identify_part | Identify a specific LEGO part |
brickognize_identify_set | Identify a LEGO set |
brickognize_identify_fig | Identify a LEGO minifigure |
Image Input
All recognition tools accept:
| Parameter | Description |
|---|---|
imagePath | Absolute path to a local image file (JPEG, PNG, or WebP) |
includeRaw | Include raw Brickognize API response in output (default: false) |
Examples
See the examples folder for prompt templates you can use with this MCP server.
Development
npm run dev # Watch mode
npm run build # Compile
npm run lint # ESLint
npm run format # Prettier