# Random Number Generator

> Use this tool when you need to generate reliable random numbers for simulations, testing scenarios, or security token generation. It provides a range of utilities, including random integer and float generation, list shuffling, and secure token generation, with inputs including integer ranges, lists, and weights, and outputs including random numbers, shuffled lists, and secure tokens. Ideal for building AI assistants or applications that require pseudorandom or cryptographically secure operations without external dependencies.

Canonical page: https://skillsregistry.net/skills/zazencodes-random-number  
JSON: https://api.skillsregistry.net/v1/skills/zazencodes-random-number

## Description

This MCP server provides random number generation utilities through six core tools covering both standard pseudorandom and cryptographically secure operations. Built by Alexander Galea using Python with FastMCP v2.0, it offers random integer and float generation, weighted item selection from lists, list shuffling, secure hex token generation, and secure random integers using Python's built-in random and secrets modules. The implementation features comprehensive input validation, type hints throughout, extensive error handling with descriptive messages, and a complete test suite, making it valuable for simulations, testing scenarios, security token generation, and building AI assistants that need reliable randomization capabilities without external dependencies.

## Trust

- **Trust score (0–1):** 0.65
- **Verification tier:** scanned
- **Last scanned:** 2026-09-01

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** finance
- **Updated:** 2026-09-01

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/zazencodes-random-number)
- **Repository:** <https://github.com/zazencodes/random-number-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "zazencodes-random-number"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/zazencodes-random-number` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/zazencodes-random-number/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
