Pinterest MCP Server

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.

Category
Visit Server

README

MseeP.ai Security Assessment Badge

Pinterest MCP Server

npm version NPM Downloads smithery badge Verified on MseeP

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

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.

  1. Connect your repository to Render or use the included render.yaml blueprint.
  2. 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
  3. Health check URL: GET /health (Returns 200 OK)
  4. SSE connection URL: GET /sse (Requires Authorization: Bearer <API_KEY> header or x-api-key header)

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

  1. Clone repository:

    git clone https://github.com/terryso/mcp-pinterest.git pinterest-mcp-server
    cd pinterest-mcp-server
    
  2. Install dependencies:

    npm install
    
  3. Build server:

    npm run build
    
  4. Start server:

    npm start
    

Configuring as MCP Server in Cursor

  1. Open Cursor IDE
  2. Go to Settings (⚙️) > Extensions > MCP
  3. Click Add Server
  4. Enter configuration:
    • Name: Pinterest MCP
    • Type: Command
    • Command: node
    • Args: ["/path/to/mcp-pinterest/dist/pinterest-mcp-server.js"]

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 pool

    • keyword: 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 ID

    • pin_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 image

    • image_url: Image URL (required)
  • pinterest_search_and_download: Search and download Pinterest images directly to disk

    • keyword: 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

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured