
Dice Roller
Provides cryptographically secure dice rolling with standard notation support for tabletop RPGs and games. Parses notation like '2d6+4' and generates random rolls with accurate probability distributions.
Provides cryptographically secure dice rolling with standard notation and Fate/Fudge dice support for tabletop RPGs and games requiring reliable random number generation.
What it does
- Parse standard dice notation (2d6+4, 1d20, etc.)
- Roll standard dice with modifiers
- Roll Fate/Fudge dice (4dF)
- Generate cryptographically secure random numbers
- Validate dice notation inputs
Best for
About Dice Roller
Dice Roller is a community-built MCP server published by lpbayliss that provides AI assistants with tools and capabilities via the Model Context Protocol. Try our online dice roller for cryptographically secure virtual dice, supporting standard and Fate dice for all your tab It is categorized under other. This server exposes 2 tools that AI clients can invoke during conversations and coding sessions.
How to install
You can install Dice Roller in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
License
Dice Roller is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Tools (2)
Parses dice roll notation
Make a dice roll
server-dice-roll
A Model Context Protocol (MCP) server for simulating dice rolls with support for standard dice notation and Fate/Fudge dice.
Features
- Dice Notation Parsing: Parse standard dice notation strings like
2d6,1d20+5, or4dF - Multiple Dice Types: Support for both standard dice and Fate/Fudge dice
- Random Rolling: Generate truly random dice rolls with accurate probability distributions
- Validation: Full input and output validation using Zod schemas
- MCP Integration: Seamlessly integrates with any MCP-compatible client like Claude Desktop
Usage
This MCP server provides two main tools:
1. Parse Dice Notation
Parses a dice notation string and returns the structured representation.
parse_dice_roll_notation
input: { notation: "3d6+4" }
output: { type: "standard", count: 3, sides: 6, modifier: 4 }
2. Roll Dice
Rolls dice based on a dice roll configuration and returns the results.
dice_roll
input: { type: "standard", count: 3, sides: 6, modifier: 4 }
output: { rolls: [5, 2, 6], total: 17, original: "3d6+4" }
Installation and Setup
Using with Claude Desktop
Add this server to your Claude Desktop configuration:
{
"mcpServers": {
"dice": {
"command": "npx",
"args": ["-y", "server-dice-roll"]
}
}
}
Using with npm/npx
# Install globally
npm install -g server-dice-roll
# Run the server
mcp-server-dice-roll
# Or run directly with npx
npx server-dice-roll
Understanding Dice Notation
Dice notation is a system used in tabletop role-playing games to represent different dice rolls.
Standard Notation
The standard format is NdS+M where:
Nis the number of dice to roll (optional, defaults to 1)dindicates a die rollSis the number of sides on each die+Mis a modifier to add to the total (optional)
Examples:
d6- Roll one 6-sided die2d10- Roll two 10-sided dice and sum the results3d8+5- Roll three 8-sided dice, sum the results, and add 5
Fate/Fudge Dice
Fate dice (also known as Fudge dice) are special 6-sided dice with values of -1, 0, and +1 (two sides each).
Format: NdF where:
Nis the number of dice to rolldFindicates Fate dice
Example:
4dF- Roll four Fate dice (results in values between -4 and +4)
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Author
Created by Luke Bayliss [email protected]
Release Process
This project uses a single integrated workflow for versioning, releases, and publishing:
-
Version Bump Labels: Each PR to the main branch should include exactly one version bump label:
patch- For backwards-compatible bug fixesminor- For backwards-compatible new featuresmajor- For breaking changes- If no label is specified,
patchis applied by default
-
Sequential Workflow: The integrated Release and Publish workflow consists of three sequential jobs:
- Job 1: Version Bump - Updates version in package.json and creates a git tag
- Job 2: Release Creation - Creates a GitHub release with changelog
- Job 3: Publish - Publishes the package to npm
-
Automated Triggers: The workflow runs automatically in these scenarios:
- When a PR is merged to main (using the PR's version label)
- When changes are pushed directly to main (using patch version)
- When manually triggered via GitHub Actions
- When a tag is manually pushed (skips version bump, only creates release and publishes)
All these steps run in a coordinated workflow with proper dependencies to ensure reliability.
PR Requirements
All PRs should include exactly one version bump label (patch, minor, or major). If no label is specified, the system will automatically add the patch label as the default. PRs with multiple version labels will still be blocked from merging.
Manual Versioning
To manually trigger a version bump without creating a PR:
- Go to Actions > Version Bump workflow
- Click "Run workflow"
- Select the branch and bump type (patch, minor, major)
- Click "Run workflow"
The rest of the process (creating release and publishing) will happen automatically.
Alternatives
Related Skills
Browse all skillsCreate professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks
Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks
Downloads videos from YouTube and other platforms for offline viewing, editing, or archival. Handles various formats and quality options.
Provides comprehensive technical analysis for stocks and ETFs using RSI, MACD, Bollinger Bands, and other indicators. Activates when user requests stock analysis, technical indicators, trading signals, or market data for specific ticker symbols.
Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).