pinterest-mcp
Provides tools to search Pinterest and download images, fetch images from a Pinterest board, list a user's boards, and get board information.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pinterest-mcp Search Pinterest for minimalist logo design, download 10"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pinterest-mcp
An MCP server that lets Claude (or any MCP client) search Pinterest and download images directly to your machine — no manual browsing, no manual saving.
It talks to Pinterest's own internal web API (the same requests your browser makes when you're logged in), authenticated with your personal session cookie. There's no official public Pinterest API for this, so this project reverse-engineers the internal one.
Features
Search and download — give a keyword, get N full-resolution images saved locally.
Board download — give a board link (
pin.itshort links work), get N images from it.List boards — see a user's boards, with pin counts, without needing a direct link.
Board info — look up a board's name and pin count.
Dedup on re-run — re-fetching the same query or board skips images you already downloaded instead of re-fetching or leaving stale files behind.
Metadata sidecars — each image's title, description, and source link is saved to a matching
.jsonfile in a hidden.metafolder, so the image folder itself stays clean.
Related MCP server: Pinterest MCP Server
Requirements
Python 3.14+
A Pinterest account, logged in via browser
Install
git clone https://github.com/Nuu-maan/pinterest-mcp.git
cd pinterest-mcp
uv syncGetting your Pinterest cookie
This runs as you, using your own logged-in session — it does not create or need a separate API key.
Open pinterest.com in your browser and make sure you're logged in.
Open DevTools (F12) → Network tab.
Reload the page, click any request to
pinterest.com.In the request headers, find
Cookie:and copy the entire value.
Keep this value secret — it's equivalent to your login session.
Configure
Register the server with 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 defaults to www.pinterest.com. If Pinterest redirects you to a country-specific domain when logged in (e.g. in.pinterest.com), use that instead.
Images are saved to ~/Pictures/pinterest-downloads/<name>/ by default, or a custom out_dir you pass to a tool.
Usage
Once configured, just ask:
"Search Pinterest for minimalist logo design, download 10"
"List my Pinterest boards"
"Fetch 5 pins from this board: https://pin.it/xxxxxxx"
Tools
Tool | Description |
| Search and download images |
| List a user's boards |
| Look up a board's name and pin count |
| Download images from a board |
Development
uv run -- python -m tests.test_pins
uv run -- python -m tests.test_downloaderDisclaimer
This uses Pinterest's internal, unofficial API, not a public developer API. It can break if Pinterest changes their endpoints, and heavy use may draw attention from their bot detection. Use it against your own account, at your own risk.
License
MIT — see LICENSE.
Contributing
See CONTRIBUTING.md.
Available Tools
4 toolsfetch_pinterest_boardB
Download up to count full-resolution images from a Pinterest board (accepts pin.it short links).
Inputs: count (required), board_url (required), out_dir.
get_pinterest_board_infoA
Look up a Pinterest board's name and total pin count from its URL (accepts pin.it short links).
Inputs: board_url (required).
get_pinterest_boardsA
List a Pinterest user's boards with url and pin count.
Inputs: username (required).
search_pinterest_imagesB
Search Pinterest for query and download up to count full-resolution images.
Inputs: query (required), count, out_dir.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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.
Pinterest automation: schedule pins, manage boards, write AI blogs and auto-pin them.
Create Pinterest pins from blog posts and Shopify/Etsy products, and schedule them to your boards.
Related MCP Servers
- AlicenseAqualityDmaintenanceExtracts images, gifs, videos, and search results from Pinterest without authentication. Supports search, pin details, board pins, related pins, autocomplete, and media downloads.61MIT
- AlicenseBqualityDmaintenanceEnables image search and information retrieval from Pinterest using the Model Context Protocol. Supports searching by keywords, getting similar pins, and downloading images directly.5MIT
- FlicenseNot gradedqualityDmaintenanceEnables 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.-
- AlicenseAqualityBmaintenanceEnables AI coding agents to search pins, inspect and preview images, find related pins, read public boards, and download full-resolution originals with no login, API key, or headless browser required.62MIT