# Dice Roller

> Dice Roller is an open-source MCP server. Roll dice using standard notation (2d6, 1d20+5), D&D stats, coin flips, and more!. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/vandewilly/mcp-dice-roller
- **MCP Registry name:** io.github.vandewilly/dice-roller
- **Listing updated:** 2026-11-13

## About

Roll dice using standard notation (2d6, 1d20+5), D&D stats, coin flips, and more!

## Install

### Claude Code (Terminal)

```sh
claude mcp add dice-roller -- uvx mcp-dice-roller
```

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "dice-roller": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-dice-roller"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## FAQ

### Is Dice Roller free?

Yes. Dice Roller is open source, so you can use and self-host it for free.

### How do I add Dice Roller to Claude Code?

Run this command in your terminal: claude mcp add dice-roller -- uvx mcp-dice-roller

---
Source: https://ai-powered.com/mcp/dice-roller-2
