Dice Roll
About
An MCP (Model Context Protocol) server that simulates dice rolls using standard dice notation and Fate/Fudge dice. It provides tools for parsing dice notation strings and generating random results, designed for use with MCP-compatible clients like Claude Desktop.
Details
- Author
- lpbayliss
- GitHub stars
- 2
- Downloads
- 325
- Categories
- Other
Jump to
- Parses standard dice notation strings (e.g., 2d6, 1d20+5)
- Supports both standard dice and Fate/Fudge dice
- Generates random dice rolls with accurate probability distributions
- Validates input and output using Zod schemas
- Seamlessly integrates with any MCP-compatible client
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:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Dice RollCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install globally with npm install -g server-dice-roll or run directly via npx -y server-dice-roll. Configure in Claude Desktop by adding the server to mcpServers in the configuration file. The server exposes two tools: parse_dice_roll_notation (parses a notation string to structured data) and dice_roll (rolls dice based on a configuration and returns results).
parse_dice_roll_notation
Parses dice roll notation
dice_roll
Make a dice roll
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"dice roll": {
"dice": {
"command": "npx",
"args": [
"server-dice-roll"
]
}
}
}
}
McpServers
{
"dice": {
"command": "npx",
"args": [
"server-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, or 4dF
- 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
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



