Dice Roller MCP

mcp-dice is an MCP server that enables Large Language Models to simulate dice rolls using standard tabletop gaming notation. It connects MCP-compatible clients, such as Claude Desktop, to an execution environment that parses and evaluates dice formulas like 1d20, 3d6, or 2d8+1. Role-playing game players, game designers, and AI developers use this server to eliminate hallucinated randomness when running tabletop sessions, probability simulations, or random decision processes through conversational agents. Instead of letting an LLM arbitrarily invent roll outcomes, mcp-dice computes actual random outcomes and returns structured data including individual die results, modifiers, totals, and timestamps. This ensures consistency and transparency for game masters and players interacting with AI assistants for rule verification, combat resolution, and character generation.

Category: Other & General Purpose

Tags: dice, gaming, probability, random

Visit Dice Roller MCP

How to install and configure Dice Roller MCP

  1. Ensure Python tooling uv is installed on your system. 2. Add the server to your Claude Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%/Claude/claude_desktop_config.json on Windows): json { "mcpServers": { "dice": { "command": "uvx", "args": ["mcp-dice"] } } } 3. Alternatively, install automatically via Smithery with: npx @smithery/cli install mcp-dice --client claude. 4. Restart Claude Desktop to use the dice rolling tool.

What you can do with Dice Roller MCP

  • Resolving tabletop RPG actions by parsing complex roll formulas like 2d6+3 and reporting both individual rolls and modified sums. - Running automated probability tests and random game event simulations directly inside Claude Desktop conversations. - Assisting game masters with dungeon crawling encounters by providing unbiased, timestamped random generation for initiative and damage. - Facilitating board game prototyping by allowing assistants to simulate multi-sided dice mechanics with accurate numeric results.

Key facts

  • https://github.com/yamaton/mcp-dice
  • Other & General Purpose
  • dice, gaming, probability, random

Part of MCP Servers

Related MCP servers

  • MCP Media Player — MCP Media Player is an MCP server that exposes playback controls for Home Assistant media players to AI agents. It…
  • MCP Marvel Rivals — MCP Marvel Rivals is an MCP server that provides access to Marvel Rivals game data through a standardized interface. It…
  • MCP Notify Server — MCP Notify Server is an MCP server that sends desktop notifications accompanied by audio alerts when AI agents complete tasks.…
  • MCP Notification Server — MCP Notification Server is an MCP server that sends periodic notifications at fixed intervals of every 10 seconds. Built around…
  • MCP Minecraft Remote — MCP Minecraft Remote is an MCP server that enables AI assistants to remotely connect to and control a player character…
  • MCP Montano Server — MCP Montano Server is an MCP server that provides a general-purpose TypeScript starter project designed for Model Context Protocol integration.…

What can mcp-dice do?

mcp-dice processes standard tabletop dice notation, such as 1d20, 3d6, or 2d8+1. It calculates true random outcomes and returns structured JSON responses containing individual dice rolls, modifiers, the calculated sum, the final total, the original notation, and execution timestamps.

How do I install mcp-dice?

You can install mcp-dice using Smithery with the command npx @smithery/cli install mcp-dice --client claude. Alternatively, you can configure it manually in your Claude Desktop configuration file using uvx to run the mcp-dice command directly.

Which MCP clients work with mcp-dice?

mcp-dice works with Claude Desktop on macOS and Windows via WSL. It can also be inspected and tested with the standard MCP Inspector debugging tool by running npx @modelcontextprotocol/inspector uvx mcp-dice.

What input format does mcp-dice accept?

The server accepts a JSON object with a notation field containing the dice string, such as 2d6+3. It evaluates the string and returns individual rolls, base sums, and modifier totals in a structured format.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories