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

clipboard-mcp

v0.1.0

Published

A Model Context Protocol (MCP) server that provides a tool for taking screenshots of websites.

Readme

Clipboard MCP: Give Your AI a Clipboard 📋

NPM Version License: MIT

Your AI assistant can generate code, write prose, and answer complex questions. But when it comes to placing that output directly where you need it—on your system clipboard—it hits a wall.

Clipboard MCP bridges that gap.

It's a simple, secure tool that exposes a single capability to your AI: copying text to your clipboard. Now, your assistant can not only generate a code snippet but also place it on your clipboard, ready for you to paste into your editor, all in one seamless step.

Table of Contents

Features

  • Simple & Secure: Exposes a single, safe clipboard tool.
  • Cross-Platform: Works wherever Node.js and clipboardy are supported.
  • Seamless Integration: Allows AI assistants to copy text to the user's clipboard with a simple command.
  • Structured Output: Returns a clear JSON object indicating success or failure.

Installation

You can install Clipboard MCP in two ways, depending on your preference and client application.

Method 1: Desktop Extension

This is the easiest way to get started. It allows for one-click installation in compatible clients like Claude Code.

  1. Download the latest clipboard-mcp.dxt file from the Releases page.
  2. Open the .dxt file with your client application. The client will handle the rest.

Method 2: Manual JSON Configuration

This method uses npx to download and run the package on-demand. It's ideal for command-line usage or for developers who prefer not to install the extension directly.

To use this method, add the following JSON to your client's configuration file:

{
  "mcpServers": {
    "clipboard": {
      "command": "npx",
      "args": ["-y", "clipboard-mcp"]
    }
  }
}

Configuration File Locations:

  • For Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json
  • For Gemini CLI: ~/.gemini/settings.json
  • For Cursor IDE: Your user settings.json file.

Usage

Once integrated, you can use prompts like these with your AI assistant.

Example Prompts

Here are a few examples of how you can use Clipboard MCP.

"Generate a UUID and copy it to my clipboard."

"Write a Python function to calculate the factorial of a number and copy it to my clipboard."

"What's the git command to squash the last 3 commits? Copy the command to my clipboard."

Tool Reference: clipboard

| Name | Type | Required | Description | |--------|----------|----------|-----------------------------------------| | text | string | Yes | The text to copy to the user's clipboard. |

Returns: A JSON object indicating success or failure.

{
  "success": true,
  "message": "Text successfully copied to clipboard."
}

Error Handling

If the tool encounters an error, it will return a JSON object with the isError flag set to true and a descriptive error message.

{
  "success": false,
  "error": "Failed to copy to clipboard: [error details]"
}

Development & Contributing

To contribute to this project:

  1. Clone the repository: git clone https://github.com/gourraguis/clipboard-mcp.git
  2. Install dependencies: cd clipboard-mcp && npm install
  3. Build the project: npm run build
  4. To test your local build, use the MCP Inspector:
    npx @modelcontextprotocol/inspector node dist/main.js