← Back to search

io.github.zazencodes/random-number-mcp

zazencodes Scanned 3d ago

Essential random number generation utilities from the Python standard library

B
81 / 100

Versions

0.1.2latest
first seen Jun 5, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 7

random_int
annotations: none low

Generate a random integer between low and high (inclusive). Args: low: Lower bound (inclusive) high: Upper bound (inclusive) Returns: Random integer between low and high

low int high int
random_float
annotations: none low

Generate a random float between low and high. Args: low: Lower bound (default 0.0) high: Upper bound (default 1.0) Returns: Random float between low and high

low float high float
random_choices
annotations: none low

Choose k items from population with replacement, optionally weighted. Args: population: List of items to choose from k: Number of items to choose (default 1) weights: Optional weights for each item (default None for equal weights) Returns: List of k chosen items

k int weights string population string
random_shuffle
annotations: none low

Return a new list with items in random order. Args: items: List of items to shuffle Returns: New list with items in random order

items string
random_sample
annotations: none low

Choose k unique items from population without replacement. Args: population: List of items to choose from k: Number of items to choose Returns: List of k unique chosen items

k int population string
secure_token_hex
annotations: none low

Generate a secure random hex token. Args: nbytes: Number of random bytes to generate (default 32) Returns: Hex string containing 2*nbytes characters

nbytes int
secure_random_int
annotations: none low

Generate a secure random integer below upper_bound. Args: upper_bound: Upper bound (exclusive) Returns: Random integer in range [0, upper_bound)

upper_bound int

Permissions 0

No permissions indexed yet.

Scan Findings 0

No scan findings.