Skip to content
MCP server
Registry

UID Generator MCP Server

Snowflake unique-ID issuing MCP server: rollback refusal, worker lease, pure Python.

UID Generator scores 66 (Good), licensed Apache-2.0 and written in Python. It installs as a local process. It declares 3 tools. Filed under Data and analytics. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by tanbopiaoApache-2.0Python0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: apache-2.0.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "tanbopiao-uid-generator-mcp": {      "command": "uvx",      "args": [        "uid-generator-mcp"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools3Tool docs quality grade C

All capabilities

About

uid-generator-mcp

Standalone MCP server that issues globally unique 64-bit IDs (snowflake layout). Inspired by baidu/uid-generator (Apache-2.0), preserved and re-implemented in pure Python — no JVM needed.

Layout

sign(1) | timestamp(41, ms since 2026-01-01) | worker(10) | sequence(12)
  • 4096 IDs per ms per worker, 1024 workers, ~69 years of headroom.
  • Clock-rollback policy follows the upstream spirit: small rollbacks (≤5 ms) spin-wait; larger rollbacks are refused with ClockRollbackError instead of risking duplicates.
  • Worker IDs auto-allocate against a local lease file so multiple processes on one machine do not collide; override with UID_MCP_WORKER_ID.

Tools

toolpurpose
issue_idissue one unique ID
issue_batchissue 1–1000 IDs, increasing in issue order
decodeparse an ID back to timestamp / worker / sequence
worker_infoshow worker id and bit layout

Run

pip install -e .
python run_server.py          # stdio transport

Tests

python3 -m unittest discover tests -v

Covers: single-thread burst uniqueness (5000 IDs), 8-thread concurrency uniqueness (4000 IDs), monotonicity, decode round-trip, worker range and lease allocation.

License

Apache-2.0. The upstream project is preserved under tanbopiao/uid-generator.

Frequently asked questions

What is UID Generator MCP Server?

Snowflake unique-ID issuing MCP server: rollback refusal, worker lease, pure Python.

How do I install UID Generator MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. UID Generator MCP Server runs locally from the PyPI package uid-generator-mcp with the command uvx uid-generator-mcp.

Is UID Generator MCP Server free and open source?

Yes. UID Generator MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does UID Generator MCP Server support remote (HTTP) connections?

No remote endpoint is listed for UID Generator MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does UID Generator MCP Server provide?

UID Generator MCP Server provides 3 tools: issue_batch, issue_id, and worker_info. See the full tool list for descriptions and parameters.

How is UID Generator MCP Server's trust score calculated?

UID Generator MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server