# MCP

Streamable HTTP endpoint: [/mcp](/mcp)

WebMCP: HTML pages register the same calculator tools on `document.modelContext` when the browser supports [WebMCP](https://webmachinelearning.github.io/webmcp/). A tool call opens the matching calculator. Extra tools: `list_method_cards`, `get_method_card`. Headless clients should use /mcp.

## Resources

- `1rm://formulas` — 1RM method cards
- `1rm://formulas/{id}` — one 1RM card
- `1rm://vo2-tests` — VO2 field-test cards
- `1rm://vo2-tests/{id}` — one VO2 card (`cooper`, `rockport`, `leger`)
- `1rm://elsewhere` — related internet tools we do not own
- `1rm://methods` — scoring and protocol cards
- `1rm://methods/{id}` — one method card

## Tools

- `estimate_one_rep_max` — weight + reps → 1RM
- `estimate_load` — 1RM + reps → load
- `estimate_vo2_max` — field test → VO2max
- `score_lifts` — IPF GL, DOTS, Wilks, Sinclair
- `total_for_points` — required total for a target score
- `rep_max_table` — 2RM through 12RM from a 1RM
- `compare_formulas` — one set through all five formulas
- `powerlifting_total` — squat + bench + deadlift
- `work_set` — 1RM × percent
- `warm_up_sets` — empty bar to a work weight
- `load_plates` — bar plus plates
- `meet_attempts` — opener / second / third
- `velocity_one_rep_max` — linear intercept from load and velocity
- `lookup_rpe_percent` — Helms / Zourdos chart
- `ymca_bench_score` — completed reps at the protocol cadence

Same defaults and RPE/RIR rules as the HTTP API.
