Agent♥︎Age
Catalog

io.github.eldesh/random-mcp

Official

by eldesh · TypeScript

Generate random values and probability distribution samples.

random-mcp (io.github.eldesh/random-mcp)

random-mcp is an MCP (Model Context Protocol) server for generating random values and probability distribution samples. It runs on Cloudflare Workers and can be called by MCP clients (e.g., Notion Agent) to produce integer and floating-point numbers, weighted selections, and samples from various probability distributions.

🛠️ Key Features

  • Cloudflare Workers deployment
  • Random value generation
  • Probability distribution sample generation
  • Integer and floating-point sampling
  • Weighted choice support

🚀 Use Cases

  • Generate random integers and floating-point values via MCP tools
  • Produce weighted selections for downstream logic
  • Request probability distribution samples from an external random generator

⚡ Developer Benefits

  • Keeps randomness generation outside the language model
  • Prevents model-driven value selection that can lead to statistically biased outputs

⚠️ Limitations

  • Relies on an external MCP tool for randomness rather than delegating random choice to the language model