Atlas / MCP servers / zazencodes / Random Number

Random NumberSAFE

mcp/zazencodes/random-number-1

Production-ready MCP server that provides LLMs with essential random generation abilities, built entirely on Python's standard library.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
7 6r · 1w · 0d
Transport
stdio
License
MIT
Stars
51
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

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/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

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

Tool Ref

Read from source at commit d649f5c7dbe2OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code (pypi)
claude mcp add random-number-mcp -- None random-number-mcp==0.1.3
03

Exposed tools (7)

6 read · 1 write · 0 destructive.

ToolRiskDescription
random_choicesreadChoose k items from population with replacement, optionally weighted.
random_floatreadGenerate a random float between low and high.
random_intreadGenerate a random integer between low and high (inclusive).
random_samplereadChoose k unique items from population without replacement.
random_shufflewriteReturn a new list with items in random order.
secure_random_intreadGenerate a secure random integer below upper_bound.
secure_token_hexreadGenerate a secure random hex token.
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (1)

LOWInventory / provenance · inv.symlink · CWE-1104
CLAUDE.md
CLAUDE.md
Why it matters. link not followed

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha d649f5c7dbe2full audit observations/trust-audit/mcp-server/zazencodes__random-number-1.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08d649f5c7dbe2SAFEB89first audit
06

Questions

What is the Random Number MCP server?

Production-ready MCP server that provides LLMs with essential random generation abilities, built entirely on Python's standard library.

What tools does Random Number expose?

7 in total: 6 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Random Number safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Random Number need?

No credential environment variables were found in its source, so it appears to need none.

How does Random Number run?

It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as random-number-mcp.

How current is this page?

The grade is for one exact copy of the source (d649f5c7dbe2), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement