# Hand-off: PE Civil: Structural Reference Locator

You are being handed a reference-locator service for the NCEES **PE Civil: Structural** exam-day standards
(ACI 318-14, AISC Manual 15th / 360-16, ASCE 7-16, IBC 2018, AASHTO LRFD 8th, NDS 2018 + Supplement, SDPWS 2015,
TMS 402/602-16, PCI 7th, OSHA 29 CFR 1910/1926, NCEES Handbook — 245 chapter PDFs, 10,077 pages).
It turns a citation into the exact chapter PDF, PDF page, printed page, a snippet and a link that opens the
student's exam simulator on that page. Use it every time you tell the student where something is.

## 1. Connect (pick one)

**MCP — preferred.** Endpoint `https://pe-exam-env.vercel.app/mcp` (Streamable HTTP, no auth).

- Claude Code: `claude mcp add --transport http pe-refs https://pe-exam-env.vercel.app/mcp`
- claude.ai / Claude Desktop: Settings → Connectors → Add custom connector → paste the endpoint URL
- Cursor, Windsurf, VS Code, any client:
  `{"mcpServers":{"pe-references":{"type":"streamable-http","url":"https://pe-exam-env.vercel.app/mcp"}}}`

**REST — no client needed.** `GET https://pe-exam-env.vercel.app/api/v1/locate?cite=<citation>` (JSON, CORS `*`).
Index: https://pe-exam-env.vercel.app/api/v1 · OpenAPI: https://pe-exam-env.vercel.app/api/v1/openapi.json

**Full text (owner's agents only).** The standards' full text is key-gated. If you were given the key, use
`https://pe-exam-env.vercel.app/mcp/<key>` as the MCP URL (or `Authorization: Bearer <key>` on REST); that unlocks
`read_section` / `read_page`. The owner keeps the key in `pe-exam-env/.env.local` (`REFERENCE_READ_KEY`). Never
paste the key into a public place, and never reproduce full provisions to anyone but the owner.

## 2. Tools

| Tool | Use it for | Example |
|---|---|---|
| `locate(citation, standard?, type?)` | **Every** citation before you say it | `locate("ACI 318-14 Table 21.2.2")` |
| `search_references(query, standard?, limit?)` | Section number unknown; "quotes" = phrase | `search_references("\"shear friction\"", "aci-318-14")` |
| `get_toc(standard, chapter?, maxDepth?)` | Navigation map: headings → pages | `get_toc("ASCE 7-16", "12", 2)` |
| `list_standards()` | ids, aliases, chapter indices | — |
| `verify_citations(solution)` | Check a solution's `Reference path:` block | before presenting any worked solution |
| `read_section(citation)` / `read_page(standard, chapter, page)` | Exact wording / table values (key) | `read_section("TMS 402-16 §8.3.5.1.1")` |
| `list_exams` / `get_exam(id)` / `get_question(exam, id)` | Practice questions with keyed solutions | `get_question("masonry-tms402", 4)` |
| prompt `pe_tutor(topic?)` | Load the house tutoring rules | — |

Standard ids: `ncees-handbook`, `aashto-lrfd-8`, `ibc-2018`, `asce-7-16`, `aci-318-14`, `aisc-manual-15`,
`nds-2018`, `sdpws-2015`, `osha-29-cfr`, `pci-handbook-7`, `tms-402-16`, `ncees-specs`. Inside a citation, plain
names work: "ACI 318", "ASCE 7", "AISC 360-16", "NDS Supp", "TMS 402", "AASHTO", "IBC", "29 CFR 1926", "Handbook".

## 3. Rules of engagement

1. **Locate before you cite.** Never state a section/table/equation location from memory. If `locate` says
   `NOT FOUND`, say so and fall back to `search_references`; do not invent a number.
2. **Hand the student the full address**: standard · chapter PDF name · PDF page · printed page · the `open` link.
   Example: "ACI 318-14 Table 21.2.2 → Chapter 21 - Strength Reduction Factors, PDF p. 3 (printed 343) —
   open: https://pe-exam-env.vercel.app/?ref=…&page=3&q=21.2.2". The link opens the simulator on that page with
   the term highlighted (the student must be signed in; you do not need to be).
3. **Teach navigation, not memorisation.** Name the path (Chapter → Section → Table) and make the student find it
   in the reference pane in under 60 s. The exam is CBT: on-screen PDFs only, one chapter at a time.
4. **Code vs mechanics.** Anything not printed in a standard (strain triangles, M = wL²/8 derivations, k and j
   for ASD masonry) is labelled **"derived from mechanics"** — never implied to be a code equation.
5. **Commentary ≠ code.** `locate` returns commentary twins (R22.2.2.4.1, C3.6.1.3.1) separately; cite the code
   section for requirements, commentary for reasoning.
6. **Worked solutions** start with a `Reference path:` block (one line per lookup, `→` what it gives), then
   calculation blocks whose headings name the source. Run `verify_citations` before presenting; fix any ✗.
7. **Style for this student** (ADHD, reads slowly, strong at math): bold headers, ≤ 4 bullets per section,
   numbers and arrows over prose, one clear next action. No preamble, no hedging.
8. **Respect the gate.** Snippets (≤ ~400 chars) are for orientation. Do not scrape pages to reconstruct a
   standard, and do not share key-gated text outside the owner's sessions.

## 4. Three calls to try first

```text
locate("ASCE 7-16 Table 12.6-1")
→ Chapter 12 - Seismic Design Requirements for Building Structures · PDF p. 12/32 · printed p. 100
  "Table 12.6-1 Permitted Analytical Procedures …" + open link

search_references("development length hooked bars", "aci-318-14", 3)
→ ACI 318-14 §25.4.3 — Chapter 25 - Reinforcement Details, PDF p. 7 (printed 417) …

verify_citations("Reference path:\n   TMS 402-16 §8.3.5.1.1, Eq. 8-21 → calculated shear stress\n   Derived from mechanics → k\n\nAnswer: 47 → C")
→ ALL CITATIONS RESOLVE  ✓ heading tms-402-16 section 8.3.5.1.1 → Chapter 8 p.17 (C-117) …
```

## 5. Reading the responses

- `page.pdf` = 1-based page **inside that chapter file** (what the open link uses). `page.printed` = the number
  printed on the page (348, 3-26, C-117, 16.1-33). `page.section` = first section heading on that page.
- `resolvedAs` = the exact heading was not detected; the nearest parent section is shown. `mentions` = pages that
  only reference the number. `commentary` = R-/C-prefixed twins.
- Known gap: AISC 360-16 (Manual Part 16) has imperfect OCR — some AISC equation numbers resolve to the section,
  not the equation line. Say so instead of guessing.
- Cold start ≈ 2 s, then ≈ 0.3 s per call. Searches return at most 25 results.

More: https://pe-exam-env.vercel.app/docs/ · https://pe-exam-env.vercel.app/llms.txt
