# PE Civil: Structural Reference Locator (MCP server + REST API) > Resolves a building-code citation — "ACI 318-14 §22.2.2.4.1", "ASCE 7-16 Table 12.6-1", "TMS 402-16 Eq. 8-21", "AISC Manual Table 4-1a", "IBC 2018 §1604.5", "AASHTO Table 3.4.1-2" — to the exact chapter PDF, PDF page and printed page of the PE Civil: Structural exam-day standards, with a short snippet, a ranked full-text search, section headings with page numbers, a practice-question bank, and deep links that open a CBT exam simulator on that page. Built for AI tutors coaching candidates for the NCEES PE Civil: Structural exam. Base URL: https://pe-exam-env.vercel.app — no sign-in, no key, CORS `*` for everything listed here. Coverage: 12 reference groups, 245 chapter PDFs, 10,077 pages — NCEES PE Civil Reference Handbook, AASHTO LRFD 8th (2017), IBC 2018, ASCE 7-16, ACI 318-14, AISC Steel Construction Manual 15th (incl. AISC 360-16), AWC NDS 2018 + Supplement, AWC SDPWS 2015, OSHA 29 CFR 1910/1926 (2020), PCI Design Handbook 7th, TMS 402/602-16, NCEES exam specification. Access policy: locations, page numbers, snippets (≤ ~400 chars), headings, search and practice questions are public. The full text of the licensed standards (`read_section`, `read_page`, `/section`, `/page`) requires an access key held by the owner; everything else works without it. ## MCP (Model Context Protocol) - [MCP endpoint](https://pe-exam-env.vercel.app/mcp): Streamable HTTP, stateless, protocol 2025-06-18. POST JSON-RPC; GET returns a JSON description. - Tools: `locate` (citation → chapter + page + snippet + links), `search_references` (ranked full-text search), `get_toc` (section headings → pages), `list_standards`, `list_exams`, `get_exam`, `get_question`, `verify_citations` (checks every location in a solution's "Reference path:" block), `read_section` and `read_page` (key). - Prompt: `pe_tutor` — tutoring guidance that always cites exact locations. - Claude Code: `claude mcp add --transport http pe-refs https://pe-exam-env.vercel.app/mcp` - Generic client config: `{"mcpServers":{"pe-references":{"type":"streamable-http","url":"https://pe-exam-env.vercel.app/mcp"}}}` - [Discovery manifest](https://pe-exam-env.vercel.app/.well-known/mcp.json) ## REST API - [API index](https://pe-exam-env.vercel.app/api/v1): endpoint list and conventions (JSON). - [OpenAPI 3.1](https://pe-exam-env.vercel.app/api/v1/openapi.json) - `GET /api/v1/locate?cite=ACI 318-14 Table 21.2.2` → `{found, matches:[{standard, chapter:{name,path}, page:{pdf,printed,section}, citation, snippet, links:{open,pdf}}], commentary, mentions}` - `GET /api/v1/search?q=development length&standard=aci-318-14&limit=10` → ranked pages with snippets and links - `GET /api/v1/standards` · `GET /api/v1/standards/{id}` · `GET /api/v1/standards/{id}/toc?chapter=22` - `GET /api/v1/exams` · `GET /api/v1/exams/{id}` · `GET /api/v1/exams/{id}/questions/{qid}` · `GET /api/v1/questions` - `POST /api/v1/verify-citations` with `{"solution": "Reference path:\n ACI 318-14 §22.2.2.4.1 → …"}` - 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 (aliases such as "ACI 318", "ASCE 7", "AISC", "NDS Supp", "TMS 402" also work inside citations). ## Worked example Request: `GET https://pe-exam-env.vercel.app/api/v1/locate?cite=ACI%20318-14%20Table%2020.6.1.3.1` Answer: ACI 318-14 Table 20.6.1.3.1 — Chapter 20 - Steel Reinforcement Properties, PDF p. 11 (printed 335); snippet "Table 20.6.1.3.1—Specified concrete cover for cast-in-place nonprestressed concrete members…"; `links.open` = https://pe-exam-env.vercel.app/?ref=…&page=11&q=20.6.1.3.1 (opens the simulator on that page; the simulator itself requires sign-in). ## Docs - [Human + agent documentation](https://pe-exam-env.vercel.app/docs/): tools, endpoints, examples, coverage table, access policy. - [Full text of this documentation](https://pe-exam-env.vercel.app/llms-full.txt) - [Agent hand-off brief](https://pe-exam-env.vercel.app/docs/agent-handoff.md): connection options, tools, rules of engagement, example calls — give this to any tutor agent.