Random Number MCP Server

Essential random number generation utilities from the Python standard library, including pseudorandom and cryptographically secure operations for

Local serverstdioPython

What is the Random Number MCP Server?

Random Number MCP connects Random Number MCP to AI assistants that speak the Model Context Protocol. 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.

What Random Number MCP does

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.

Requirements

  • Python 3.10+ - uv package manager

Practical notes

  • Maintained by zazencodes, written in Python.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
random_intGenerate random integers
random_floatGenerate random floats
random_choicesChoose items from a list (optional weights)
random_shuffleReturn a new list with items shuffled
random_sampleChoose k unique items from population
secure_token_hexGenerate cryptographically secure hex tokens
secure_random_intGenerate cryptographically secure integers

How to install the Random Number MCP Server

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

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Python 3.10+ - uv package manager

Example prompts to try

  • “Use Random Number MCP to random int.”
  • “Use Random Number MCP to random float.”
  • “Use Random Number MCP to random choices.”

Frequently asked questions

Essential random number generation utilities from the Python standard library, including pseudorandom and cryptographically secure operations for integers, floats Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.