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

@devstacks/id-generator-mcp

v0.1.5

Published

MCP server for generating IDs with different algorithms

Readme

ID Generator MCP

This is a Model Context Protocol (MCP) server that provides ID generation capabilities to AI assistants.

Installation

The ID Generator MCP can be integrated with various AI assistant platforms. Below are instructions for different environments:

Claude Code

To add the ID Generator MCP to Claude Code, run the following command:

claude mcp add id-generator npx @devstacks/id-generator-mcp

Cursor, Winsurf, or Claude Desktop

To add the ID Generator MCP to Cursor, Winsurf, or Claude Desktop, add the following configuration to your MCP configuration file:

{
  "mcpServers": {
    "id-generator": {
      "command": "npx",
      "args": ["@devstacks/id-generator-mcp"]
    }
  }
}

Usage

Once installed, the ID Generator MCP can be used by the AI assistant to generate various types of IDs.

Supported ID Algorithms

| Algorithm | Example | Description | |-----------|---------|-------------| | uuid | 123e4567-e89b-12d3-a456-426614174000 | UUID v4 - Universally Unique Identifier that uses random numbers to generate a 128-bit value with extremely low collision probability. Standardized format widely used across many systems. | | cuid2 | clh3ppfqz0000jz0ggdlg7etk | Collision-resistant IDs optimized for horizontal scaling and performance. Shorter than UUIDs while maintaining uniqueness. Designed to be secure, URL-safe, and sequential for database performance. | | nanoid | V1StGXR8_Z5jdHi6B-myT | Small, secure, URL-friendly unique string ID generator. Creates compact, non-sequential, URL-safe identifiers that are highly collision-resistant. Default length is 21 characters. | | ulid | 01ARZ3NDEKTSV4RRFFQ69G5FAV | Universally Unique Lexicographically Sortable Identifier. Combines time-ordered uniqueness with random uniqueness. 26 characters, crockford base32 encoded (no special characters), URL-safe, and lexicographically sortable. |

Features

  • Generate UUIDs (v4)
  • Create CUID2 IDs for collision-resistant identification
  • Generate Nanoid for compact, URL-friendly identifiers
  • Create ULIDs for time-ordered, sortable identifiers
  • Consistent ID generation across sessions
  • Simple API integration
  • Support for generating multiple IDs at once

License

MIT