whatisgithub

What is barprepmcp?

j-hedtke/barprepmcp — explained in plain English

Analysis updated 2026-05-18

0JavaScriptAudience · generalComplexity · 3/5LicenseSetup · moderate

In one sentence

A self-hosted MCP connector that turns Claude into a spaced-repetition bar exam drill coach.

Mindmap

mindmap
  root((barprepmcp))
    What it does
      Quizzes on bar exam questions
      Tracks review with SM-2 scheduling
      Grades answers strictly
    Tech stack
      JavaScript
      Model Context Protocol
      Vercel
      Anthropic API
    Use cases
      Drill MBE style questions with Claude
      Build a deck from your own rule outline
      Track spaced repetition progress
    Audience
      Law students
      Bar exam takers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Drill bar exam multiple choice questions and rule recall through Claude chat.

USE CASE 2

Track what flashcards are due for review using spaced repetition scheduling.

USE CASE 3

Upload your own state-specific rule outline and have Claude build a custom deck.

USE CASE 4

Self-host your study data on your own Vercel account instead of a third party service.

What is it built with?

JavaScriptMCPVercelNode.jsAnthropic API

How does it compare?

j-hedtke/barprepmcp00kaku/gallery-slider-block3rd-eden/ircb.io
Stars0
LanguageJavaScriptJavaScriptJavaScript
Last pushed2021-05-192016-11-16
MaintenanceDormantDormant
Setup difficultymoderateeasyeasy
Complexity3/52/52/5
Audiencegeneralgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Node.js 18+, openssl, and a Vercel account, the setup script handles most of the deployment.

You can use, modify, and distribute this freely, including for commercial purposes, as long as you keep the copyright notice.

So what is it?

barprepmcp is a self-hosted bar exam study coach that connects to Claude using the Model Context Protocol, a way for AI chat apps to talk to outside tools. A person deploys it to their own Vercel account, adds the resulting URL as a connector inside claude.ai, and Claude becomes able to quiz them on legal rules and multiple choice style bar exam questions, track what needs review using a spaced repetition scheduling method called SM-2, and grade answers strictly rather than giving credit for a vague match. Because it is self-hosted, a user's account, study schedule, and flashcard decks all stay on infrastructure they control rather than on someone else's server. The repository ships with 196 practice multiple choice questions and a small sample set of rules, all written specifically for this project rather than copied from any commercial bar prep material. Setting it up requires Node.js version 18 or higher and the openssl command line tool, and running a single setup script that logs the user into Vercel, creates a project and private file storage, generates security keys and a personal invite code, and prints the connector URL to paste into Claude's settings. Since the bundled study content is intentionally small, a person can load their own rule outline in one of two ways. The easier path is pasting rules directly into a Claude chat and asking it to build a deck, which calls into the tool to generate flashcards, distractor answers, and hints using the Anthropic API, something self-hosters can do for free by setting their own API key. The second path is preparing rule files locally in a specific format and running a Python script to generate flashcards offline before redeploying. Under the hood, Claude talks to the deployed server over HTTPS, with sign-in handled through OAuth and no separate database, since per-user progress, schedules, and uploaded rules are stored in Vercel's file storage instead. The project is licensed under the MIT License. The maintainer notes that the full study deck used by their own hosted version of the service comes from separately licensed material and is not included in this repository.

Copy-paste prompts

Prompt 1
Help me run the self-host.sh script to deploy this to my Vercel account.
Prompt 2
Paste my rule outline and build a custom flashcard deck for me.
Prompt 3
Say drill me and quiz me on the bundled MBE practice questions.
Prompt 4
Help me set up the Anthropic API key for free custom deck builds.

Frequently asked questions

What is barprepmcp?

A self-hosted MCP connector that turns Claude into a spaced-repetition bar exam drill coach.

What language is barprepmcp written in?

Mainly JavaScript. The stack also includes JavaScript, MCP, Vercel.

What license does barprepmcp use?

You can use, modify, and distribute this freely, including for commercial purposes, as long as you keep the copyright notice.

How hard is barprepmcp to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is barprepmcp for?

Mainly general.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.