AI Assistants (MCP)
PRO
Afolio on the Mac can let AI assistants such as Claude work with your LEGO collection. Ask things like “Which of my Star Wars sets are worth the most?”, “Do I own any sets with red 2×4 bricks?” or “Make me a smart collection of every UCS set I don’t have yet”, and the assistant looks it up in Afolio.
It works through MCP (the Model Context Protocol), the standard way AI apps connect to other apps. Afolio runs a small MCP server on your Mac while it’s open, and assistant apps on the same Mac connect to it.
This is a Mac App Store feature. It isn’t available on iPhone or iPad, but because your collection syncs through iCloud, an assistant on your Mac sees everything you’ve added on any device.
Turning It On
- Open Afolio → Settings (⌘,) and choose MCP.
- Turn on Turn On MCP Server. The status line shows Running on port 1340 once it’s ready.
- Connect your assistant (see below).
The server runs whenever Afolio is open and the switch is on. Quit Afolio and assistants can no longer reach it.
Free and Pro
Without Afolio Pro, assistants can search the catalog: sets, minifigures and parts, a set’s details, themes, colours and LEGO measurements. Everything that involves your own collection, the detailed set, part and minifigure tools, instructions, weights and making changes needs Afolio Pro. If an assistant asks for something that needs Pro, Afolio tells it so, and it can pass that on to you.
Allow Changes
By default assistants can only look. Turn on Allow Changes to let them:
- Add sets and loose minifigures to your collection
- Change a copy’s details: condition, built status, stickers, box and instructions condition, how and when you got it, price paid, notes, favourite
- Add to and remove from your wishlist
- Update counts in a set’s parts checklist
- Create smart collections
Every change is a normal change in Afolio: it syncs to your other devices, and you can take it back with Edit → Undo. Assistants can’t delete sets or move them to the Trash.
Connecting an Assistant
Claude Code
In Settings → MCP, click Copy Claude Code Command, paste it into Terminal and press Return. Claude Code then lists Afolio when you type /mcp.
Claude Desktop
- Click Copy Claude Desktop Configuration.
- In Claude, open Settings → Developer → Edit Config. This opens
claude_desktop_config.json. - Paste the configuration. If the file already has an
mcpServerssection, add just the"afolio"entry to it. - Save the file and quit and reopen Claude.
Claude Desktop connects through a small helper called mcp-remote, which needs Node.js installed.
Other Apps
Any app that supports MCP over HTTP can connect with the Address (http://127.0.0.1:1340/mcp) and the Access Token, sent as Authorization: Bearer followed by the token.
Address, Port and Access Token
- Port — 1340 unless you change it. If another app already uses that port, the status line says so: type a different number and press Return, then update your assistant’s settings.
- Access Token — a password only Afolio and your assistants know. Click Show to see it and the copy button to copy it.
- New Access Token… — replaces the token. Assistants using the old one stop working until you give them the new settings. Do this if you think someone else has your token.
Privacy
Only apps running on your Mac can connect, and only with the access token. Afolio doesn’t send your collection anywhere. The assistant app does send what it reads from Afolio to its AI service as part of your conversation, under that app’s own privacy terms, so only connect assistants you trust with your collection.
Recent Activity in Settings → MCP lists the latest requests, so you can see what an assistant looked up or changed.
What Assistants Can Do
- Search the catalog — sets by name, number, theme, year or piece count (including sets new this year), minifigures, and parts by name, number or the element ID printed in instruction booklets.
- Look up details — a set’s minifigures, sub-sets and parts list with element IDs; a part’s colours, size in studs and millimetres (measured from its 3D model in the LDraw parts library), estimated weight, studs and Technic holes, the sets and minifigures that contain it, and which of your sets have it; a minifigure’s parts and sets. Set and part photos are sent as pictures, so the assistant can look at them.
- LEGO measurements — the stud grid in millimetres, Technic and gear spacing, baseplates, train track geometry (straights, curves, switches) and minifigure sizes, for planning builds, track layouts and displays.
- Building instructions — pages of a set’s instructions as pictures, by page or step number, with where each numbered bag starts. Afolio downloads each booklet from LEGO once and keeps it on your Mac.
- Weight — a set’s weight, adding up its parts (all of them, or just some, like a display stand). Afolio estimates each part’s weight from its 3D model. With your BrickLink API keys in Settings → API Keys, it also uses BrickLink’s catalog weights.
- Your collection — a summary (sets, pieces, spending, estimated value, top themes), your sets with filters and sorting, your copies’ details and cached prices, your wishlist and minifigures.
- Missing parts — what’s still unchecked in a set’s parts checklist, ready to turn into a shopping list.
- Smart collections — run your smart collections, try out filters, and save new ones using every field the smart collection editor offers.
- Show in Afolio — open a set, minifigure, part or smart collection in Afolio’s window.
Prices come from the price guides Afolio has already fetched. Assistants can’t fetch new prices. BrickLink weights do use your BrickLink API limit: one lookup per part the first time, then Afolio remembers it. A big set can take a few hundred lookups, spread over several requests.
Part sizes, shapes and weight estimates come from the LDraw parts library by LDraw.org contributors, used under the Creative Commons Attribution licence. Afolio includes measurements taken from the library, not the library itself.
Things to Try
- “What’s my most valuable set, and how much did I pay for it?”
- “List the parts I’m still missing for the Titanic, with element IDs.”
- “Which of my sets contain the Black Falcon knight?”
- “I just bought 10316 Rivendell for $499.99, sealed. Add it.”
- “Create a smart collection of Star Wars sets over 3,000 pieces that I don’t own.”
- “Show me the instruction steps where the Millennium Falcon’s stand is built.”
- “Plan an oval train layout that fits a 2 m × 1 m table, and list the track pieces.”
For more, see 40 things to ask an AI assistant about your LEGO collection and the guide to asking an AI assistant about your collection.
Need help? Contact us at support@afolio.app
Pricing
·
Terms
·
Privacy
·
Refunds
© The Half Bakery Pty Ltd