Random Number MCP Server
@zazencodes
基本信息
关于 Random Number MCP Server
Production-ready MCP server that provides LLMs with essential random generation abilities, built entirely on Python's standard library.
Random Number MCP Server 配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"random-number": {
"command": "uvx",
"args": [
"random-number-mcp"
]
}
}
}Random Number MCP Server 工具
7Generate a random integer between low and high (inclusive). Args: low: Lower bound (inclusive) high: Upper bound (inclusive) Returns: Random integer between low and high
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
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
Return a new list with items in random order. Args: items: List of items to shuffle Returns: New list with items in random order
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
Generate a secure random hex token. Args: nbytes: Number of random bytes to generate (default 32) Returns: Hex string containing 2*nbytes characters
Generate a secure random integer below upper_bound. Args: upper_bound: Upper bound (exclusive) Returns: Random integer in range [0, upper_bound)
概览
What is Random Number Mcp?
Random Number Mcp is a Model Context Protocol server that provides tools for generating random numbers and tokens. It wraps Python’s random and secrets modules for both standard and cryptographically secure outputs.
How to use Random Number Mcp?
—
Key features of Random Number Mcp
- Generate random integers with
random_int - Generate random floats with
random_float - Choose items from a list (optional weights)
- Return a new shuffled list
- Generate cryptographically secure hex tokens
- Generate cryptographically secure integers
Use cases of Random Number Mcp
—
FAQ from Random Number Mcp
—
其他 分类下的更多 MCP 服务器
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Codelf
unbugA search tool helps dev to solve the naming things problem.

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.

Glasswarp
GlasswarpSee and control a real Windows PC you own — from any MCP client, locally or remotely. Observe (UIA + screenshots), click/type/drag/scroll, launch apps, owner Live View. BYOH: your machine, your key.
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
评论