mcp-pinterest Featured
A Pinterest Model Context Protocol (MCP) server for image search and information retrieval
terryso
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 through MCP
- Support for headless browser mode
- Limit control for search results
Prerequisites
- Node.js (v18 or higher)
- Cursor IDE for MCP integration
Installation
Installing via Smithery
To install mcp-pinterest for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install mcp-pinterest --client claude
Manual
-
Clone this repository:
git clone https://github.com/terryso/mcp-pinterest.git pinterest-mcp-server cd pinterest-mcp-server
-
Install dependencies:
npm install
Usage
Command Mode (Recommended)
Build the server:
npm run build
You can now use this server as an MCP server in Cursor.
Configuring as MCP Server in Cursor
- Open Cursor IDE
- Go to Settings (⚙️) > Extensions > MCP
- Click "Add Server"
- Enter the following details:
- Name: Pinterest MCP
- TYPE: COMMAND
- COMMAND: node /path/to/mcp-pinterest/dist/pinterest-mcp-server.js
- Click "Save"
Available MCP Functions
The server exposes the following MCP functions:
-
pinterest_search
: Search for images on Pinterest by keyword- Parameters:
keyword
: Search term (required)limit
: Number of images to return (default: 10)headless
: Whether to use headless browser mode (default: true)
- Parameters:
-
pinterest_get_image_info
: Get detailed information about a Pinterest image- Parameters:
image_url
: URL of the Pinterest image (required)
- Parameters:
Example Usage in Cursor
Once configured, you can use the Pinterest MCP functions directly in Cursor's AI chat:
Search for robot images on Pinterest
The AI will use the MCP server to search Pinterest and display the results.
Example Screenshot
Screenshot showing a search for 20 images of 三上悠亚 with all images successfully downloaded.
Development
Project Structure
pinterest-mcp-server.ts
: Main server filedist/pinterest-mcp-server.js
: Built JavaScript file for productionpackage.json
: Project configuration and dependencies
Adding New Features
To add new MCP functions:
- Modify
pinterest-mcp-server.ts
- Register new functions using the MCP SDK
- Implement the function logic
- Rebuild with
npm run build
Troubleshooting
- If the server fails to start, check if the port is already in use
- Ensure all dependencies are correctly installed with
npm install
- Make sure TypeScript is properly configured with a
tsconfig.json
file - If you encounter build errors, try running
npm install -D typescript @types/node
- Verify network connectivity for Pinterest access
License
This project is licensed under the MIT License - see the LICENSE file for details.
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.
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.
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.
Playwright MCP Server
Provides a server utilizing Model Context Protocol to enable human-like browser automation with Playwright, allowing control over browser actions such as navigation, element interaction, and scrolling.
@kazuph/mcp-fetch
Model Context Protocol server for fetching web content and processing images. This allows Claude Desktop (or any MCP client) to fetch web content and handle images appropriately.
Apple MCP Server
Enables interaction with Apple apps like Messages, Notes, and Contacts through the MCP protocol to send messages, search, and open app content using natural language.
DuckDuckGo MCP Server
A Model Context Protocol (MCP) server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing.