pinterest-mcp
pinterest-mcp
Claude(または任意のMCPクライアント)がPinterestを検索し、画像を直接あなたのマシンにダウンロードできるようにするMCPサーバーです。手動でのブラウジングも手動保存も不要です。
これはPinterest独自の内部Web API(ログイン時にブラウザが行うのと同じリクエスト)と通信し、個人のセッションCookieで認証します。これに対する公式の公開Pinterest APIは存在しないため、このプロジェクトは内部APIをリバースエンジニアリングしています。
機能
検索とダウンロード — キーワードを指定すると、N枚のフル解像度画像がローカルに保存されます。
ボードのダウンロード — ボードのリンク(
pin.itショートリンクも可)を指定すると、そこからN枚の画像を取得します。ボード一覧 — 直接リンクなしで、ユーザーのボードとピン数を確認できます。
ボード情報 — ボードの名前とピン数を調べます。
再実行時の重複排除 — 同じクエリやボードを再取得する際、既にダウンロードした画像はスキップされ、再取得や古いファイルの残置は行われません。
メタデータのサイドカー — 各画像のタイトル、説明、ソースリンクは、隠しフォルダ
.meta内の対応する.jsonファイルに保存されるため、画像フォルダ自体はきれいなままです。
Related MCP server: pinterest-mcp
要件
Python 3.14+
ブラウザでログインしたPinterestアカウント
インストール
git clone https://github.com/Nuu-maan/pinterest-mcp.git
cd pinterest-mcp
uv syncPinterestクッキーの取得
これはあなたとして、あなた自身のログインセッションを使用して実行されます。別途APIキーを作成したり必要としたりしません。
pinterest.com をブラウザで開き、ログインしていることを確認します。
DevTools(F12)を開き、Network タブを選択します。
ページを再読み込みし、
pinterest.comへの任意のリクエストをクリックします。リクエストヘッダーで
Cookie:を見つけ、その値全体をコピーします。
この値はログインセッションと同等なので、秘密にしてください。
設定
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 はデフォルトで www.pinterest.com です。ログイン時にPinterestが国別ドメイン(例:in.pinterest.com)にリダイレクトする場合は、そちらを使用してください。
画像はデフォルトで ~/Pictures/pinterest-downloads/<name>/ に保存されます。または、ツールに渡すカスタム out_dir に保存されます。
使い方
設定が完了したら、次のように依頼するだけです:
"Pinterestでミニマリストなロゴデザインを検索して、10枚ダウンロードして"
"私のPinterestボードを一覧表示して"
"このボードから5つのピンを取得して:https://pin.it/xxxxxxx"
ツール
Tool | Description |
| 画像を検索してダウンロード |
| ユーザーのボードを一覧表示 |
| ボードの名前とピン数を調べる |
| ボードから画像をダウンロード |
開発
uv run -- python -m tests.test_pins
uv run -- python -m tests.test_downloader免責事項
これはPinterestの内部の非公式APIを使用しており、公開開発者APIではありません。Pinterestがエンドポイントを変更すると動作しなくなる可能性があり、過度な使用はボット検出の対象になる可能性があります。自己責任で自分のアカウントに対して使用してください。
ライセンス
MIT — LICENSE を参照してください。
コントリビューション
CONTRIBUTING.md を参照してください。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with the Pinterest API, allowing management of boards and pins through natural language commands.9220MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to manage Pinterest boards and pins, create and update pins, and track analytics via the Pinterest API v5.4MIT
- AlicenseBqualityDmaintenanceMCP server connector for Pinterest — search pins, manage boards, save pins, and follow users via Playwright browser automation.1010MIT
- FlicenseAqualityCmaintenanceExtracts images, gifs, videos, and search results from Pinterest without authentication. Supports search, pin details, board pins, related pins, autocomplete, and media downloads.6
Related MCP Connectors
Read your Savee saves, boards and home feed, and search its public library. Read-only.
Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms.
Stealth web browser for agents: search, fetch, click, download and type in persistent MCP sessions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nuu-maan/pinterest-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server