
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A TypeScript Model Context Protocol server that gives AI assistants real, cryptographically secure dice rolling with advanced tabletop gaming mechanics.
Dice Rolling MCP Server is cataloged as an MCP server attributed to jimmcq. A TypeScript Model Context Protocol server that gives AI assistants real, cryptographically secure dice rolling with advanced tabletop gaming mechanics. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: ISC. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Dice Rolling MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
The roller executes dice expressions using Node.js crypto.randomInt() for cryptographically secure randomness.
STDIO for local Claude Desktop integration and Streamable HTTP for remote connections.
README.md · de68c49fd00e · 采集于 2026-11-13 14:00:04 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A comprehensive TypeScript-based Model Context Protocol (MCP) server that provides advanced dice rolling capabilities for AI assistants. Perfect for tabletop gaming, RPGs, and any application requiring sophisticated random number generation with gaming mechanics.
When you ask an AI assistant to "roll dice," they don't actually roll anything. Large Language Models are deterministic systems that generate responses based on patterns in their training data. When asked to roll a d20, they might respond with something like "I rolled a 14" - but that number was generated through text prediction, not random number generation.
This creates several problems:
This MCP server acts as a bridge between AI assistants and actual random number generation. Think of it as giving your AI assistant a real set of dice instead of asking them to imagine rolling.
How it works:
The result: AI assistants can now provide truly random dice rolls with mathematical integrity, making them suitable for actual gaming, simulations, and any application requiring authentic randomness.
1d20, 3d6, 2d101d20+5, 2d6-31d20+2d6+31d% (d100)4dF (Fate/Fudge system)2d20kh1 (keep highest), 2d20kl1 (keep lowest)4d6dl1 (drop lowest), 4d6dh1 (drop highest)3d6! (reroll and add on maximum)4d6r1 (reroll 1s)5d10>7 (count successes ≥7)searchDiscovers available dice rolling operations and documentation. Required for ChatGPT Connector compatibility.
Parameters:
query (required): Search query to find relevant dice rolling informationReturns:
content: JSON with search results containing id, title, and url fieldsstructuredContent: Machine-readable search results with relevance scoringfetchRetrieves detailed content for a specific dice rolling topic by ID.
Parameters:
id (required): Topic ID from search resultsReturns:
content: JSON document with full contentstructuredContent: Metadata and structured document informationdice_rollExecutes dice rolls using standard notation with optional labeling and verbose output.
Parameters:
notation (required): Dice notation string (e.g., "3d6+2")label (optional): Descriptive label for the rollverbose (optional): Show detailed breakdown of individual diceReturns:
content: Human-readable text with roll results and emojisstructuredContent: Complete roll data including:
notation: Original dice notationtotal: Final resultrolls: Individual die results with metadata (dropped, exploded, etc.)breakdown: Mathematical breakdown stringcritical: Critical success/fail detection for d20 rollsmodifier: Applied modifierstimestamp: ISO timestamp of the rolldice_validateValidates dice notation without executing the roll, providing detailed breakdown of what the notation means.
Parameters:
notation (required): Dice notation string to validateReturns:
content: Human-readable validation resultstructuredContent: Structured validation data including:
valid: Boolean validation statusexpression: Parsed dice expression (if valid)breakdown: Structured breakdown of dice and modifierserror: Error message (if invalid)All tools return both human-readable content and machine-readable structuredContent following the OpenAI Apps SDK specification. This enables:
The structured content includes complete metadata about each operation, making it suitable for building advanced applications on top of the dice rolling capabilities.
This MCP server supports Streamable HTTP transport for remote connections and implements the OpenAI MCP specification, including the required search tool for operation discovery.
http://localhost:3000/mcphttps://dice-rolling-mcp.vercel.app/mcpThe search and fetch tools enable both Claude and ChatGPT to discover available dice rolling operations automatically.
For local Claude Desktop integration, configure your claude_desktop_config.json:
{
"mcpServers": {
"dice-rolling-remote": {
"command": "npx",
"args": [
"@modelcontextprotocol/client-stdio",
"connect",
"https://dice-rolling-mcp.vercel.app/mcp"
]
}
}
}
git clone https://github.com/jimmcq/dice-rolling-mcp
cd dice-rolling-mcp
npm install
npm run build
Add to your claude_desktop_config.json:
{
"mcpServers": {
"dice-roller": {
"command": "node",
"args": ["path/to/dice-rolling-mcp/dist/index.js"]
}
}
}
Platform-specific examples:
Windows (WSL):
{
"mcpServers": {
"dice-roller": {
"command": "wsl",
"args": ["node", "/path/to/dice-rolling-mcp/dist/index.js"]
}
}
}
macOS/Linux:
{
"mcpServers": {
"dice-roller": {
"command": "node",
"args": ["/path/to/dice-rolling-mcp/dist/index.js"]
}
}
}
npm run start
Human: Roll 3d6+2 for damage
Assistant: You rolled 3d6+2 for damage:
🎲 Total: 13
📊 Breakdown: 3d6:[4,2,5] + 2
Human: Roll 2d20kh1+5 for attack with advantage
Assistant: You rolled 2d20kh1+5 for attack with advantage:
🎲 Total: 23
📊 Breakdown: 2d20:[12,18] keep highest + 5
Human: Is "4d6kh3+2d8+5" valid dice notation?
Assistant: ✅ Valid dice notation: 4d6kh3+2d8+5
Breakdown:
• 4d6 (keep highest 3)
• 2d8
• Modifier: +5
Human: What dice operations are available?
Assistant: [Calls search tool with query "dice"]
🎲 Found dice rolling operations:
- Basic Dice Notation: Learn standard XdY format
- D&D Advantage and Disadvantage: 2d20kh1 mechanics
- Combat Roll Examples: Attack, damage, spells
- Ability Score Generation: 4d6kh3 for character stats
src/parser/): Tokenizes and parses dice notation using regex-based parsingsrc/roller/): Executes dice expressions with cryptographically secure random number generationsrc/index.ts): Implements the Model Context Protocol for AI assistant integrationsrc/types.ts): Comprehensive TypeScript definitions for all dice mechanicscrypto.randomInt() for cryptographically secure randomnessnpm test
The test suite covers:
dice-rolling-mcp/
├── src/
│ ├── index.ts # MCP server implementation
│ ├── parser/ # Dice notation parser
│ ├── roller/ # Dice rolling engine
│ ├── statistics/ # Statistical analysis tools
│ └── types.ts # TypeScript definitions
├── __tests__/ # Test suite
├── dist/ # Compiled JavaScript
└── examples/ # Usage examples
DiceTerm interface in types.tsdice-notation-parser.tsdice-roller.tsThe server supports various configuration options through the DiceRollerConfig interface:
search toolJim McQuillan
ISC
Contributions welcome! Please ensure:
npm test)Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Dice Rolling MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/dice-rolling-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.