Pinterest MCP

السجل الرسمي البحث والويب

Search Pinterest, see pins, find similar, read boards, download images and videos. No login.

ماذا يمكنك أن تفعل مع Pinterest MCP؟

  • ⚡ Fast — talks to the same JSON endpoints pinterest.com uses; ~2–3 s for 20 pins, no Chrome to launch.
  • 👀 The model can see — optional thumbnails are returned as images, so the agent judges style, layout and colour, not just titles.
  • 🧾 Rich metadata — title, description, full-size URL and dimensions (thumbnail-only pins flagged low_res), dominant colour, source site, board, creator, date. Ads are filtered out.
  • 🔁 Go deeper — related pins, whole boards, pagination with bookmarks.
  • 🛡️ Robust — keeps an anonymous session and retries Pinterest's occasional "fake end of feed".
  • 🪶 Token-friendly — hashtag walls collapsed, unusable fields dropped.
  • 🎬 Videos too — video pins come with an MP4 video_url; filter to videos only for motion references.
  • 📥 Downloads — image originals with automatic 736px fallback and MP4 videos, only from *.pinimg.com.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @sunkimkk/pinterest-mcp
Claude Code
claude mcp add pinterest-mcp -e 'MCP_PINTEREST_DOWNLOAD_DIR=<MCP_PINTEREST_DOWNLOAD_DIR>' -e 'MCP_PINTEREST_PROXY=<MCP_PINTEREST_PROXY>' -- npx -y @sunkimkk/pinterest-mcp@1.2.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "pinterest-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@sunkimkk/pinterest-mcp@1.2.0"
            ],
            "env": {
                "MCP_PINTEREST_DOWNLOAD_DIR": "<MCP_PINTEREST_DOWNLOAD_DIR>",
                "MCP_PINTEREST_PROXY": "<MCP_PINTEREST_PROXY>"
            }
        }
    }
}

متغيرات البيئة

  • MCP_PINTEREST_DOWNLOAD_DIR Folder for downloaded images (default ~/Downloads/pinterest-mcp)
  • MCP_PINTEREST_PROXY HTTP proxy such as http://127.0.0.1:7890, for networks where pinterest.com is blocked

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. ❌ Without Pinterest MCP
  2. ✅ With Pinterest MCP
  3. Features
  4. Quick start
  5. Tools
  6. Example prompts
  7. Configuration
  8. FAQ
  9. Development
  10. Disclaimer
  11. Acknowledgements
  12. Star History
  13. License

English · 简体中文

Pinterest MCP is an open-source MCP Server that gives Claude Code, Codex, Cursor and any other MCP client direct access to Pinterest — search pins, actually look at the images, follow "more like this", read boards, and download originals. It's built for designers and front-end developers who start every task by collecting references.

No Pinterest login. No API key. No headless browser.

❌ Without Pinterest MCP

  • You switch to the browser, search, scroll, save images by hand, and drag them back into the chat.
  • The AI only gets the images you remembered to paste, without their source, colours or context.

✅ With Pinterest MCP

> Find 20 dark dashboard UIs on Pinterest, look at the first 8,
  pick the 3 with the most restrained palette and download them.

The agent searches, looks at the thumbnails, explains its picks, saves full-resolution files to disk — and can go straight on to build the screen from them.

Features

  • ⚡ Fast — talks to the same JSON endpoints pinterest.com uses; ~2–3 s for 20 pins, no Chrome to launch.
  • 👀 The model can see — optional thumbnails are returned as images, so the agent judges style, layout and colour, not just titles.
  • 🧾 Rich metadata — title, description, full-size URL and dimensions (thumbnail-only pins flagged low_res), dominant colour, source site, board, creator, date. Ads are filtered out.
  • 🔁 Go deeper — related pins, whole boards, pagination with bookmarks.
  • 🛡️ Robust — keeps an anonymous session and retries Pinterest's occasional "fake end of feed".
  • 🪶 Token-friendly — hashtag walls collapsed, unusable fields dropped.
  • 🎬 Videos too — video pins come with an MP4 video_url; filter to videos only for motion references.
  • 📥 Downloads — image originals with automatic 736px fallback and MP4 videos, only from *.pinimg.com.

