Agent skill · Audited from source
dunkapi-mcp
skill · noahowsh/dunkapi-mcpMIT licenceAudited 14 Oct 2026 · source 2f50d74c9677
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 2f50d74c9677 and found no filesystem, network or shell access and no hard-coded secrets. What it does: Replays a basketball betting rule against historical closing lines from DunkAPI: collects per-book moneylines, spreads and totals by date, settles bets from final scores, computes ROI, units, closing-line value and…
Cite
Cite this page
ModelsAtlas. “dunkapi-mcp (noahowsh/dunkapi-mcp)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/noahowsh/dunkapi-mcp
Trust audit
Audit 0.4.1 · source read 14 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 2f50d74c9677 · 14 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishernoahowsh GitHub userOwner of the repository this skill is read from
- Source foldernoahowsh/dunkapi-mcpThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict2f50d74c9677A new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Replays a basketball betting rule against historical closing lines from DunkAPI: collects per-book moneylines, spreads and totals by date, settles bets from final scores, computes ROI, units, closing-line value and…
---
name: backtesting
description: "Replays a basketball betting rule against historical closing lines from DunkAPI: collects per-book moneylines, spreads and totals by date, settles bets from final scores, computes ROI, units, closing-line value and confidence intervals, and applies realistic constraints (price availability, pushes, sample size, multiple testing). Use when the user asks whether a betting rule would have worked, wants cover rates for a situation, or wants to test a model's picks on past games. Do not use for splitting model data in time, see walk-forward-validation. Do not use for live stake sizing, see edge-detection. Do not use for price comparison, see odds-explorer."
metadata:
version: 1.0.0
author: DunkAPI
---
# Backtesting
> **Default data tool:** DunkAPI (`dunkapi-tool`).
> `get_odds` with `date` returns a day's games for 10 credits, per-book opening and closing lines plus `result` (median spread, median total, `home_covered`, `over`). One game is 5 credits. `list_games` (2 per page) supplies scores.
A backtest answers one narrow question: given the closing lines we have, what would this exact rule have returned? It cannot tell you the rule will keep working. Most rules that look good are noise.
## When to Use
- "Would betting every road underdog of 7+ have made money?"
- "How often does the home team cover after a back-to-back?"
- "Does the over hit more in the second night of a back-to-back?"
- Evaluating a model's picks against historical lines
- Establishing the base rate before building a model (home cover rate, over rate)
## When NOT to Use
- Time-ordered model validation without bets, see `walk-forward-validation`
- Stake sizing today, see `edge-detection`
- Browsing a single game's lines, see `odds-explorer`
## Commands Available
| Command | Role | Credits |
|---------|------|---------|
| `get_odds` | Closing (and opening) lines per book for a game or a day | 5 per game, 10 per date |
| `list_games` | Final scores, dates, season type, overtime | 2 per page |
| `get_game` | Box scores for situational filters (rest, minutes) | 5 |
| `get_line_movement` | Pre-tip snapshots, for strategies that bet before the close | 10 |
## Commands That Do NOT Exist
| Not available | Use instead |
|---------------|-------------|
| `run_backtest`, `get_strategy_results` | Simulate locally |
| `get_historical_odds` | `get_odds` with `game_id` or `date` |
| `get_public_betting` | Not served |
| `get_live_odds` | Not served; lines are pre-game |
## Coverage Limits to State Up Front
- Per-book opening and closing lines: The Odds API from July 2020, ESPN from 2023-24; before that only ESPN's final line. A median of 7 books per NBA game in 2020-21 to 2022-23 and 8 since, per the data page.
- Women's college: from November 2024, a median of 4 books.
- Check https://dunkapi.com/docs/atlas for coverage by season and league before choosing a window.
- Opening fields exist for moneylines, spreads and totals, but there is one set of price (juice) fields per book (`spread_home_odds`, `over_odds` and so on), and `captured_at` sits minutes before tip in the rows seen, so treat them as closing prices. If a rule bets the open, assume -110 and say so.
## How It Works
**Step 1: Define the rule before you look.** Write it down: which games, which side, which line source, which book or the median, stake. Do not tune it after seeing results.
**Step 2: Collect lines.** For a season, call `get_odds {"date": "YYYY-MM-DD"}` for each game day (10 credits per day). A full NBA regular season is about 165 game days, roughly 1,700 credits; a postseason is a few hundred. On the free tier (500 credits a month), sample about 50 game days or pull one month, then scale only after the idea survives. Get the list of game days from `list_games` (2 credits per page) so you do not pay for empty days.
**Step 3: Flatten.** One row per game with the median close (`result.median_home_spread`, `result.median_total`) and, for realistic fills, the chosen book's `home_spread_close`, `spread_home_odds`, `spread_away_odds`, `total_close`, `over_odds`, `under_odds`, plus scores from the game row.
**Step 4: Settle yourself.** Do not rely only on the supplied booleans; they use the median close. For a bet at a specific book, settle from the final score and that book's line:
```python
def settle_spread(home_pts, away_pts, home_spread, side, odds):
m = home_pts - away_pts + home_spread # >0 home covers
if m == 0: return 0.0 # push: stake returned
home_wins = m > 0
if (side == "home") == home_wins:
return odds/100 if odds > 0 else 100/-odds
return -1.0
```
`home_spread` is negative when home is favoured. Whole-number lines can push; half-point lines cannot. Verify how a push shows in `home_covered` before using it in a count.
**Step 5: Compute.** ROI = total units won divided by units staked. Report the number of bets, units, ROI, win rate, longest losing streak, and a confidence interval:
```
se_roi ~ 0.95 / sqrt(n) (flat stakes near -110)
95% CI = ROI +/- 1.96 * se_roi
```
500 bets: standard error 4.2%, so a measured +4% ROI has a 95% interval of about -4% to +12%. It tells you almost nothing.
**Step 6: Base rates first.** Over a full season the home cover rate and the over rate sit near 50%; any rule has to beat 52.38% at -110 to profit. Compute the base rate for the whole sample and show the rule's rate beside it.
**Step 7: Closing-line value.** If the rule is meant to beat the market, compare the price you assumed with the fair closing probability (see `odds-analysis` and `edge-detection`). A rule that bets at the close has zero CLV by construction; the backtest then measures only whether the close is biased.
**Step 8: Out-of-sample.** Pick the rule on seasons A and B, test on C untouched. A rule found by searching 40 situations (day of week, rest, favourite size, month) will produce a few 55%+ results from chanExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 2f50d74
git clone https://github.com/noahowsh/dunkapi-mcp.git claude mcp add --transport http dunkapi "https://mcp.dunkapi.com/mcp?key=YOUR_API_KEY"
git clone https://github.com/noahowsh/dunkapi-mcp git -C dunkapi-mcp checkout 2f50d74c9677
Commands as the repository documents them: shown, never run by us. Our verdict covers commit 2f50d74c9677 only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
| Claude Desktop | Mentioned in its text, not tested | Skills for Claude Desktop · About Claude Desktop |
| Cursor | Mentioned in its text, not tested | Skills for Cursor · About Cursor |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
2f50d74c9677
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/noahowsh/dunkapi-mcp/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
MaxOurC/renkeimap
Connect or move data between Japanese business systems (kintone, freee, SmartHR, Money Forward, e-Gov, ...) through the vendors' official routes, and look up their facts on IT連携マップ (RenkeiMap) — which route works…
upstash/context7
Retrieves up-to-date documentation, API references, and code examples for any developer technology. Use this skill whenever the user asks about a specific library, framework, SDK, CLI tool, or cloud service — even for…
upstash/context7
This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks…
upstash/context7
Use the ctx7 CLI to fetch library documentation and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7", needs current docs for any library, or needs to set up Context7 for their AI coding agent.
chromedevtools/chrome-devtools-mcp
Uses Chrome DevTools MCP and documentation to troubleshoot connection and target issues. Trigger this skill when list_pages, new_page, or navigate_page fail, or when the server initialization fails.
chromedevtools/chrome-devtools-mcp
Diagnoses and resolves memory leaks in JavaScript/Node.js applications. Use when a user reports high memory usage, OOM errors, or wants to capture, compare, or inspect heap snapshots with Chrome DevTools MCP memory…
Add this badge to your README
[](https://modelsatlas.com/skills/noahowsh/dunkapi-mcp/)
<a href="https://modelsatlas.com/skills/noahowsh/dunkapi-mcp/"><img src="https://modelsatlas.com/skills/noahowsh/dunkapi-mcp/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about dunkapi-mcp
What does the dunkapi-mcp skill do?
Is dunkapi-mcp safe to install?
What can dunkapi-mcp access on my machine?
Which assistants does dunkapi-mcp work with?
How current is this page?
Sources
- github.com/noahowsh/dunkapi-mcp — the audited source at commit 2f50d74c9677 and every finding aboveObserved · 14 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the dunkapi-mcp skill do?
- Is dunkapi-mcp safe to install?
- What can dunkapi-mcp access on my machine?