io.github.zazencodes/random-number-mcp
PYPI · RANDOM-NUMBER-MCP
Essential random number generation utilities from the Python standard library
Available components
Last scanned (10 minutes ago)
Scores higher than 0% of PyPI servers
Category Developer Tools
Recent critical change
CVE-2026-32871 affects this package (23 Sept 2026). See the changelog before you install this server.
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security25
- Malware scan not yet available for this package.Unverified
- CVE check failed: an unpatched critical CVE affects this package; the score is capped at 0. See how to fix → View diagnostics → Fail
- Runs hatchling.build at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
- 8 of 73 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to zazencodes/random-number-mcp). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 110 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability69
- AI-judged instruction clarity (good).Pass
- Tool/resource definitions use about 427 tokens (~61/item across 7 items; 7 tools + 0 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management70
- Stability observed for 21 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage71
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 0% of tool parameters carry a description.Fail
- Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 7 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 7 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 5 Nov 26 0
- Malware scan: pass → unverified ▼ security
- 3 Nov 26 0
- Stability: pass → 0.63 functional
- 28 Oct 26 0
- Stability: 0.97 → pass security
- 27 Oct 26 0
- Stability: pass → 0.97 functional
- 21 Oct 26 0
- Malware scan: unverified → pass ▲ security
- Stability: 0.97 → pass security
- 20 Oct 26 0
- Malware scan: pass → unverified ▼ security
- Stability: pass → 0.97 functional
- 18 Oct 26 −80
- Known CVEs: unverified → fail ▼ critical
- Score status: scored → failed ▼ critical
- Dependency health: unverified → 0.96 ▲ functional
- 17 Oct 26 +80
- Known CVEs: fail → unverified ▼ security
- Stability: 0.83 → pass security
- Dependency health: 0.96 → unverified ▼ functional
- Score status: failed → scored ▲ functional
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 5 Nov 2026 · Analysed pypi/random-number-mcp@0.1.2
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | pypi |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | zazencodes/random-number-mcp |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/zazencodes/random-number-mcp/.github/workflows/publish.yml@refs/tags/v0.1.2 |
| Rekor log index | 1020935959 |
| Predicate type | PyPI publish attestation https://docs.pypi.org/attestations/publish/v1 |
| Subject digest | sha256:32f0b532e37d309edb4e91728195f8bad4b6655e183b6b676a883b9ad29ac7a4 |
Background: How many MCP packages publish verified provenance →
Install scripts 1 script
| Hook | Tier | Command |
|---|---|---|
| build_backend | allowlisted | hatchling.build |
Background: Why install scripts are a supply-chain risk →
Vulnerabilities 6 findings
| ID | CVE | Severity | Vector | Fix available |
|---|---|---|---|---|
| GHSA-m8x7-r2rg-vh5g | CVE-2025-64340 | medium | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | yes |
| GHSA-rww4-4w9c-7733 | CVE-2026-27124 | high | yes | |
| GHSA-vv7q-7jx5-f767 | CVE-2026-32871 | critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | yes |
| PYSEC-2026-2475 | CVE-2025-64340 | medium | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | yes |
| PYSEC-2026-2476 | CVE-2026-27124 | none | yes | |
| PYSEC-2026-338 | CVE-2026-32871 | critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | yes |
Background: What a vulnerability scan can and cannot prove →
Dependencies 73 packages
| Packages resolved | 73 |
|---|---|
| Stale | 5 |
| No linked repository | 3 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
random_choices ~87
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
| Name | Type | Req | Description |
|---|---|---|---|
| k | integer | – | – |
| population | array | yes | – |
| weights | – | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | array | yes | – |
No examples provided.
random_float ~67
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
| Name | Type | Req | Description |
|---|---|---|---|
| high | number | – | – |
| low | number | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | number | yes | – |
No examples provided.
random_int ~61
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
| Name | Type | Req | Description |
|---|---|---|---|
| high | integer | yes | – |
| low | integer | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | integer | yes | – |
No examples provided.
random_sample ~62
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
| Name | Type | Req | Description |
|---|---|---|---|
| k | integer | yes | – |
| population | array | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | array | yes | – |
No examples provided.
random_shuffle ~47
Return a new list with items in random order. Args: items: List of items to shuffle Returns: New list with items in random order
| Name | Type | Req | Description |
|---|---|---|---|
| items | array | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | array | yes | – |
No examples provided.
secure_random_int ~50
Generate a secure random integer below upper_bound. Args: upper_bound: Upper bound (exclusive) Returns: Random integer in range [0, upper_bound)
| Name | Type | Req | Description |
|---|---|---|---|
| upper_bound | integer | yes | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | integer | yes | – |
No examples provided.
secure_token_hex ~53
Generate a secure random hex token. Args: nbytes: Number of random bytes to generate (default 32) Returns: Hex string containing 2*nbytes characters
| Name | Type | Req | Description |
|---|---|---|---|
| nbytes | integer | – | – |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
How do I install the io.github.zazencodes/random-number-mcp server?
io.github.zazencodes/random-number-mcp runs locally as a PyPI package, launched with uvx random-number-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
pypi · random-number-mcp
claude mcp add zazencodes-random-number-mcp -- uvx random-number-mcp
What is the io.github.zazencodes/random-number-mcp server?
io.github.zazencodes/random-number-mcp is listed in the public MCP registry as io.github.zazencodes/random-number-mcp. Essential random number generation utilities from the Python standard library. This page covers its PyPI package (random-number-mcp).
What tools does the io.github.zazencodes/random-number-mcp server expose?
io.github.zazencodes/random-number-mcp exposes 7 tools: random_int, random_float, random_choices, random_shuffle, random_sample, and 2 more. Their descriptions and schemas cost roughly 427 tokens of context every time the server is loaded.
Is the io.github.zazencodes/random-number-mcp server still maintained?
io.github.zazencodes/random-number-mcp is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the io.github.zazencodes/random-number-mcp server under?
io.github.zazencodes/random-number-mcp declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.