Drand
An MCP server for fetching verifiable random numbers from the drand network.
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
Prerequisites
- a relatively recent version of node (v21+ -
fetchis required)
Installation
You can run the MCP server either using npx or after building locally.
Usage with VS Code
Create a file called .vscode/mcp.json in your workspace (or in your home directory) and add the following code:
{
"servers": {
"drand": {
"command": "npx",
"args": [
"drand-mcp-server"
]
}
}
}
For additional info, see the VS Code docs on MCP
Usage with Claude
You can run the drand-mcp-server alongside claude desktop by adding the following to your config:
{
"mcpServers": {
"drand": {
"command": "npx",
"args": [
"drand-mcp-server"
]
}
}
}
Tools
The following tools are available from the MCP server
| Name | Params | Description |
|---|---|---|
| get-randomness-latest | none | fetches the latest available beacon from drand quicknet |
| get-randomness-by-time | time in milliseconds | fetches the randomness beacon emitted at or just before the time |
| provided | ||
| get-randomness-by-round | round | fetches 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 startornode ./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
संबंधित सर्वर
Uncyclopedia MCP Server
An MCP server for performing operations on Uncyclopedia with interactive authentication.
SwitchBot
Control SwitchBot smart home devices through its official API, enabling automation and integration with AI assistants.
Text-to-Speech (TTS)
A Text-to-Speech server supporting multiple backends like macOS say, ElevenLabs, Google Gemini, and OpenAI TTS.
PancakeSwap PoolSpy
Tracks newly created liquidity pools on PancakeSwap, providing real-time data for DeFi analysts, traders, and developers.
NWC MCP Server
Control a Lightning wallet using Nostr Wallet Connect (NWC).
Relay-gateway
Relay is a desktop application for managing Model Context Protocol (MCP) servers. It provides a user-friendly interface to configure, enable/disable, and export MCP servers for use with Claude Desktop and other AI applications.
MCP Weather Server
Provides weather-related tools using the US National Weather Service API.
Stock Analysis
An MCP server for stock analysis, offering tools for chip distribution, pattern analysis, trend reversal detection, and market scanning.
Scrptly Video Generator
An Ai Video Agent that can generate professional and complex videos with simple prompts and context images.
Octagon VC Agents
AI-driven venture capitalist agents powered by Octagon Private Markets' real-time intelligence.