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 🙏

© 2026 – Pkg Stats / Ryan Hefner

placeholder-image-mcp

v1.0.0

Published

MCP server for generating placeholder PNG images

Readme

placeholder-image-mcp

Generates PNG placeholder images with colored background and text. Support batch generate.

Installation

git clone https://github.com/RainbowCockroach/placeholder-image-mcp.git
cd placeholder-image-mcp
npm install
npm run build

Then register it as an MCP server in your agent's config (check the documentation in of your AI agent). Or just ask it to install this MCP for you. It's good at doing that.

Usage

Once connected, just ask your agent to generate placeholder images. It will call the tool automatically.

Examples:

  • "Create 64x64 image and save it to desktop"
  • "Create three placeholder banners at 100x100 with text "frog", save to {some folder}"
  • "Create 200x200 pink image, show its dimension"

Two calling modes:

Individual images

Each image has its own size, text, color, and output path:

{
  "images": [
    { "width": 800, "height": 600, "text": "ss", "path": "hero.png" },
    {
      "width": 400,
      "height": 300,
      "text": "Frog",
      "color": "#1a874f",
      "path": "frog.png"
    }
  ]
}

Batch (same config, multiple files)

One config applied to multiple paths — each file gets a different random color:

{
  "config": { "width": 600, "height": 400, "text": "Yayaya" },
  "paths": ["is-cucumber.png", "fruit.png", "or-veggie.png"]
}

Parameters

| Parameter | Type | Required | Description | | --------- | ------ | -------- | --------------------------------------------------------------------------------------------------------------------- | | width | number | yes | Width in pixels (1–8192) | | height | number | yes | Height in pixels (1–8192) | | text | string | no | Centered text. Use "ss" to show dimensions (e.g. 800×600). Blank by default. | | color | string | no | Hex background color (e.g. #A8D8EA). Omit for random. | | path | string | yes | Output path. Relative paths resolve against the CLAUDE_CWD env var if set, otherwise the process working directory. |

Color palette

30 soft pastel colors chosen to look good as backgrounds:

#A8D8EA  #AA96DA  #FCBAD3  #FFFFD2  #B5EAD7  #E2F0CB  #C7CEEA
#FFB7B2  #FFDAC1  #F0E6EF  #95B8D1  #DDA0DD  #98D8C8  #F7DC6F
#AED6F1  #D5AAFF  #85E3FF  #BAFFC9  #FFE156  #FF9AA2  #D4A5A5
#A0CED9  #FFC75F  #C3B1E1  #B4F8C8  #FFE5B4  #E0BBE4  #957DAD
#D291BC  #FEC8D8

Text is automatically black or white based on WCAG 2.0 contrast ratio.