Random Number MCP

Essential random number generation utilities from the Python standard library, including pseudorandom and cryptographically secure operations for integers, floats, weighted selections, list shuffling, and secure token generation. Its 7 documented tools cover random, int, secure. It runs locally over stdio via the published package.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-07-18 · ★ 50 · #321 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

MIT · Python servers · how we verify → /methodology

01 · Install Random Number MCP

Claude Code

claude mcp add zazencodes-random-number-mcp -- uvx random-number-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "zazencodes-random-number-mcp": {
      "command": "uvx",
      "args": [
        "random-number-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

pypi package random-number-mcp - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.zazencodes is GitHub-verified and matches the repo owner

03 · What Random Number MCP can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can generate random integers, generate random floats, read a new list with items shuffled, and generate cryptographically secure hex tokens.

Capability map

Tools grouped from the project's README - what Random Number MCP lets an agent do.

Random

6 tools - e.g. Generate random integers; Generate random floats; Choose items from a list (optional weights)

random_int · random_float · random_choices · random_shuffle · random_sample · secure_random_int

Secure

1 tool - e.g. Generate cryptographically secure hex tokens

secure_token_hex

Latest releases

v0.1.3 · 2026-07-17

Added · Link to the random-number-skills project in README.md, which implements the same random number generation strategy as an agent skill. · Changed · Narrowed tool signatures in src/random_number_mcp/server.py from…

v0.1.2 · 2026-03-03

Added · MCP Registry metadata via server.json, including package and transport details. · MCP Registry identifier (mcp-name) in README.md. · Changed · Disabled the FastMCP startup banner in…

v0.1.1 · 2025-06-29

Added · random_sample tool to choose k unique items from a population. · Support for JSON string input for weights in the random_choices tool. · Comprehensive test suite for random_sample. · Tests for random_choices…

04 · Who maintains Random Number MCP

random-number-mcp is maintained by zazencodes. It's the only MCP server we track from this author; the repo dates to Jun 2025.

05 · Facts

category
other - ranked #321 of 848 actively-maintained other servers as of 2026-08-25.
release cadence
1 release in the last 90 days (latest 2026-07-17)
registry
io.github.zazencodes/random-number-mcp (active, first published 2026-03-03)
packages
pypi:random-number-mcp

06 · Random Number MCP FAQ

Is Random Number MCP still maintained?

Yes - as of 2026-08-25, its last commit was 2026-07-18 and it shipped 1 release in the last 90 days. We re-verify nightly.

What can Random Number MCP do?

With this server connected, an agent can generate random integers, generate random floats, read a new list with items shuffled, and generate cryptographically secure hex tokens.

How do I install Random Number MCP?

Run `uvx random-number-mcp`. You can also paste the ready-made client config above.

Does Random Number MCP run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Random Number MCP

More MCP servers to compare · Zeta Chain CLI · Unterm · Concord MCP · Magic Te X · Zomato MCP Server

More Python MCP servers · Servonaut · Webhook.site MCP Server · Gonzalgo · Zenml · Zernio · see all