Pinterest MCP Server
Enables image search and information retrieval from Pinterest using the Model Context Protocol. Supports searching by keywords, getting similar pins, and downloading images directly.
README
Pinterest MCP Server
A Model Context Protocol (MCP) server for Pinterest image search and information retrieval.
Features
- Search for images on Pinterest by keywords
- Retrieve detailed information about Pinterest images
- Seamless integration with Cursor IDE, Claude Desktop, and Remote MCP clients
- Dual transport modes: Stdio (Local IDEs) and HTTP/SSE (Remote Hosting / Render)
- API Key Bearer Authentication for cloud deployment
- Support for headless browser mode
- Configurable search result limits and filename templates
- Search and download images directly to local storage
Prerequisites
- Node.js (v18 or higher)
- Cursor IDE or Claude Desktop for MCP integration
Installation & Deployment
🚀 Deploying to Render (Remote MCP Server over HTTP/SSE)
You can host this Pinterest MCP server as a secure remote service on Render, Railway, or Fly.io with Bearer API Key authentication.
- Connect your repository to Render or use the included
render.yamlblueprint. - Set Environment Variables:
PORT:3000(or leave default set by Render)API_KEY:your_super_secret_key_here(Secret key required for client requests)MCP_PINTEREST_DOWNLOAD_DIR:/tmp/downloads
- Health check URL:
GET /health(Returns200 OK) - SSE connection URL:
GET /sse(RequiresAuthorization: Bearer <API_KEY>header orx-api-keyheader)
Client Request Example with Bearer Key
GET /sse HTTP/1.1
Host: pinterest-mcp.onrender.com
Authorization: Bearer your_super_secret_key_here
Unauthenticated requests receive 401 Unauthorized responses.
Local Installation via NPX (Recommended for Local Use)
npx pinterest-mcp-server
Command-line options:
# Specify download directory
npx pinterest-mcp-server --downloadDir /path/to/downloads
# Specify filename template
npx pinterest-mcp-server --filenameTemplate "pinterest_{id}"
# Specify both options
npx pinterest-mcp-server --downloadDir ./images --filenameTemplate "pinterest_{id}"
Global Installation
npm install -g pinterest-mcp-server
pinterest-mcp-server --downloadDir /path/to/downloads
Manual Installation
-
Clone repository:
git clone https://github.com/terryso/mcp-pinterest.git pinterest-mcp-server cd pinterest-mcp-server -
Install dependencies:
npm install -
Build server:
npm run build -
Start server:
npm start
Configuring as MCP Server in Cursor
- Open Cursor IDE
- Go to Settings (⚙️) > Extensions > MCP
- Click Add Server
- Enter configuration:
- Name:
Pinterest MCP - Type:
Command - Command:
node - Args:
["/path/to/mcp-pinterest/dist/pinterest-mcp-server.js"]
- Name:
Or edit your Cursor MCP config file (~/.cursor/mcp.json):
{
"pinterest": {
"command": "node",
"args": ["/path/to/mcp-pinterest/dist/pinterest-mcp-server.js"]
}
}
Environment Variables Configuration Example
{
"pinterest": {
"command": "npx",
"env": {
"MCP_PINTEREST_DOWNLOAD_DIR": "/Users/user/Desktop/Images",
"MCP_PINTEREST_FILENAME_TEMPLATE": "pin_{imageId}_{timestamp}.{fileExtension}",
"MCP_PINTEREST_PROXY_SERVER": "http://127.0.0.1:7890"
},
"args": ["pinterest-mcp-server"]
}
}
Available MCP Tools
-
pinterest_health_check: System metrics, memory usage, Chromium binary status, and write diagnostics- No required parameters.
-
pinterest_search: Search for images on Pinterest by keyword with persistent browser poolkeyword: Search term (required)limit: Number of images to return (default: 10)headless: Whether to use headless browser mode (default: true)
-
pinterest_get_similar_pins: Deep visual recommendation engine for a target Pin URL or Pin IDpin_url_or_id: Pinterest Pin URL (e.g.https://www.pinterest.com/pin/11822017768403505/) or numeric Pin ID (required)limit: Number of recommended pins to return (default: 10)headless: Whether to use headless browser mode (default: true)
-
pinterest_get_image_info: Retrieve detailed information for a Pinterest imageimage_url: Image URL (required)
-
pinterest_search_and_download: Search and download Pinterest images directly to diskkeyword: Search term (required)limit: Number of images (default: 10)headless: Whether to use headless browser mode (default: true)
Environment Variables Reference
| Variable | Description | Default |
|---|---|---|
PORT / HTTP_PORT |
HTTP Port for SSE server mode | (Stdio mode if unassigned) |
API_KEY / MCP_API_KEY |
Secret API key for HTTP/SSE authentication | (No auth if empty) |
MCP_PINTEREST_DOWNLOAD_DIR |
Root directory for downloads | ../downloads |
MCP_PINTEREST_FILENAME_TEMPLATE |
Template for downloaded file names | pinterest_{imageId}.{fileExtension} |
MCP_PINTEREST_PROXY_SERVER |
Optional proxy server (http://host:port) |
None |
PUPPETEER_EXECUTABLE_PATH |
Path to custom Chrome/Chromium binary | System default |
License
This project is licensed under the MIT License - see the LICENSE file for details.
<!-- Deployed: 2026-07-29 -->
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
