Skip to main content

CRACK-JEE — Plan smarter, Prepare better

License: MIT Python 3.10+ Protocol: MCP Local-first

A personal AI coach for JEE aspirants, built as an MCP server. Not a tutor, not a chatbot with a syllabus bolted on — it turns raw test results into a closed feedback loop: log what happened, find the patterns a single test report can never show, get a concrete next study plan, and verify whether it actually worked on the next test.

Free. Local. No subscription, no hosting bill, no data leaving your machine except to whatever LLM chat client you connect it to.


Why

Coaching institute reports are siloed — each test is graded in isolation. Two things never happen on their own:

  1. Cross-test pattern mining. The same mistake, on the same concept, across five different tests over two months, looks like five unrelated bad days unless something is tracking it. CRACK-JEE finds it.
  2. Closed-loop verification. A coach tells you to fix something. Nobody goes back after the next test and checks whether it worked. CRACK-JEE does, automatically, every time.

Everything in between — mastery estimation, what's about to be forgotten, where you're burning time versus actually stuck, skip-vs-wrong strategy under negative marking — is plain deterministic code, not a trained model. An LLM only extracts messy input into structured data and writes the study plan in your coach's voice; every number it reasons over comes from arithmetic and SQL, not inference.


How it works

you describe a test  →  LLM extracts structured data  →  local SQLite log
                                                                │
                                                                ▼
                                            deterministic analytics engine
                                     (mastery, weak spots, revision timing,
                                      time-on-task, skip/negative-marking)
                                                                │
                                                                ▼
                                     LLM reasons over it, writes a real plan
                                                                │
                                                                ▼
                                          next test's results close the loop

Connect it to any MCP-capable chat client (Claude Desktop, Qwen Desktop, etc.) and just talk to it like a coach — describe results in whatever format you have, ask what to study, mention an upcoming exam and its syllabus.


What it tracks

Capability What it answers
Weak topics Which concepts have the worst accuracy — and separates "skipped wisely" from "guessed and got it wrong," since JEE's negative marking makes those different problems
Recurring mistakes Which error types repeat on the same concept across multiple tests — the thing a single per-test report can't show
Concept mastery (BKT) A real probability of knowing each concept, updated after every attempt, with retention decay applied over time
Revision due What's about to be forgotten and should be revised before that happens
Time patterns Whether you're genuinely stuck on a concept (spending much longer on wrong answers) versus just making quick errors
Student profile Overall pace, time-management tendencies, and subject strengths across everything logged so far
Exam planning A full study plan for an upcoming exam's syllabus, accounting for topics you haven't touched yet
Progress verification Before/after accuracy on a concept or exam once a plan has been acted on — the closed loop

17 MCP tools total, covering logging, analytics, daily planning, exam planning, and progress verification. See docs/plan.md for the full build history and docs/chat-client-system-prompt.md for exactly how a connected client is expected to use them.


Setup

Requires Python ≥ 3.10 and uv. Published on PyPI as crack-jee — zero local install needed.

Connect it from any MCP client by pointing it at uvx crack-jee, e.g.:

{
  "mcpServers": {
    "crack-jee": {
      "command": "uvx",
      "args": ["crack-jee"]
    }
  }
}

For development

Running from source instead of the published package:

uv sync
uv run python src/server.py   # runs the server on stdio
{
  "mcpServers": {
    "crack-jee": {
      "command": "uv",
      "args": ["run", "--directory", "C:/path/to/CRACK-JEE", "python", "src/server.py"]
    }
  }
}

See docs/setup.md for exact commands.

Test

uv run pytest tests/ -v

Design principles

  • Deterministic core, LLM at the edges. The LLM extracts and writes plans in natural language; every mastery estimate, ranking, and trend is plain code — reproducible, debuggable, and free to run.
  • Fixed-parameter BKT, not a trained model. A single student's few hundred attempts is a different data regime than the population-scale data DKT/AKT/SAINT-style models need. See ex1.md §7 for the full reasoning, and research/synthetic_jee_kt/ for the benchmark that backs the decision.
  • Never invents an answer. If a tool call fails on bad input or something's ambiguous, the client is instructed to ask rather than guess and log something wrong into your history.
  • Exam-agnostic. Nothing hardcodes JEE's subjects or syllabus — concept and subject are free-text fields set by whoever logs the data. Works the same for any exam; JEE is just what it was built for.

Full rationale for every non-obvious decision, including rejected approaches, is in docs/decisions.md (append-only log) and ex1.md.


Project structure

CRACK-JEE/
├── src/
│   ├── server.py       # FastMCP server entrypoint
│   ├── db.py            # SQLite schema, queries, concept dedup
│   ├── bkt.py            # BKT closed-form Bayesian update + retention decay
│   └── tools/            # One file per MCP tool, registered in server.py
├── tests/                # Test suite (pytest)
├── research/synthetic_jee_kt/   # Independent KT-model benchmark, not part of the server
├── docs/                 # Design docs, decision log, setup instructions
├── presentation/         # Hackathon deck source + related notes, not part of the server
└── pyproject.toml

License

MIT — see LICENSE.

Release files for crack-jee 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crack-jee 0.1.1
File Size Uploaded
crack_jee-0.1.1.tar.gz 25.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for crack-jee 0.1.1
File Interpreter ABI Platform
crack_jee-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 49.1 kB

Release files / crack_jee-0.1.1.tar.gz

Download URL crack_jee-0.1.1.tar.gz
Size 25.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1f4a3216008a159e29179b31a4f1139180f4f657e0b0d2864e5f0cd490e087be
BLAKE2b-256 checksum
How to use checksums
2fbe2b52a94d68552b4f11e0a0ce8e6da192fad4d88bf222ff6499488538ef44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / crack_jee-0.1.1-py3-none-any.whl

Download URL crack_jee-0.1.1-py3-none-any.whl
Size 23.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c39c9a589c636a687f4c1aacca3b3915e673cd3e475def346a7c4a3c05050647
BLAKE2b-256 checksum
How to use checksums
9c0a9fa50d25848ce2f3c598fbebee3465082b90ada954adca967104ebb880c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page