MCP.Market

Random Number MCP server

by zazencodes·io.github.zazencodes/random-number-mcp·v0.1.2·51 stars

Essential random number generation utilities from the Python standard library

A88/100grade A
What users say
No reviews yet
Be the first
Safety scan
A88/100

full report

Adoption
Growing

51 stars68 downloads/wk

Reviews

Write one

Nobody has reviewed Random Number yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Random Number tools (7)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • random_choices

    Choose k items from population with replacement, optionally weighted.

  • random_float

    Generate a random float between low and high.

  • random_int

    Generate a random integer between low and high (inclusive).

  • random_sample

    Choose k unique items from population without replacement.

  • random_shuffle

    Return a new list with items in random order.

  • secure_random_int

    Generate a secure random integer below upper_bound.

  • secure_token_hex

    Generate a secure random hex token.

Public scan report

scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it

no findings
  • Code scan5 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 72 days ago12/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 88/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Random Number compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
88/100
higher than 75% of 48,255 servers
Tools
7
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
51
more than 94% of 28,688 servers
Downloads a week
68
more than 53% of 12,191 servers with a package

What its tools let an agent do: 7 read

Install Random Number in Claude Code, Cursor or VS Code

claude mcp add random-number-mcp -- uvx random-number-mcp
Add to Cursor

What the publisher says

From the Random Number repository's README, as published. We do not edit it. Read it on GitHub

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.

Looking for the agent skill version? random-number-skills implements the same random number generation strategy as an agent skill instead of an MCP server.

Demo Video

https://github.com/user-attachments/assets/303a441a-2b10-47e3-b2a5-c8b51840e362

Tools

Setup

Claude Desktop

Add this to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claudedesktopconfig.json Windows: %APPDATA%/Claude/claudedesktopconfig.json

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

Tool Reference

random_int

Generate a random integer between low and high (inclusive).

Parameters:

  • low (int): Lower bound (inclusive)
  • high (int): Upper bound (inclusive)

Example:

{
  "name": "random_int",
  "arguments": {
    "low": 1,
    "high": 100
  }
}

random_float

Generate a random float between low and high.

Parameters:

  • low (float, optional): Lower bound (default: 0.0)
  • high (float, optional): Upper bound (default: 1.0)

Example:

{
  "name": "random_float",
  "arguments": {
    "low": 0.5,
    "high": 2.5
  }
}

random_choices

Choose k items from a population with replacement, optionally weighted.

Parameters:

  • population (list): List of items to choose from
  • k (int, optional): Number of items to choose (default: 1)
  • weights (list, optional): Weights for each item (default: equal weights)

Example:

{
  "name": "random_choices",
  "arguments": {
    "population": ["red", "blue", "green", "yellow"],
    "k": 2,
    "weights": [0.4, 0.3, 0.2, 0.1]
  }
}

random_shuffle

Return a new list with items in random order.

Parameters:

  • items (list): List of items to shuffle

Example:

{
  "name": "random_shuffle",
  "arguments": {
    "items": [1, 2, 3, 4, 5]
  }
}

random_sample

Choose k unique items from population without replacement.

Parameters:

  • population (list): List of items to choose from
  • k (int): Number of items to choose

Example:

{
  "name": "random_sample",
  "arguments": {
    "population": ["a", "b", "c", "d", "e"],
    "k": 2
  }
}

securetokenhex

Generate a cryptographically secure random hex token.

Parameters:

  • nbytes (int, optional): Number of random bytes (default: 32)

Example:

{
  "name": "secure_token_hex",
  "arguments": {
    "nbytes": 16
  }
}

securerandomint

Generate a cryptographically secure random integer below upper_bound.

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Random Number: common questions

Is Random Number MCP server safe?
Yes, by our scan: it is graded A (88/100). Read the Random Number safety report
How do I install Random Number?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Random Number need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Random Number maintained?
The last commit was 109 days ago (2026-07-18). The latest release is v0.1.2.
How does Random Number compare with other MCP servers?
safety score 88/100 (higher than 75% of 48,255 servers); tools 7 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.