dk-mcp
by arm1323
README.md
# dk-mcp
Read-only MCP server for DraftKings DFS lobby data (slates, contests, salaries, roster rules).
Uses DK's unauthenticated lobby endpoints via [`draft-kings`](https://github.com/jaebradley/draftkings_client).
DK doesn't document these endpoints — if tools break, check that repo first.
## Run locally
```bash
pip install -r requirements.txt
python server.py # HTTP on :8000/mcp
MCP_TRANSPORT=stdio python server.py # stdio for Claude Desktop
```
## Deploy on Render
Push this folder to a repo, "New → Blueprint", point at `render.yaml`.
Your MCP URL will be `https://<service>.onrender.com/mcp`. Add it in Claude → Settings → Connectors → Add custom connector.
## Typical flow
1. `list_slates("NFL")` → pick the main slate's `draft_group_id`
2. `get_slate_games(id)` → game environment, kickoff times, weather
3. `get_salaries(id, position="RB")` or `export_salaries_csv(id)`
4. `list_contests("NFL", draft_group_id=id, contest_type="cash", max_fee=20)`
## Not possible (needs auth / against DK ToS)
Entering lineups, reading your entries, contest results.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues