Drand MCP Server

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

Local serverstdio

What is the Drand MCP server?

Drand becomes available to MCP clients through the drand mcp server. An MCP server for fetching verifiable random numbers from the drand network.

What Drand does

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!

Tools it exposes

Once connected, the assistant can call these 3 tools directly:

  • get-randomness-latest — none
  • get-randomness-by-time — time in milliseconds
  • get-randomness-by-round — round

Installing the drand mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Requirements

  • a relatively recent version of node (v21+ - fetch is required)

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Drand sits in that group, and the shape of its toolset — get-randomness-latest, get-randomness-by-time, get-randomness-by-round — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the drand mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
get-randomness-latestnone
get-randomness-by-timetime in milliseconds
get-randomness-by-roundround

How to install the Drand MCP server

{
  "mcpServers": {
    "drand": {
      "command": "npx",
      "args": [
        "drand-mcp-server"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • a relatively recent version of node (v21+ - fetch is required)

Example prompts to try

  • Use Drand to get-randomness-latest.
  • Use Drand to get-randomness-by-time.
  • Use Drand to get-randomness-by-round.

Frequently asked questions

It connects Drand to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (get-randomness-latest, get-randomness-by-time, get-randomness-by-round) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Drand directly.