interview-prep-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@interview-prep-mcpWhat's due for revision today?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Interview Prep MCP Server
A personal MCP server that combines DSA problem tracking with spaced-repetition revision scheduling and RAG-based concept explanations, so Claude can act as a personalized interview prep coach grounded in your own solved problems and notes.
What it actually does
Logs every DSA problem you solve, with topic, difficulty, and how confident you felt about it.
Tells you which topics you're weakest in, based on real logged data, not guesses.
Schedules revisions using the SM-2 algorithm (the same algorithm Anki is built on) - problems you struggled with come back sooner, problems you nailed come back later.
Retrieves relevant concept notes (sliding window, DP, graphs, etc.) using TF-IDF based retrieval, so Claude explains concepts grounded in your own notes rather than purely from its general training knowledge.
Related MCP server: kb
Project structure
interview-prep-mcp/
server.py - MCP server entry point, defines all tools
database.py - SQLite schema and all DB operations
spaced_repetition.py - SM-2 algorithm implementation
rag_engine.py - chunks concept notes, builds TF-IDF index, retrieves
concepts/ - your concept notes as markdown files
sliding_window.md
dynamic_programming.md
graphs.md
arrays_and_strings.md
trees.md
greedy.md
seed_data.py - optional, populates realistic sample data for a demo
requirements.txtSetup
Create a virtual environment and install dependencies:
python -m venv venv
venv\Scripts\activate (Windows)
source venv/bin/activate (Mac/Linux)
pip install -r requirements.txtTest the server runs on its own (it should just hang waiting for input, that means it's working - press Ctrl+C to stop):
python server.pyConnect it to Claude Desktop. Open (or create) the config file:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonMac:
~/Library/Application Support/Claude/claude_desktop_config.json
Add this (replace the path with the actual full path to server.py on your machine):
{
"mcpServers": {
"interview-prep": {
"command": "python",
"args": ["C:\\full\\path\\to\\interview-prep-mcp\\server.py"]
}
}
}Restart Claude Desktop completely. You should see a small tools icon showing the interview-prep server is connected.
Want to see it fully populated before showing someone?
Run this once to seed 25 realistic sample problems spread across array, sliding window, dp, graph, tree and greedy topics, with varied confidence levels so weak topics and a revision queue show up immediately:
python seed_data.pyThis is entirely optional - skip it if you'd rather start from a real, empty
history and log your own problems from day one. You can always delete
interview_prep.db later to reset and go back to a clean slate.
Trying it out
Once connected, just talk to Claude normally:
"I just solved Two Sum, array topic, easy, confidence 5, took me 8 minutes"
"What are my weak topics?"
"What's due for revision today?"
"What's my plan for today?" (combines revision queue + weak topics in one view)
"I just revised Longest Substring Without Repeating Characters, quality 4"
"Explain sliding window to me based on my notes"
Extending it
Add more concept notes: just drop more
.mdfiles intoconcepts/, using## Headingsections like the existing ones. The index rebuilds automatically next time a tool is called, since rag_engine.py hashes the concepts folder and only re-indexes when something changed.Add more tools in server.py using the
@mcp.tool()decorator - for example, a tool that pulls your solved-problem history from LeetCode's public API automatically instead of manual logging.
Why TF-IDF instead of neural embeddings
For a small, fixed set of technical concept notes, TF-IDF with cosine similarity
retrieves accurately without needing a multi-gigabyte torch/CUDA install just to
run a personal tool. If the concept notes grow into a large, varied corpus later,
swap rag_engine.py for sentence-transformers + FAISS - the rest of the server
does not need to change, since retrieve(query, top_k) is the only function
the rest of the code depends on.
This server cannot be deployed
Maintenance
Related MCP Connectors
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
Cloud-hosted MCP server for durable AI memory
- MysocialOAuthio.mysocial
Social media MCP server: your Instagram, TikTok, YouTube, LinkedIn and Threads history for your AI.
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server for tracking student learning via a knowledge graph, with spaced repetition scheduling and intelligent queries to identify gaps, misconceptions, and optimal next steps.79 PyPI1MIT
- AlicenseNot gradedqualityCmaintenanceA local MCP server that provides a shared context and learning foundation across multiple AI tools (Claude, Copilot, Codex) for multiple projects, enabling persistent knowledge, decisions, and gap reflection through note storage.MIT
- AlicenseBqualityDmaintenanceAn open-source Python MCP server for AI-assisted interview preparation.17MIT
- AlicenseAqualityCmaintenanceAn MCP server for agent-guided DSA practice that generates LeetCode-style problems and provides tutoring with escalating hints, concept explanations, and progress tracking.77 npmMIT