Repository navigation
Getting Started
English · Português

Status: built (M3b, #4). The MCP server is built and v0.1.0 is released on GitHub. The npm package is planned (M7, #8). The outputs on this page were captured from the real server against live Pinterest on 2026-12-02.
Install the server, add it to your agent, then ask for references. In about five minutes you go from nothing to a numbered contact Sheet, a few saved Refs and a Moodboard page. You need Node 22.19 or newer and an agent that speaks MCP.
curl -fLO https://github.com/vkmtx/botticelli/releases/download/v0.1.0/botticelli-0.1.0.tgz
npm install -g ./botticelli-0.1.0.tgzThen register it with your agent. In Claude Code, from your project folder:
claude mcp add -s project botticelli -- botticelliEvery client takes the same entry, {"mcpServers":{"botticelli":{"command":"botticelli"}}}. Install has the file and steps for Claude Desktop, Cursor, VS Code, Codex CLI and Windsurf, Windows notes and how to uninstall. Start your agent from the project folder: the Library (refs/) is created there.
Check it. In Claude Code, run /mcp. You should see botticelli with eight tools: search, look, related, collection, get, palette, save and moodboard.
Ask your agent:
Find references for "brutalist poster typography". Portrait only, at least 600 px wide. Show me a contact sheet.
The agent calls search:
{
"query": "brutalist poster typography",
"limit": 12,
"filters": {
"minWidth": 600,
"orientation": "portrait"
},
"sheet": true
}You get back a numbered list of Refs and one image, the Sheet. The server asked Pinterest, dropped shops and low-res images, removed Reposts, ranked what was left and drew the numbers in.

The text part of the result lists each Ref (#1, #2, …) with its title, size, source site, author and palette. It also lists what was dropped and why. next is a cursor for more.
Say which numbers you like:
Show me 1, 2 and 3 bigger.
The agent calls look with {"refs": ["#1", "#2", "#3"], "size": "medium"} and returns a new Sheet of just those three, labelled with the numbers you gave.

look does not renumber the list, so #4 still means the same Ref.
Save 1, 2 and 4 to a Board called "poster typography".
The agent calls save. This is the real result, trimmed:
{
"board": "poster typography",
"saved": [
{
"input": "#1",
"stable": "p:9dc1",
"path": "/home/you/project/refs/poster-typography/01_954b3b786d8ea51f.png",
"sidecarPath": "/home/you/project/refs/poster-typography/01_954b3b786d8ea51f.png.json",
"bytes": 1896741
},
{
"input": "#2",
"stable": "p:e37c",
"path": "/home/you/project/refs/poster-typography/02_e296c264771c9e22.jpg",
"sidecarPath": "/home/you/project/refs/poster-typography/02_e296c264771c9e22.jpg.json",
"bytes": 1935949
},
"…"
],
"failed": []
}The images are now in your project under refs/poster-typography/, each with a Sidecar (.json) that records where it came from, its palette and its dhash. Saving the same Ref again writes nothing.
Build the moodboard for that Board.
The agent calls moodboard and gives you the path:
{
"path": "/home/you/project/refs/poster-typography/moodboard.html",
"refs": 3,
"palette": ["#e8eeea", "#1e1d1e", "#5b5b5b", "#96968b", "#fc719b"]
}Open refs/poster-typography/moodboard.html in a browser. It is one static page with the Refs, the combined palette and the credits.

- Recipes: prompts for common jobs. A brief to a Moodboard, more like this, importing a board, filters.
- Tools: every param, default and error.
- Configuration: default filters and the Library folder.
- FAQ and Troubleshooting.
The full steps are on the Install page. In short: install the release tarball with npm install -g, then add the command botticelli to your client. To use a clone, run npm ci, npm run build, then npm install -g ..
git clone https://github.com/vkmtx/botticelli.git
cd botticelli
npm ci
npm run typecheck
npm test
npm run build| Script | What it does |
|---|---|
npm run build |
Compiles src/ to dist/
|
npm run typecheck |
tsc --noEmit over src, test and the config files |
npm test |
The offline suite. It never touches the network |
npm run test:live |
The live canary against real Pinterest. Run it by hand |
node scripts/e2e.mjs |
A live search, look, save and moodboard through the built server, in a temp folder |
This script does by hand what the search tool does. Save it in the repo root as example.ts and run it with npx tsx example.ts.
import { writeFile } from 'node:fs/promises';
import { createPinterestSource } from './src/sources/pinterest/index.js';
import { applyFilters, decode, dedupe, dhash, palette, rank, renderSheet, type RawImage } from './src/pipeline/index.js';
import type { Ref } from './src/core/types.js';
const pinterest = createPinterestSource();
const { refs } = await pinterest.search('brutalist poster typography', { limit: 24 });
const { kept, dropped } = applyFilters(refs, { minWidth: 600, orientation: 'portrait' });
console.log(`kept ${kept.length}, dropped ${dropped.length}`);
const pixels = new Map<string, RawImage>();
const prepared: Ref[] = [];
for (const ref of kept) {
const thumb = await pinterest.fetchImage(ref.imageUrl, 'thumb');
const raw = decode(thumb.bytes, thumb.mimeType);
pixels.set(ref.key, raw);
prepared.push({ ...ref, dhash: dhash(raw), palette: palette(raw) });
}
const { kept: unique, reposts } = dedupe(prepared);
console.log(`${reposts.length} reposts removed`);
const top = rank(unique).slice(0, 36);
const sheet = renderSheet(top.map((ref, i) => ({ image: pixels.get(ref.key)!, label: `#${i + 1}` })));
await writeFile('sheet.jpg', sheet);dropped also holds the reason for each Ref, such as min-width: 480 < 600 or blocked domain: etsy.com. A search with no login returns Refs without a pin id. That is normal (Sources).
The full lists are in Troubleshooting and the FAQ. The three most common:
The agent does not list botticelli. Restart the agent after adding it, and check that botticelli runs in a terminal. See Troubleshooting.
npm ci fails with an engine error. Your Node is older than 22.19.0. Check node --version.
search returned fewer Refs than my limit. Filters and Repost removal run after Pinterest answers. Pass next as cursor to get more.
This wiki mirrors docs/ in the repository. Edit the docs there, not here. · MIT · Not affiliated with Pinterest or Are.na.
Use
Understand
Contribute
Project