How to

How to study for a Claude certification inside Claude: the AI Certificates MCP server

I built an MCP server so you can practice for the Claude exams in the assistant you already have open. One command to connect, five tools, and a model that genuinely can't see the answer key. Here's how to set it up and the study loop I use.

Matthew HartmanCCAR-P certified, 965/1000 · 6 min read

If you're studying for one of the Claude certifications, you probably already have Claude open all day. So I put the practice questions where you already are. The AI Certificates MCP server connects to Claude Code, claude.ai, ChatGPT or Codex with one URL, and then you can just say "quiz me on CCAR-P" and get a real practice question from the same banks as the site.

The thing that makes it work is something the model can't do on its own: it never sees the answer key until you've picked. If you paste a question into a chat, the model either gives the answer away or caves the second you argue. Over MCP it gets the question and nothing else. You commit, then it grades you and explains why every option wins or loses, including the ones you didn't pick.

75 seconds, recorded in Claude Code: connect the server, get a question, pick the tempting wrong answer, read why it loses.

command to connect in Claude Code
1command to connect in Claude Code
tools: list, question, grade, progress, study page
5tools: list, question, grade, progress, study page
accounts needed for the free questions
0accounts needed for the free questions
Claude certifications covered
5Claude certifications covered

Set it up in a minute

Claude Code

Run this in your terminal:

claude mcp add --transport http ai-certificates https://aicertificates.study/api/mcp

That's the free endpoint. No account, nothing to sign in to, and it works straight away. Start Claude Code and type /mcp if you want to confirm it's connected.

If you have Full Access, use https://aicertificates.study/api/mcp/full instead, then run /mcp and sign in. That endpoint serves every set for all five exams and remembers how you did, by domain.

claude.ai (and Claude Desktop)

  1. Open Customize → Connectors.
  2. Click +, then Add custom connector.
  3. Paste https://aicertificates.study/api/mcp and click Add. Leave the advanced settings empty.

Free plans get one custom connector. On Team and Enterprise, an Owner adds it once under Organization settings and everyone else clicks Connect.

ChatGPT and Codex work too. The steps for both are on the MCP page, along with a setup prompt you can paste into any of them if you'd rather the assistant walk you through it.

The study loop

Once it's connected you don't call tools yourself. You just talk, and Claude picks the tool. Here's what a session looks like.

1. Ask for a question. "Quiz me on CCAR-P" is enough. Claude calls get_practice_question and reads you a scenario. This is a real one from the free CCAR-P form:

A retail bank's support chatbot must never give personalized investment advice. The current implementation prepends a 900-word policy paragraph, including this prohibition, to the start of every user message; behavioral rules, tone guidance, and the ban are interleaved in one block. In testing, the bot still occasionally recommends specific funds when users push back twice. What is the most effective structural fix?

A. Add a second reminder of the prohibition at the end of each user message, closest to the model's response

B. Move the role definition and prohibitions into the system prompt as explicit, separately stated rules, including what the bot should say instead

C. Lower the temperature to 0 and cap top-p

D. Post-process each response with a keyword filter that blocks fund names and tickers

Claude hasn't been told the answer, and the tool tells it not to guess.

2. Commit. Say your letter. I picked A when I ran this one, because putting the rule last, closest to the response, sounds smart.

3. Read why the wrong ones lose. Claude calls check_answer. The credited answer is B, and the explanation for A is the useful part: repeating the rule inside user turns still leaves policy competing with conversation, so it stays vulnerable to pushback. C changes how random the output is, not whether the model follows instructions. D treats the symptom and misses advice that doesn't name a fund. The principle it hands back is the one you take into the exam: guardrails belong in the system prompt as separate rules, and every "never do X" holds up better with a "do Y instead."

That's the whole loop. On these exams two options are usually defensible and only one is credited, so knowing why the tempting one loses is what actually transfers.

A terminal session where the assistant calls get_practice_question and shows a four-option scenario question with no answer marked

Prompts worth stealing

You can steer it in plain English. These all map to options the tools already have:

The server is stateless, so Claude keeps track of which questions it has already asked you in the conversation and passes them back so you don't see repeats. If a long chat starts repeating itself, start a fresh one.

Where it stops being a quiz

On the Full Access endpoint, check_answer records what you got right and wrong, and my_progress hands it back broken down by blueprint domain, weakest first, with the weight each domain carries on the real exam.

That's when it gets good, because Claude can reason about it. Ask "am I ready for CCAR-P?" and it can tell you that Integration is your biggest lever because it's both your worst score and the biggest slice of the exam, that two domains are already fine, and then run a drill weighted toward the gaps. It also tells you when your misses line up with the crowd's favorite wrong answers, and suggests drilling those traps directly.

On the free endpoint nothing is recorded at all. On the full one, only the outcome is stored: which question, which domain, right or wrong. No conversation is kept. The privacy page has the details.

How I built it

The whole server was built with Claude Code. It's a small JSON-RPC handler in the same Next.js app as the site, with one tool manifest shared by the MCP endpoint and the browser study page, so the two can never disagree about what was credited. Sign-in on the full endpoint is OAuth 2.1 with PKCE, and the free endpoint serves only the free form of each exam, so the paid sets can't leak through it even by mistake.

One thing I learned while writing this post: some clients, Claude Code among them, only show the model a tool's structured result when there is one, and skip the plain text. My question tool returned its structured metadata and the question as text, so in those clients Claude got the metadata and no question. If you're building an MCP server, put everything the model needs in the structured result too. I've fixed mine.

If you're a developer, the developers page has the endpoint reference and the OpenAPI file.

Try it

Connect it, ask for one question, and pick an answer before you let it explain. If you'd rather not set anything up, every exam's Form 1 is free on the site too, with every option explained the same way.

Practice free

Studying for a Claude certification?

Every exam has a full-length Form 1 you can take right now. Original scenario questions, every answer option explained, the wrong ones too. No signup.

More from the blog