Skip to main content
Glama
unique-id-generator

unique-id-generator

by Pyroxin

Unique ID Generator MCP Server

A simple MCP server that provides tools for generating unique IDs in several formats. Useful for when you need an LLM to create data containing new IDs.

Tools

All tools except the timestamp tool can produce batches of IDs.

  • generate_cuid - v2 CUIDs (configurable length)

  • generate_nanoid - NanoIDs (configurable length)

  • generate_ulid - ULIDs (time-ordered)

  • generate_uuid - UUID v4 or v7 (optional URN format)

  • generate_iso_timestamp - Current time as ISO 8601 timestamp (can select seconds, milliseconds, microseconds, or nanoseconds as precision)

Related MCP server: UUID AI MCP

Installation

You can run the server directly from GitHub via npx:

npx github:Pyroxin/mcp-server-unique-id-generator

To use with Claude Desktop, add the server config:

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

{
  "mcpServers": {
    "unique-id-generator": {
      "command": "npx",
      "args": ["github:Pyroxin/mcp-server-unique-id-generator"]
    }
  }
}

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      A simple MCP server that provides two tools: one for counting specific letter occurrences within words and another for generating UUIDv7s.
      2
      -
    • A
      license
      B
      quality
      C
      maintenance
      Generates UUID, ULID, and NanoID identifiers via MCP protocol.
      5
      11 npm
      73 PyPI
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      A lightweight MCP server providing everyday developer utilities such as JSON formatting, UUID generation, Base64 conversion, HTTP status lookup, and Unix timestamp conversion as tools and resources.
      5
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      A Model Context Protocol server that generates random UUIDs (v4) for MCP-compatible clients like Claude Desktop.
      2
      Apache 2.0