npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@mseep/pinterest-mcp-server

v1.0.0

Published

A Pinterest Model Context Protocol (MCP) server for image search and information retrieval

Readme

Pinterest MCP Server

smithery badge

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

Installation

Installing via Smithery

To install mcp-pinterest for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install mcp-pinterest --client claude

Manual

  1. Clone this repository:

    git clone https://github.com/terryso/mcp-pinterest.git pinterest-mcp-server
    cd pinterest-mcp-server
  2. 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

  1. Open Cursor IDE

  2. Go to Settings (⚙️) > Extensions > MCP

  3. Click "Add Server"

  4. Enter the following details:

    • Name: Pinterest MCP
    • Type: Command
    • Command: node
    • Args: ["/path/to/mcp-pinterest/dist/pinterest-mcp-server.js"]

    或者直接编辑Cursor的MCP配置文件(通常位于~/.cursor/mcp.json),添加以下内容:

    "pinterest": {
      "command": "node",
      "args": ["/path/to/mcp-pinterest/dist/pinterest-mcp-server.js"]
    }
  5. 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)
  • pinterest_get_image_info: Get detailed information about a Pinterest image

    • Parameters:
      • image_url: URL of the Pinterest image (required)

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

Pinterest Search Example

Screenshot showing a search for 20 images of 三上悠亚 with all images successfully downloaded.

Development

Project Structure

  • pinterest-mcp-server.ts: Main server file
  • dist/pinterest-mcp-server.js: Built JavaScript file for production
  • package.json: Project configuration and dependencies

Adding New Features

To add new MCP functions:

  1. Modify pinterest-mcp-server.ts
  2. Register new functions using the MCP SDK
  3. Implement the function logic
  4. 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.