# MCP Lottery Demo

> Use this tool when you need to make random selections or simulate games of chance, such as lottery drawings or coin flips, to generate unbiased outcomes from customizable option lists. It solves problems requiring unpredictable results, like decision-making or entertainment applications. The tool accepts input parameters like option lists, dice sides, and draw counts, and outputs randomly selected results.

Canonical page: https://skillsregistry.net/skills/pmhw-mcpdemo  
JSON: https://api.skillsregistry.net/v1/skills/pmhw-mcpdemo

## Description

Enables random selection tools including lottery drawing from option lists, dice rolling with customizable sides and counts, and coin flipping. Supports both single and multiple draws with duplicate control options.

## Trust

- **Trust score (0–1):** 0.87
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** cloud-infra
- **Updated:** 2026-09-19

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/ex0y5btilu)
- **Repository:** <https://github.com/pmhw/McpDemo>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "pmhw-mcpdemo"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/pmhw-mcpdemo` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/pmhw-mcpdemo/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