Quick start

Requires Node.js ≥ 20.18.

Claude Code

claude mcp add pinterest --scope user -- npx -y @sunkimkk/pinterest-mcp

Codex — ~/.codex/config.toml

[mcp_servers.pinterest]
command = "npx"
args = ["-y", "@sunkimkk/pinterest-mcp"]

Claude Desktop — one-click install

Download pinterest-mcp.mcpb from the latest release and double-click it. Claude Desktop shows an install dialog where you can pick a download folder and an optional proxy.

Cursor / Claude Desktop / Windsurf / others — JSON config

{
  "mcpServers": {
    "pinterest": {
      "command": "npx",
      "args": ["-y", "@sunkimkk/pinterest-mcp"]
    }
  }
}

Cursor: ~/.cursor/mcp.json · Claude Desktop: claude_desktop_config.json

From source

git clone https://github.com/sunkimk/pinterest-mcp.git
cd pinterest-mcp && npm install
claude mcp add pinterest --scope user -- node "$PWD/src/server.js"

Tools

ToolWhat it does
pinterest_searchKeyword search in any language, with pagination and optional thumbnails
pinterest_get_pinFull details of one pin (pin URL, pin.it short link or numeric id)
pinterest_related_pins"More like this" for a pin
pinterest_board_pinsPins saved on a public board
pinterest_preview_imagesTurn image URLs into thumbnails the model can see
pinterest_downloadSave full-resolution images and MP4 videos to disk

search, related_pins and board_pins accept previews: N to attach thumbnails of the first N results, and media: "video" to return only video pins (each with an MP4 video_url) — handy for motion and interaction references.

Example prompts

Tip: English keywords return far more results. Add words like ui, app, dribbble, poster or moodboard to steer the style.

Configuration

VariableDefaultDescription
MCP_PINTEREST_DOWNLOAD_DIR~/Downloads/pinterest-mcpDownload root
MCP_PINTEREST_PROXYsystem HTTPS_PROXYHTTP proxy, e.g. http://127.0.0.1:7890 (SOCKS not supported)
MCP_PINTEREST_LOCALEen-USRequest language
MCP_PINTEREST_TIMEOUT_MS20000Per-request timeout

Example with Claude Code:

claude mcp add pinterest --scope user -e MCP_PINTEREST_PROXY=http://127.0.0.1:7890 -- npx -y @sunkimkk/pinterest-mcp

FAQ

Why can't I get details for a search result? Logged-out search results carry anonymous ids that Pinterest won't resolve. Everything they have is already in the search result; get_pin and related_pins need a real pin link (pinterest.com/pin/<number>/).

Network errors? If pinterest.com is blocked where you are, set MCP_PINTEREST_PROXY.

Will it break? It uses Pinterest's web endpoints rather than the official API, so a Pinterest redesign may require an update. Watch the repo or check the changelog.

Development

npm install
npm test        # spins up the server and calls every tool against live pinterest.com

See CHANGELOG.md for release history. Issues and PRs are welcome.

Disclaimer

Not affiliated with, endorsed by, or sponsored by Pinterest. Use it for personal inspiration at a reasonable request rate, follow Pinterest's Terms of Service, and respect creators' copyright — downloaded images are for reference only.

Acknowledgements

Thanks to terryso/mcp-pinterest for first exploring Pinterest over MCP.

Star History

License

MIT © sunkimk

الأسئلة الشائعة

ما هو Pinterest MCP؟

Search Pinterest, see pins, find similar, read boards, download images and videos. No login.

كيف أثبّت Pinterest MCP؟

يعمل على جهازك. في Claude Code: claude mcp add pinterest-mcp -e 'MCP_PINTEREST_DOWNLOAD_DIR=<MCP_PINTEREST_DOWNLOAD_DIR>' -e 'MCP_PINTEREST_PROXY=<MCP_PINTEREST_PROXY>' -- npx -y @sunkimkk/pinterest-mcp@1.2.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Pinterest MCP إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل Pinterest MCP مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون Pinterest MCP؟

ينشره sunkimk. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.