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

@1px-labs/1px-mcp

v1.0.3

Published

MCP server for 1px — URL shortener, paste bin, markdown host, and file upload

Readme

1px MCP

Model Context Protocol server for 1px — a minimalist utility suite for the web.

What it does

This MCP server lets AI assistants (Claude, Cursor, etc.) interact with your 1px account:

  • Shorten URLscreate_short_url
  • Create pastescreate_paste
  • Host markdowncreate_markdown
  • Upload filesupload_file
  • List itemslist_items
  • Update pastes/markdownsupdate_paste, update_markdown
  • Delete itemsdelete_item

Setup

1. Get an API key

Go to https://1px.ch/dashboard/api and create an API key.

2. Install

npx @1px-labs/1px-mcp

Or clone and run locally:

git clone https://github.com/1px-labs/1px.git
cd 1px/1px-mcp
npm install
npm start

3. Configure with Claude Desktop

Open your Claude Desktop config:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

Add the 1px server:

{
  "mcpServers": {
    "1px": {
      "command": "node",
      "args": ["/absolute/path/to/1px-mcp/src/index.js"],
      "env": {
        "ONE_PX_API_KEY": "your_api_key_here"
      }
    }
  }
}

Or use the published npm package:

{
  "mcpServers": {
    "1px": {
      "command": "npx",
      "args": ["@1px-labs/1px-mcp"],
      "env": {
        "ONE_PX_API_KEY": "your_api_key_here"
      }
    }
  }
}

4. Restart Claude Desktop

Quit and reopen Claude. The 1px tools will appear in the MCP tools panel.

Environment variables

| Variable | Default | Description | |----------|---------|-------------| | ONE_PX_API_KEY | (required) | Your 1px API key | | ONE_PX_API_BASE | https://api.1px.ch | API base URL (override for self-hosted) |

Example prompts

"Shorten this link for me: https://example.com/very/long/path"

"Save this error log to 1px so I can share it"

"Create a markdown page with my meeting notes"

"What files have I uploaded recently?"

"Delete that paste abc123"

Development

npm install
ONE_PX_API_KEY=your_key node src/index.js

The server runs over stdio (standard input/output) as required by the MCP protocol. It does not expose an HTTP server.