# QueueSim

QueueSim is a free Model Context Protocol server that gives Claude — and any MCP-speaking AI — the ability to run real discrete event queueing simulations inside a conversation. Ask "I run a 3-agent …

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add chiaha/QueueSim

# Browse available tools
npx -y @smithery/cli@latest tool list chiaha/QueueSim

# Get full schema for a tool
npx -y @smithery/cli@latest tool get chiaha/QueueSim simulate_mmc

# Call a tool
npx -y @smithery/cli@latest tool call chiaha/QueueSim simulate_mmc '{}'
```

## Direct MCP Connection

Endpoint: `https://queuesim--chiaha.run.tools`

## Tools (6)

- `simulate_mmc` — Run a generic M/M/c queue simulation. Provide an arrival rate (λ, arrivals/hour), a service rate per server (μ, custome…
- `list_scenarios` — List the four pre-built QueueSim scenarios. Returns key, title, and one-line description for each (Single Server, Coffe…
- `describe_scenario` — Return full details for one preset scenario: title, description, teaching note, peak parameters, and per-hour arrival +…
- `simulate_scenario` — Run one of the four preset scenarios (single, coffee, er, callcenter) with optional overrides. Overrides apply UNIFORML…
- `explain_queueing_theory` — Return a ~500-word educational explainer of M/M/c queueing theory: Little's Law, utilization, why averages mislead, how…
- `explain_advanced_patterns` — Return a textbook-level description of six queueing complexity patterns beyond basic M/M/c: abandonment/reneging, prior…

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get chiaha/QueueSim <tool-name>
```
