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

@gergelyszerovay/mcp-id-date

v0.0.1

Published

An MCP (Model Context Protocol) server that generates **auto-incrementing unique identifiers** and provides **current ISO timestamps**.

Readme

ID Generator MCP Server

An MCP (Model Context Protocol) server that generates auto-incrementing unique identifiers and provides current ISO timestamps.

Overview

This MCP server provides two core tools:

  1. Generate Unique ID - Generates auto-incrementing 8-digit hexadecimal identifiers with persistent state across restarts
  2. ISO Date - Returns the current date and time in ISO 8601 format (UTC)

Tools

Generate Unique ID

The MCP server generates auto-incrementing 8-digit hexadecimal unique identifiers. Each ID automatically increments from the previous value, ensuring sequential uniqueness across all calls and server restarts. The counter state is persisted to disk, making it ideal for:

  • Creating unique element IDs for testing and automation
  • Generating sequential tracking numbers
  • Assigning unique references to data entries
  • Any scenario requiring guaranteed unique, sequential identifiers

Input:

{
  "count": 5  // Optional: number of IDs to generate (1-32, defaults to 1)
}

Output:

Generated 5 unique ID(s):
00000001
00000002
00000003
00000004
00000005

ISO Date

The MCP server returns the current date and time in ISO 8601 format. Each call provides the precise current timestamp in UTC timezone, useful for:

  • Creating standardized timestamps for logs and records
  • Generating sortable date strings
  • Recording event times in a universal format
  • Any scenario requiring ISO 8601 compliant timestamps

Input:

No input parameters required.

Output:

Current ISO datetime: 2025-12-10T14:23:45.678Z

Usage

Command Line

# Basic usage with stdio transport
npx @gergelyszerovay/mcp-id-date

# Enable HTTP transport for SSE
npx @gergelyszerovay/mcp-id-date --enableHttpTransport

# Enable REST API server
npx @gergelyszerovay/mcp-id-date --enableRestServer

# Custom counter file location
npx @gergelyszerovay/mcp-id-date --idCounterFile=./my-counter.txt

CLI Options

| Flag | Description | Default | | :----------------------- | :------------------------------------------------------- | :--------------------------- | | --enableHttpTransport | Enable HTTP transport for SSE | false | | --enableStdioTransport | Enable stdio transport | true | | --enableRestServer | Enable REST API server | false | | --mcpHttpPort | Port for MCP HTTP server | 3001 | | --restHttpPort | Port for REST HTTP server | 3002 | | --idCounterFile | Path to the file used for tracking the last generated ID | /workspace/last-tag-id.txt |

MCP Integration

Add this to your MCP server configuration:

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