Drand

by randa-mu

160 downloads
Not rated
GitHub

About

An MCP server for fetching verifiable random numbers from the [drand network](https://drand.love).

Details

Author
randa-mu
Downloads
160
Categories
Developer Tools, Other, API

- 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.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Drand
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

get-randomness-latest

Get the latest random value from drand quicknet

get-randomness-by-round

Get the random value associated with a specfic round from drand quicknet

get-randomness-by-time

Get the random value associated with a specific time from drand quicknet

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

- Get the latest randomness beacon— Fetch the most recent verifiable random value from the drand network usingget-randomness-latest.
- Retrieve randomness for a specific past time— Supply a Unix timestamp in milliseconds toget-randomness-by-timeand get the beacon emitted at or just before that moment.
- Fetch randomness by round number— Useget-randomness-by-roundto obtain the beacon for a specific drand round, enabling repeatable, verifiable sampling.

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

- 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

- a relatively recent version of node (v21+ -fetchis required)

You can run the MCP server either using npx or after building locally.

Create a file called.vscode/mcp.jsonin 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 Codedocs on MCP

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" ] } } }

The following tools are available from the MCP server

- install dependencies withnpm install
- build the application withnpm run build
- run the application with eithernpm 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"]

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

AI agent API marketplace-discover, call, and pay for services with USDC payments. List your own AI services and earn money per call.

Manage stock and crypto portfolios, place trades, and access market data via the Alpaca Trading API.

MCP server for building unsigned transactions on multiple blockchains via Crypto APIs

Blockchain data across 100+ chains — wallet balances, token prices, transactions, DEX pairs, and more. REST API, real-time WebSocket with OHLCV price feeds, CLI, and x402 pay-per-request.

A live HTTP 402 Lightning tollbooth for AI agents. Sells structured API error intelligence paid per-request over the Lightning Network. No accounts, no OAuth, just pure HTTP 402.

121 pay-per-call API tools for AI agents — crypto, weather, finance data via x402 micropayments (USDC on Base). Each call costs $0.001-$0.05.

MCP server exposing 90+ crypto API tools with automatic x402 USDC micropayment handling — gas oracle, token lookup, wallet risk analysis, market mood, and more on Base.

AI-powered data matching, enrichment, standardization, and verification APIs. 29 tools for company/name/address deduplication, business intelligence, email trust scoring, and more. Supports x402 crypto micropayments.

100 x402 micropayment APIs / MCP servers for AI agents. Pay-per-call USDC on Base, no signup. Composable in 6 use-case bundles.

A simple MCP server that grabs prediction market data from polymarket, PredictIt, & Kalshi.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.