MCP Dice MCP Server

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

Local serverstdio

What is the MCP Dice MCP server?

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. Exposed over MCP by the mcp dice mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

  • 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

Its toolset

Everything the assistant can do here goes through one of these:

  • Location — The Location tool exposed by this server
  • Examples — The Examples tool exposed by this server

Adding it to your client

Installation goes through your MCP client rather than a global install: point it at @smithery/cli on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

When to reach for it

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. MCP Dice's toolset — Location, Examples — is a fair guide to whether it matches your workflow. It is maintained by yamaton; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against MCP Dice's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp dice mcp server does with a few real requests.

Available tools

ToolWhat it does
LocationThe Location tool exposed by this server.
ExamplesThe Examples tool exposed by this server.

How to install the MCP Dice MCP server

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

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use MCP Dice to Location.
  • Use MCP Dice to Examples.

Frequently asked questions

It connects MCP Dice to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (Location, Examples) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Dice directly.