Labsco
randa-mu logo

Drand

from randa-mu

An MCP server for fetching verifiable random numbers from the drand network.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeQuick setup

drand-mcp-server ๐ŸŽฒ

Use verifiable randomness in your AI application. This Model Context Protocol (MCP) server enables you to get a random value from the drand network, verify its validity and use it as an input seed to your model-driven flows!

Use Cases

  • repeatable, random sampling of input data
  • interaction with other MCP servers in a verifiable manner (e.g. paying out rewards based on a prompt)
  • verifying the output of another random process using historical drand beacons

Tools

The following tools are available from the MCP server

NameParamsDescription
get-randomness-latestnonefetches the latest available beacon from drand quicknet
get-randomness-by-timetime in millisecondsfetches the randomness beacon emitted at or just before the time
provided
get-randomness-by-roundroundfetches the randomness beacon emitted with a given round number

Building from source

  • install dependencies with npm install
  • build the application with npm run build
  • run the application with either npm start or node ./dist/index.mjs

You can also configure VS Code and Claude as above, replacing the command/args with the following:

  "command": "node",
  "args": ["/path/to/my/project/drand-mcp-server/dist/index.mjs"]

Roadmap

  • fetch latest randomness
  • fetch randomness by round
  • fetch randomness by time
  • select items from a list