Calculus Quest
Sends optional push notifications through a configured ntfy topic URL, used by the send_push tool and reminders.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Calculus Quest: an MCP math tutor that can read your handwriting
An MCP server and companion web app that turn Claude into a structured, honest math tutor. I built it to relearn math for data science (calculus, linear algebra, probability and statistics, discrete math) after years away. General chatbots are poor tutors on their own: they answer too readily, they can get the maths wrong, and they forget everything between sessions. Here the server owns the curriculum, the grading and the memory. Claude does the teaching. Answers are checked symbolically with SymPy rather than by the model, practice is scheduled with spaced repetition (FSRS), and Claude can look at the page I'm writing on in a reMarkable tablet and give feedback on the actual working.
Architecture
flowchart LR
C["Claude<br/>(web, desktop, mobile)"] -->|"MCP over HTTPS<br/>OAuth / bearer token"| T["Cloudflare Tunnel"]
B["Browser / phone<br/>(PWA)"] -->|HTTPS| T
T --> S["calc-tutor<br/>FastMCP + Starlette<br/>on a Raspberry Pi"]
S --> DB[("SQLite<br/>progress, cards,<br/>mistakes, sessions")]
S --> Y["Curriculum YAML<br/>234 topics, 652 questions"]
S --> CAS["SymPy sandbox<br/>(separate process)"]
S -->|"SSH + rmscene"| R["reMarkable tablet"]
S -.->|optional| N["ntfy push"]
S -.->|optional| W["running-data API<br/>(sleep / training load)"]Related MCP server: advanced-math-mcp
What's interesting about it
Claude reads your handwriting.
look_at_remarkablesyncs the tablet over SSH, renders the most recently written page withrmsceneand Pillow, outlines the ink that's new since the last look, and returns it as an image.push_study_packgoes the other way: it builds a PDF of attempt-first problems, the assigned textbook pages and a blank recall page, and puts it on the tablet.The model doesn't grade itself.
check_answerandcheck_steptest symbolic equivalence in a sandboxed SymPy worker with a timeout. New questions Claude writes withadd_questionare saved only if their answer key passes a CAS check. Free-response questions, which can't be checked that way, are marked unverified in the app.Learning-science defaults. Attempt-first problems before reading, a hint ladder that only unlocks after an attempt, FSRS spaced repetition, a mistake journal that only clears after a later unaided correct answer, and three "learning health" numbers: unaided delayed accuracy, hints per problem, and the calibration gap (how often you were sure and wrong).
Placement and planning. A placement test sets your starting point. Sleep and training-load data can turn a day into a review-only day.
Tools
Area | Tools |
Session and planning |
|
Practice and grading |
|
Spaced repetition |
|
Mistakes |
|
reMarkable |
|
Progress |
|
Placement |
|
Settings and notifications |
|
Setup
Requires Python 3.11+ and uv.
uv sync
cp .env.example .env # then fill in CALC_TUTOR_TOKEN and CALC_TUTOR_PUBLIC_URLVariable | Required | Purpose |
| yes | Shared secret for the MCP endpoint and the web app. The server refuses to start without it. |
| for remote clients | Public HTTPS URL, used by the OAuth custom-connector flow |
| no | Bind address (default |
| no | Time zone for daily cues and streaks (default |
| no | Data locations |
| no | SSH alias for the tablet, and a local mirror folder |
| no | ntfy topic URL for push notifications |
| no | Running-data API for sleep- and training-aware scheduling |
Textbooks: _books.yaml lists the readings. Books marked local are read from PDFs you supply in CALC_TUTOR_BOOKS_DIR. None are included here.
Run
uv run python -m calc_tutorThis serves MCP at /mcp and the web app at /. To reach it from Claude on any device, expose it over HTTPS, for example with a Cloudflare Tunnel public hostname pointing at http://localhost:8830. Then in Claude open Settings → Connectors → Add custom connector, enter https://<your-host>/mcp, and enter your token when the authorize page asks for it. deploy/ has a systemd unit and a nightly SQLite backup script for a Raspberry Pi.
Example
Me: Look at my reMarkable.
Claude (calls
look_at_remarkable, gets the page as an image with the new ink outlined): You're on Stewart 3.4 #23. Line 2 readsd/dx sin(x³) = cos(x³). You applied the outer derivative but stopped there. What's the derivative of the inside, x³?Me: 3x², so it's 3x² cos(x³).
Claude (calls
check_stepand thencheck_answer): Correct, and the step from line 1 to line 2 checks out symbolically. I've logged the first attempt as a chain-rule slip, so it will come back as a "spot the trap" card in a few days.
Tests
uv sync --group dev
uv run pytestThere are 845 tests: grading and CAS edge cases, the FSRS scheduling engine, curriculum content (every question's answer key must pass its own checker), reMarkable rendering, study-pack generation, and the OAuth handshake.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Notes, tasks, habits, journal and 6 more tools Claude can read and change, with undo. Free.
Lexpad is a vocabulary notebook with spaced repetition, in 81 languages. Connect it to ChatGPT or Claude and ask the assistant to save a word from your chat, show the words due today or quiz you. Each answer counts as practice and moves the word through its Leitner boxes. Sign-in is OAuth 2.1 with PKCE on a Lexpad page. 20 tools; the ones that overwrite or delete are marked, so the client asks first. Connecting is free. On Lexpad's Free plan the assistant writes 10 cards a day; on Pro it is unlimited, up to 1,000 a day. Guide and example prompts: https://lexpad.app/features/assistants
A second brain for Claude: remembers your work, plans your day, encrypted under a key only you hold.
Free: turn your AI chats into spaced-repetition vocabulary. 13 tools, reads and writes.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables educational and learning tasks including flashcard generation with Anki integration, Zotero library management, Obsidian vault interaction, and mathematical expression verification with LaTeX support.8-
- AlicenseAqualityCmaintenanceEnables advanced mathematics operations including linear algebra, vector math, symbolic computation, and calculus through MCP tools. Designed for use with Claude and other MCP-compatible LLMs.192MIT
- AlicenseNot gradedqualityCmaintenanceEnables a personal learning notebook and lexicon with Claude-native chat, supporting markdown notes, definitions, PDFs, math rendering, wiki-links, and git auto-commit.MIT
- AlicenseAqualityDmaintenanceEnables advanced mathematical computation through MCP tools, including safe expression evaluation, symbolic solving and calculus, statistics, matrix and vector operations, and headless function plotting. It supports integration with MCP hosts such as Claude Desktop for natural-language math workflows.23MIT