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-mcpSearch 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
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).
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| out_dir | No | /root/Pictures/pinterest-downloads | |
| board_url | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must fully disclose behavior. It mentions the count limit and that pin.it short links are accepted, but it does not describe side effects such as file writing to out_dir, overwrite behavior, failure modes, rate limits, or whether authentication is required. For a download tool, this is insufficient transparency—it appears to write files but does not explain what happens on existing files or errors.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the primary action and includes a useful parenthetical about short links. It avoids unnecessary words and is easy to scan. It loses a point because it could be slightly more organized with parameter mentions, but it is otherwise concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with three parameters, no annotations, no output schema, and 0% schema description coverage, the description is not complete enough. It covers the main purpose and two parameters partially, but leaves out behavioral details (e.g., what happens when files exist, error handling) and the out_dir parameter entirely. An agent would have to infer too much to use this tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It partially explains 'count' (up to count images) and 'board_url' (including short links), but it does not mention 'out_dir' at all. Given that out_dir is a parameter with a default, the description should at least state that it specifies the output directory. The explanation is incomplete, especially since only two of three parameters are addressed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's action (download), the resource (full-resolution images from a Pinterest board), and a key capability (accepting pin.it short links). It is distinct from sibling tools like search_pinterest_images, get_pinterest_boards, and get_pinterest_board_info, which focus on searching, listing, or fetching metadata rather than downloading image files.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The usage context is implied through the verb 'download' and the reference to 'images from a Pinterest board,' but there is no explicit statement of when to prefer this tool over alternatives or any exclusions. For example, it does not say 'Use this when you need to download images; use search_pinterest_images to find boards.' The guidance is indirect and relies on the user inferring from the purpose.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses the core behavior (returns name and pin count) and that it accepts short links, which is useful. However, it does not explicitly state that this is read-only or describe any side effects, error handling, or authentication requirements. For a simple lookup, this is acceptable but not richly transparent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that front-loads the primary purpose and returns the exact information. It includes a relevant note about short links without any fluff. Every word earns its place, and it is easily scannable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple single-parameter lookup tool with no output schema or annotations, the description covers the essential context: what it does, what input it expects, and what output it provides (name and pin count). It lacks details about error responses or whether authentication is needed, but the tool's simplicity means an agent likely has enough information to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema provides only a parameter named 'board_url' with a title 'Board Url' and no description (0% coverage). The description compensates by explaining that the parameter is a URL of a board and that pin.it short links are accepted, giving the agent concrete guidance on what value to provide. This adds significant meaning beyond the bare schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's action ('look up') with a specific resource ('Pinterest board') and the exact output ('name and total pin count'). It also notes that it accepts pin.it short links, which adds specificity. This differentiates it from sibling tools like get_pinterest_boards (likely lists boards) and fetch_pinterest_board (likely fetches full board details) without needing to open schemas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use this tool (when you need just the name and total pin count of a board) but does not explicitly state alternatives or exclusions. It does not mention when to prefer get_pinterest_boards or fetch_pinterest_board. There is no clear 'use this instead of X' guidance, so it's adequate but not explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_pinterest_boardsA
List a Pinterest user's boards with url and pin count.
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It reveals that the tool returns board urls and pin counts, which implies a read-only listing operation. However, it does not explicitly state that it is read-only, nor does it mention authentication requirements, rate limits, or whether it returns all boards or has any limit. It adds value beyond the schema by specifying the output fields, but lacks depth on side effects or constraints.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence with no wasted words. It front-loads the main purpose and the specific output fields. It is appropriately sized for a simple listing tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with one parameter and no output schema, the description provides enough to call it correctly: it states the input (user) and the key output (url and pin count). It could mention pagination or limits, but for a basic listing operation, this is nearly complete. It does not leave critical gaps that would prevent a correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema offers zero description coverage, so the description must compensate. It implicitly ties the 'username' parameter to the Pinterest user whose boards are listed, giving context. However, it does not elaborate on formatting, validation, or optional aspects. This is a minimal but functional clarification of the parameter's role.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (list), the resource (Pinterest user's boards), and the specific data returned (url and pin count). It distinguishes itself from sibling tools like search_pinterest_images (search images) and get_pinterest_board_info (likely detailed info on a single board) by focusing on listing boards with basic metadata.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. The description does not mention prerequisites, exclusions, or a typical scenario where this tool is preferred over siblings like fetch_pinterest_board or get_pinterest_board_info. An agent must infer usage from the description alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. It reveals the tool downloads files (a side effect) and specifies 'full-resolution images,' but omits critical details such as whether it creates the output directory, handles overwrites, requires authentication, or returns any path information. This is minimal behavioral context for a tool with side effects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence that wastes no words. It conveys the action, scope, and key parameter semantics immediately, with backticked placeholders for clarity. Adequately concise without sacrificing essential information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has 3 parameters, no output schema, and no annotations. The description covers the basic search-and-download action but fails to explain the output directory parameter, potential return values (e.g., local file paths), error-handling behavior, or any prerequisites. An agent would lack critical information needed to call this tool correctly and predict its side effects.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It explicitly references `query` and `count` (clarifying count as a maximum), but completely ignores `out_dir`, which is a significant parameter controlling where downloads are saved. The schema itself provides defaults and titles, but the description adds little semantic value beyond that.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific verb combination ('Search' and 'download') with a specific resource (Pinterest images) and a quantifiable output (up to `count` full-resolution images). It distinctly differentiates from sibling tools like `get_pinterest_boards` and `fetch_pinterest_board`, which deal with board metadata rather than image search and download.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The purpose is unambiguous and naturally implies when to use it (searching for images), but the description does not explicitly state when not to use it or mention alternatives. The distinction from board-related siblings is implicit via the name and description, but no explicit routing guidance is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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
- pinsuiteOAuthapp.pinsuite
Download and save Pinterest boards, Instagram posts and web pages into a library you own.
Read your Savee saves, boards and home feed, and search its public library. Read-only.
Instagram Scraper: 🔥 Get a lot of information from Instagram consistently and quickly!.
One MCP for the Web. Easily search, crawl, navigate, and extract websites without getting blocked.…
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.4MIT
- AlicenseAqualityCmaintenanceExtracts images, gifs, videos, and search results from Pinterest without authentication. Supports search, pin details, board pins, related pins, autocomplete, and media downloads.654 npmMIT
- AlicenseBqualityBmaintenanceEnables image search and information retrieval from Pinterest using the Model Context Protocol. Supports searching by keywords, getting similar pins, and downloading images directly.575 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.-