By randa-muCreated 16 days ago
starstarstarstarstar

Fetch verifiable random numbers from the drand network.

Visit Project
Share this MCP:
X (Formerly Twitter)RedditblueskyThreads by Instagram

Category

Official MCP Server

Tags

DrandVerifiable RandomnessRandomness NetworkModel Context Protocol

What is drand-mcp-server?

Drand-mcp-server is a server that integrates with the Model Context Protocol (MCP) to fetch verifiable random numbers from the drand network. It allows AI applications to use secure, verifiable randomness as an input seed for model-driven flows.

How to use drand-mcp-server?

  1. Installation: The server can be run using npx or by building from source locally.
    • VS Code Integration: Configure the server in .vscode/mcp.json with the npx command.
    • Claude Desktop Integration: Add the server to Claude's config.
  2. Usage: Use the provided tools (e.g., get-randomness-latest, get-randomness-by-time, get-randomness-by-round) to fetch random numbers based on different criteria.
  3. Building from Source: Clone the repo, install dependencies, build, and run the application.

Key Features of drand-mcp-server?

  • Integration with drand network to fetch verifiable random numbers.
  • Supports MCP for seamless integration with AI applications.
  • Tools to fetch randomness by time, round, or the latest available beacon.
  • Configurable for use with VS Code and Claude Desktop.

Use Cases of drand-mcp-server?

  1. Repeatable, random sampling of input data for AI models.
  2. Verifiable interaction with other MCP servers (e.g., for reward distribution).
  3. Validating the output of random processes using historical drand beacons.

FAQ from drand-mcp-server?

  • Is randomness truly verifiable?

    Yes, drand uses distributed randomness generation across multiple parties to ensure verifiability.

  • Can I select items from a list with this server?

    A roadmap item mentions this feature, but it is not yet implemented.

  • What versions of Node.js are supported?

    Node.js v21 or later is required to use the fetch API.