pinterest-mcp
pinterest-mcp
Ein MCP-Server, mit dem Claude (oder ein beliebiger MCP-Client) Pinterest durchsuchen und Bilder direkt auf deinen Rechner herunterladen kann – ohne manuelles Browsen, ohne manuelles Speichern.
Er spricht mit Pinterests eigener interner Web-API (denselben Anfragen, die dein Browser macht, wenn du angemeldet bist), authentifiziert mit deinem persönlichen Session-Cookie. Es gibt keine offizielle öffentliche Pinterest-API dafür, daher hat dieses Projekt die interne rekonstruiert.
Features
Suche und Download – gib ein Stichwort ein, erhalte N Bilder in voller Auflösung, die lokal gespeichert werden.
Board-Download – gib einen Board-Link ein (Kurzlinks wie
pin.itfunktionieren), erhalte N Bilder davon.Boards auflisten – sieh dir die Boards eines Benutzers mit Pin-Anzahl an, ohne einen direkten Link zu benötigen.
Board-Informationen – Name und Pin-Anzahl eines Boards nachschlagen.
Deduplizierung bei erneutem Lauf – beim erneuten Abrufen derselben Abfrage oder desselben Boards werden bereits heruntergeladene Bilder übersprungen, anstatt sie erneut zu laden oder veraltete Dateien zurückzulassen.
Metadaten-Begleitdateien – Titel, Beschreibung und Quelllink jedes Bildes werden in einer passenden
.json-Datei in einem versteckten.meta-Ordner gespeichert, sodass der Bildordner selbst sauber bleibt.
Related MCP server: pinterest-mcp
Requirements
Python 3.14+
Ein Pinterest-Konto, das im Browser angemeldet ist
Install
git clone https://github.com/Nuu-maan/pinterest-mcp.git
cd pinterest-mcp
uv syncGetting your Pinterest cookie
Dies läuft als du und verwendet deine eigene angemeldete Sitzung – es erstellt oder benötigt keinen separaten API-Schlüssel.
Öffne pinterest.com in deinem Browser und stelle sicher, dass du angemeldet bist.
Öffne DevTools (F12) → Tab Netzwerk.
Lade die Seite neu und klicke auf eine beliebige Anfrage an
pinterest.com.Suche in den Anfrage-Headern nach
Cookie:und kopiere den gesamten Wert.
Halte diesen Wert geheim – er entspricht deiner Anmeldesitzung.
Configure
Registriere den Server bei Claude Code:
claude mcp add pinterest --scope user \
-e PINTEREST_COOKIE="<paste your cookie here>" \
-e PINTEREST_DOMAIN="www.pinterest.com" \
-- uv --directory /path/to/pinterest-mcp run server.pyPINTEREST_DOMAIN ist standardmäßig auf www.pinterest.com gesetzt. Wenn Pinterest dich nach der Anmeldung auf eine länderspezifische Domain umleitet (z. B. in.pinterest.com), verwende stattdessen diese.
Bilder werden standardmäßig unter ~/Pictures/pinterest-downloads/<name>/ gespeichert, oder in einem benutzerdefinierten out_dir, das du an ein Tool übergibst.
Usage
Nach der Konfiguration kannst du einfach fragen:
„Suche auf Pinterest nach minimalistischen Logo-Designs, lade 10 herunter"
„Liste meine Pinterest-Boards auf"
„Hole 5 Pins von diesem Board: https://pin.it/xxxxxxx"
Tools
Tool | Beschreibung |
| Bilder suchen und herunterladen |
| Die Boards eines Benutzers auflisten |
| Name und Pin-Anzahl eines Boards nachschlagen |
| Bilder von einem Board herunterladen |
Development
uv run -- python -m tests.test_pins
uv run -- python -m tests.test_downloaderDisclaimer
Dies verwendet Pinterests interne, inoffizielle API, keine öffentliche Entwickler-API. Sie kann brechen, wenn Pinterest seine Endpunkte ändert, und intensive Nutzung könnte die Aufmerksamkeit ihrer Bot-Erkennung erregen. Verwende sie mit deinem eigenen Konto, auf eigenes Risiko.
License
MIT – siehe LICENSE.
Contributing
Siehe CONTRIBUTING.md.
Available Tools
4 toolsfetch_pinterest_boardB
Download up to count full-resolution images from a Pinterest board (accepts pin.it short links).
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| out_dir | No | /root/Pictures/pinterest-downloads | |
| board_url | Yes |
get_pinterest_board_infoA
Look up a Pinterest board's name and total pin count from its URL (accepts pin.it short links).
| Name | Required | Description | Default |
|---|---|---|---|
| board_url | Yes |
get_pinterest_boardsA
List a Pinterest user's boards with url and pin count.
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes |
search_pinterest_imagesB
Search Pinterest for query and download up to count full-resolution images.
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| query | Yes | ||
| out_dir | No | /root/Pictures/pinterest-downloads |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v0.1.0- First observed
fetch_pinterest_board - First observed
get_pinterest_board_info - First observed
get_pinterest_boards - First observed
search_pinterest_images
TDQS
Scored across 4 tools
Each tool has a clear purpose: search images, list boards, get board info, and fetch board images. The slight overlap between search_pinterest_images and fetch_pinterest_board (both download images) is mitigated by their distinct sources (query vs. board). No two tools are truly confusing.
All names follow a verb_noun pattern (search, get, fetch). However, there is a mix of 'get' and 'fetch' for similar actions, and 'get_pinterest_boards' vs 'get_pinterest_board_info' could be slightly more distinctive. Still, the pattern is consistent enough for an agent to predict behavior.
Four tools is a reasonable scope for a Pinterest-focused server. It covers the core actions of searching and retrieving board content without being overly sparse or bloated. The count fits well within the typical 3-15 range.
The server covers browsing and downloading images from searches and boards, but lacks operations for pin-level details, user profiles, or any create/update/delete actions. For a read-only image-centric tool, it's decent, but there are noticeable gaps for a full Pinterest API surface.
Maintenance
Related MCP Connectors
Pinterest pins, boards, profiles and keyword search to JSON: saves, images, links, creators.
Download and save Pinterest boards, Instagram posts and web pages into a library you own.
Create Pinterest pins from blog posts and Shopify/Etsy products, and schedule them to your boards.
Search, read and save to your private vault of images, links and notes.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to manage Pinterest boards and pins, create and update pins, and track analytics via the Pinterest API v5.8MIT
- AlicenseAqualityDmaintenanceExtracts images, gifs, videos, and search results from Pinterest without authentication. Supports search, pin details, board pins, related pins, autocomplete, and media downloads.628 npm1MIT
- AlicenseBqualityDmaintenanceEnables image search and information retrieval from Pinterest using the Model Context Protocol. Supports searching by keywords, getting similar pins, and downloading images directly.5150 npmMIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to search public Pinterest pins, retrieve pin metadata and media URLs, and download matching images, GIFs, or videos into a local folder, with read-only tools and explicit confirmation for downloads.-