Basic information
About drand-mcp-server 🎲
A model context protocol server for drand
drand-mcp-server 🎲 is a MCP server in the Other category listed in the AddMCP.net directory, published by randa-mu. It exposes 3 tools, including get-randomness-latest, get-randomness-by-round, get-randomness-by-time. Supported transport: stdio. Runtime: node. License: MIT license. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"drand": {
"command": "npx",
"args": [
"drand-mcp-server"
]
}
}
}
{
"mcpServers": {
"drand": {
"command": "npx",
"args": [
"drand-mcp-server"
]
}
}
}
{
"servers": {
"drand": {
"command": "npx",
"args": [
"drand-mcp-server"
]
}
}
}
drand-mcp-server 🎲 config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"drand": {
"command": "npx",
"args": [
"drand-mcp-server"
]
}
}
}
drand-mcp-server 🎲 tools
-
get-randomness-latest
— Get the latest random value from drand quicknet
(no parameters) -
get-randomness-by-round
— Get the random value associated with a specfic round from drand quicknet
round:number* -
get-randomness-by-time
— Get the random value associated with a specific time from drand quicknet
time:number*
Overview
What is drand-mcp-server 🎲?
drand-mcp-server is a Model Context Protocol (MCP) server that lets AI applications fetch verifiable randomness from the drand network. It provides tools to get the latest beacon, a beacon by round, or a beacon by timestamp, and use that randomness as an input seed in model-driven flows.
How to use drand-mcp-server 🎲?
Run the server via npx drand-mcp-server or build from source (npm install && npm run build) and then run node ./dist/index.mjs. Configure it as an MCP server in VS Code (.vscode/mcp.json) or Claude Desktop (claude_desktop_config.json) by setting the command and args as shown in the README.
Key features of drand-mcp-server 🎲
- Fetch the latest random beacon from drand Quicknet.
- Retrieve a beacon by a specific round number.
- Get the beacon emitted at or just before a given timestamp.
- All randomness is cryptographically verifiable.
- Built for integration with AI tools via the MCP protocol.
Use cases of drand-mcp-server 🎲
- Repeatable, random sampling of input data.
- Verifiable interaction with other MCP servers (e.g., paying out rewards based on a prompt).
- Verifying the output of another random process using historical drand beacons.
Frequently asked questions
1 What runtime does drand-mcp-server require?
Node.js version 21 or later (the fetch API is required).
2 How do I obtain a randomness beacon for a specific time?
Use the get-randomness-by-time tool with a time parameter in milliseconds; it returns the beacon emitted at or just before that time.
3 Does drand-mcp-server store any data locally?
No. The server fetches beacons directly from the drand network and does not persist data locally.
4 Which transport protocol does drand-mcp-server use?
The README describes command‑line execution (stdio) for VS Code and Claude Desktop; no other transport (e.g., HTTP or WebSocket) is mentioned.
5 Is authentication required to use drand-mcp-server?
No authentication or API keys are mentioned in the README. The server connects to the public drand Quicknet.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In