
Dice Roller
io.github.vandewilly由 GitHub 账号 vandewilly 发布v0.1.0更新于 Oct 24, 2026
Roll dice using standard notation (2d6, 1d20+5), D&D stats, coin flips, and more!
概览
本地 MCP 服务器,让助手按标准骰子记法掷骰、生成 D&D 属性、抛硬币并从选项中随机挑选。
- 可以做什么
- 按 2d6、1d20+5、4d6kh3 等标准记法掷骰,支持保留最高或最低值
- 重复掷同一组骰子多次,并返回最小值、最大值、总和与平均值统计
- 用 4d6 去最低值的方法生成 D&D 5e 角色属性
- 抛一次或多次硬币,并掷百分位 d100 骰
- 从给定选项列表中随机选出一项
- 适用场景
- 适合桌面角色扮演游戏、需要随机决定的场合,或任何希望助手给出真实随机结果而不是自行编造的场景。
- 运行要求
- 作为本地进程运行,通过 pip 安装 PyPI 包 mcp-dice-roller,并用 python -m mcp_dice_roller 启动。未声明账号、API 密钥、环境变量或请求头。需要在桌面客户端中配置。
安装
在 SourceWeft 中
- 打开 控制台中的 Dice Roller,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
MCP Dice Roller 🎲
A simple MCP (Model Context Protocol) server for rolling dice. Perfect for tabletop games, random decisions, and more!
Features
- Standard Dice Notation - Roll any dice using notation like
2d6,1d20+5,3d8-2 - Keep Highest/Lowest - Support for
4d6kh3(keep highest 3) and2d20kl1(keep lowest) - D&D Stat Rolling - Quick character stat generation using 4d6 drop lowest
- Coin Flips - Simple heads or tails
- Random Picker - Choose randomly from a list of options
- Percentile Dice - Roll d100 with tens and ones dice
Installation
Usage
With Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
With VS Code
Add to your VS Code MCP settings:
Tools
roll_dice
Roll dice using standard notation.
Example Response:
roll_multiple
Roll the same dice multiple times with statistics.
Example Response:
roll_dnd_stats
Generate D&D 5e character ability scores.
Example Response:
flip_coin
Flip a coin.
pick_random
Pick randomly from options.
Example Response:
roll_percentile
Roll d100 (percentile dice).
Example Response:
Development
Setup
Running Locally
MCP Registry
MCP Name: io.github.vandewilly/dice-roller
This server is published to the MCP Registry.
License
MIT License - see LICENSE for details.
Author
Vandewilly Silva (@vandewilly)
来源:README.md,提交 fa05662
工具
0版本历史
1- v0.1.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分