Skip to main content
Glama
pinterest

pinterest

by Francesco4u

claude-pinterest-plugin

claude-pinterest-plugin

MCP server and Claude plugin for searching Pinterest pins, reading pin metadata, and inspecting reference images without a Pinterest API key.

Overview

Pinterest's official v5 API only exposes a user's own boards and pins and does not provide public search. This plugin queries Pinterest's public search endpoint using an anonymous session token, with a headless Edge/Chrome CDP fallback if an HTTP request is ever blocked.

Key properties:

  • Zero runtime dependencies: Pre-bundled standalone dist/server.cjs (MCP server) and skills/pinterest-research/scripts/pinterest.js (CLI fallback). No npm install required after cloning or installing via npx.

  • Visual inspection: search_pins can return up to 4 pin thumbnails as MCP image blocks (include_images: true), and the skill CLI supports --download to save thumbnails locally for inspection.

  • Cross-client support: Works in Claude Desktop (Chat), Claude Code, and Claude Cowork.

Related MCP server: Pinterest MCP Server

Requirements

  • Node.js 18 or newer (fetch and WebSocket support; Node 22+ recommended).

  • Microsoft Edge or Google Chrome (only required if the optional CDP fallback is triggered).

Installation

Claude Desktop

Add the pinterest server to your claude_desktop_config.json:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "pinterest": {
      "command": "npx",
      "args": ["-y", "github:Francesco4u/claude-pinterest-plugin"]
    }
  }
}

Fully quit Claude Desktop (from the system tray on Windows or menu bar on macOS) and reopen it.

Claude Code

Install from the marketplace or load the repository directly:

claude --plugin-dir /path/to/claude-pinterest-plugin

Or inside Claude Code:

/plugin marketplace add Francesco4u/claude-pinterest-plugin

Claude Cowork (Plugins UI)

  1. Open Plugins -> Add marketplace.

  2. Enter Francesco4u/claude-pinterest-plugin and select Sync.

  3. Install pinterest-research.

In environments where Cowork does not attach local stdio MCP servers, the bundled pinterest-research skill automatically falls back to skills/pinterest-research/scripts/pinterest.js.

Tools

search_pins

Searches Pinterest for pins matching a query.

Parameter

Type

Default

Description

query

string

required

Search keywords (for example, "minimalist desk setup").

limit

integer

15

Number of pins to return (1 to 50).

include_images

boolean

false

Attach up to 4 pin thumbnails as MCP image blocks for visual analysis.

Each returned pin object includes:

  • id, pin_url

  • title, description

  • image_url (original resolution), thumbnail_url

  • width, height, dominant_color

  • pinner, board, source_url, domain

get_pin_details

Fetches metadata for a specific pin URL or pin ID.

Parameter

Type

Default

Description

pin

string

required

Full Pinterest pin URL or pin ID.

download_pin_image

Downloads a Pinterest image (from image_url or pin_url) to a local file or directory so Claude can use it directly in a project.

Parameter

Type

Default

Description

url

string

required

Direct image_url or Pinterest pin URL.

output_path

string

required

Destination file path or directory path.

CLI Usage

The standalone script in skills/pinterest-research/scripts/pinterest.js can also be run directly:

# Search pins and print JSON
node skills/pinterest-research/scripts/pinterest.js search "brutalist web design" 10

# Search pins and download up to 6 thumbnails to a temporary folder
node skills/pinterest-research/scripts/pinterest.js search "brutalist web design" 10 --download

# Fetch metadata for a single pin
node skills/pinterest-research/scripts/pinterest.js pin "https://www.pinterest.com/pin/123456/"

# Download a full-resolution image to a target file or folder
node skills/pinterest-research/scripts/pinterest.js download "https://i.pinimg.com/originals/..." ./assets/reference.png

Optional Environment Variables

Variable

Description

PINTEREST_COOKIE

Raw Cookie header string from an authenticated Pinterest browser session, if you want personalized or login-gated metadata.

BROWSER_EXECUTABLE_PATH

Explicit path to a Chromium/Edge/Chrome binary for the CDP fallback.

Development

npm install
npm run build   # Rebuilds dist/server.cjs and skills/pinterest-research/scripts/pinterest.js
npm test        # Runs MCP stdio handshake, search_pins, and get_pin_details smoke tests

Project Structure

.
├── .claude-plugin/
│   ├── marketplace.json
│   └── plugin.json
├── .mcp.json
├── dist/
│   └── server.cjs
├── skills/
│   └── pinterest-research/
│       ├── SKILL.md
│       └── scripts/
│           └── pinterest.js
├── src/
│   ├── pinterest.js
│   ├── server.js
│   └── skill-cli.js
└── test/
    └── smoke.js

Available Tools

2 tools
get_pin_detailsB

Fetch metadata (title, description, high-resolution image URL) for a specific Pinterest pin URL or pin ID.

Inputs: pin (required).

search_pinsA

Search Pinterest for pins matching a keyword or phrase. Returns pin URLs, titles, descriptions, high-resolution image URLs, and dominant colors for design references and ideas.

Inputs: query (required), limit, include_images.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 2 tools

    Disambiguation5/5

    search_pins is keyword-based discovery, while get_pin_details fetches a single known pin by URL/ID; these are clearly distinct workflows with no overlap. An agent can trivially decide which to call based on whether it has a pin reference or a search query.

    Naming Consistency5/5

    Both tools use a consistent snake_case verb_noun pattern (search_pins, get_pin_details). The minor plural/singular difference reflects the resource shape rather than a convention break.

    Tool Count3/5

    Two tools is thin even for a narrow read-only Pinterest surface; a design-reference server could reasonably add board browsing, related pins, or pagination controls. The set is coherent but feels minimal rather than well-scoped.

    Completeness3/5

    Search plus detail covers the core lookup loop, but there is no way to browse boards, see related pins, or page through results, which are common follow-up needs for design research. Agents can work around this only partially.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Extracts images, gifs, videos, and search results from Pinterest without authentication. Supports search, pin details, board pins, related pins, autocomplete, and media downloads.
      6
      1
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables image search and information retrieval from Pinterest using the Model Context Protocol. Supports searching by keywords, getting similar pins, and downloading images directly.
      5
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables 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.
      -