Skip to main content
Glama

UUID MCP Provider

by prazedotid

UUID MCP Provider

A simple Model Context Protocol (MCP) server that provides timestamp-based UUIDs whenever it's called by an LLM.

Features

  • Provides a single tool: generateUuid
  • Uses UUID v7 for timestamp-based unique identifiers
  • Simple interface with no input parameters needed
  • Easy integration with Claude and other LLMs

Installation

# Install dependencies npm install # Build the project npm run build

Usage

You can run the server directly:

npm start

Integration with Claude Desktop

To integrate with Claude Desktop, add this to your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{ "mcpServers": { "uuid-provider": { "command": "node", "args": ["/absolute/path/to/uuid-mcp/build/index.js"] } } }

Replace /absolute/path/to/uuid-mcp/build/index.js with the absolute path to your built index.js file.

After updating the configuration, restart Claude Desktop to see the UUID generation tool available.

How It Works

This server uses the official uuid package to generate UUID v7 identifiers. UUID v7 is specifically designed to be timestamp-based while maintaining strong uniqueness guarantees:

  • Incorporates a Unix timestamp in millisecond precision
  • Adds randomized data to ensure uniqueness even when multiple IDs are generated in the same millisecond
  • Follows the latest RFC standards for UUID generation
  • Provides chronologically sortable identifiers
  • Prevents collisions in distributed systems

This approach is more reliable than custom UUID implementations and eliminates the potential for duplicates even under high load.

Dependencies

  • @modelcontextprotocol/sdk: For MCP server implementation
  • uuid: For RFC-compliant UUID generation
  • TypeScript and related tools for development

Example

When called, the tool returns a UUID v7 string that looks like:

018e94d2-279b-7bd3-9289-80d1e6619670

The first part of the UUID contains the timestamp, making these identifiers chronologically sortable while still maintaining the standard UUID format.

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

A simple Model Context Protocol server that provides timestamp-based UUID v7 identifiers when called by an LLM, offering chronologically sortable unique IDs with no input parameters needed.

  1. Features
    1. Installation
      1. Usage
        1. Integration with Claude Desktop
      2. How It Works
        1. Dependencies
          1. Example

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that provides LLM Agents with a comprehensive toolset for IP geolocation, network diagnostics, system monitoring, cryptographic operations, and QR code generation.
              Last updated -
              16
              566
              10
              TypeScript
              Apache 2.0
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that enables LLMs to read, search, and analyze code files with advanced caching and real-time file watching capabilities.
              Last updated -
              6
              16
              23
              JavaScript
              MIT License
              • Linux
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables LLMs to interact directly with MongoDB databases, allowing users to query collections, inspect schemas, and manage data through natural language.
              Last updated -
              257
              1
              TypeScript
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables LLMs to extract and use content from unstructured documents across a wide variety of file formats.
              Last updated -
              6
              Python
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/prazedotid/uuid-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server