MCP Servers / development / Random Number

Random Number

JSON →
httpnone50development

Provides LLMs with essential random generation abilities, built entirely on Python's standard library.

Install
How to run this server
[ { "cmd": "npx @modelcontextprotocol/inspector", "imports": [] } ]
server path: random-number
Tools
What this server exposes
random_int
Generate random integers
random_float
Generate random floats
random_choices
Choose items from a list (optional weights)
random_shuffle
Return a new list with items shuffled
random_sample
Choose k unique items from population
secure_token_hex
Generate cryptographically secure hex tokens
secure_random_int
Generate cryptographically secure integers
Configuration
Environment & auth
authnone
Resources
Random Number — MCP Server · libregistry