mcp-dice: A MCP Server for Rolling Dice

by yamaton

4 stars
222 downloads
Not rated
GitHub

About

Rolls dice using standard notation (e.g., 1d20) and returns individual rolls and their sum.

Details

Author
yamaton
GitHub stars
4
Downloads
222
Categories
Other

- Supports standard dice notation (e.g., 1d20, 3d6)
- Returns individual rolls and total sum
- Handles modifiers (e.g., 2d8+1)
- Easy integration with Claude Desktop
- Compatible with MCP Inspector for debugging

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 mcp-dice: A MCP Server for Rolling Dice
    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

Install via Smithery with npx @smithery/cli install mcp-dice --client claude or run directly with uvx mcp-dice. The server expects a JSON object with a notation field (e.g., {"notation": "2d6+3"}). For Claude Desktop, add a configuration entry with command uvx and args ["mcp-dice"] in claude_desktop_config.json.

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "mcp-dice: a mcp server for rolling dice": {
            "mcp-dice": {
                "command": "uvx",
                "args": [
                    "mcp-dice"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-dice": {
        "command": "uvx",
        "args": [
            "mcp-dice"
        ]
    }
}

mcp-dice: A MCP Server for Rolling Dice

smithery badge
screenshot

A Model Context Protocol (MCP) server that enables Large Language Models (LLMs) to roll dice. It accepts standard dice notation (e.g., 1d20) and returns both individual rolls and their sum.

<a href="https://glama.ai/mcp/servers/vzu553gv26"></a>

Features

- Supports standard dice notation (e.g., 1d20, 3d6, 2d8+1)
- Returns both individual rolls and the total sum
- Easy integration with Claude Desktop
- Compatible with MCP Inspector for debugging

Installation

Installing via Smithery

To install Dice Roller for Claude Desktop automatically via Smithery:

npx @smithery/cli install mcp-dice --client claude

Make uv available: https://docs.astral.sh/uv/getting-started/installation/

Usage

Basic Command Line Usage

```shell

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.