Exam papers with your own AI

Connect your AI assistant to this server and it writes HSC-style mathematics papers and marking guides for you, in a professional house style: NESA-style cover, marks in the margin, totals worked out for you, solutions with mark allocations.

Your AI does the writing and compiles the PDF in its own workspace. This server only gives it the house style, starting templates and instructions. It is free, it stores nothing, and it never sees your paper.

https://exams.nswmaths.com/mcp

Connect

Claude (claude.ai and the desktop app)

Pro and Max plans. Works best: Claude compiles the PDF in its own sandbox.

  1. Open Customize, then Connectors.
  2. Choose + Add, then Add custom connector.
  3. Name it “NSW Exams” and paste the address above.
  4. Choose Continue. Under authentication choose No sign in, then Add.
  5. Start a new chat and ask for a paper.

Claude on Team and Enterprise plans

  1. An Owner opens Organization settings, then Connectors, chooses Add, then Custom, then Web.
  2. Name, address and No sign in as above, then Add.
  3. Members find it under Customize, then Connectors, and choose Connect.

Claude Code

Run this once in a terminal. Claude Code compiles with the TeX installed on your computer.

claude mcp add --transport http nsw-exams https://exams.nswmaths.com/mcp

ChatGPT

Business, Enterprise and Edu plans, on the web. ChatGPT cannot compile LaTeX itself, so it gives you a .tex file to compile on Overleaf (set the compiler to XeLaTeX).

  1. Open Plugins, choose the + button, then Add custom MCP server.
  2. Enter a name, and under Connection paste the address above.
  3. Choose no authentication, accept the warning, and create it.
  4. In a new chat, type @ and pick it.

Other apps

Add a remote MCP server (Streamable HTTP) with the address above and no authentication. Apps set up with a JSON file usually take:

{
  "mcpServers": {
    "nsw-exams": { "url": "https://exams.nswmaths.com/mcp" }
  }
}

For syllabus outcome codes and content, connect the NSW Mathematics syllabus server as well.

What you can ask

Write a Year 12 Mathematics Advanced trial paper on differential calculus and sequences and series: 10 multiple choice questions and 60 marks of written questions, with a marking guide. Our school is Example High School.
Make a 45-minute Extension 1 topic test on vectors, answered on the paper, using bold vectors. Include worked solutions with mark allocations.
Here is last year's assessment task. Rewrite it in the house style with new numbers, in three sections that different teachers can mark.

The tools

exam_guide
How to write, compile and check a paper: the workflow, the house style's commands, NSW HSC conventions (paper structure, NESA key words, marks, multiple choice) and fixes for errors.
get_style
The house style, nswexam.cls, with a checksum so your AI can confirm its copy is exact. Also as a block to embed, for a single self-contained file.
get_template
A starting paper: HSC-style paper, assessment task in sections, topic test, or a complete example, for Standard 2, Advanced, Extension 1 or Extension 2.

The house style

A LaTeX class built for NSW papers: NESA-style cover with section totals, multiple choice (including graphs in a grid) and an answer sheet, parts and subparts with marks in the margin, writing booklets or answer lines, “continues on page” notes, separately marked sections with student number boxes, tilde or bold vectors (mixed if you like), and a marking guide version from the same file. Your school sets its own name, logo and copyright lines.

Download it: nswexam.cls. Compile with XeLaTeX or LuaLaTeX. Free to use and adapt.