Knowledge graph MCP for student learning with spaced repetition and mastery tracking
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
An MCP (Model Context Protocol) server for tracking student learning via a knowledge graph. Built with FastMCP, it enables LLMs to build, query, and update a personalized knowledge map with spaced repetition scheduling.
Install directly via Smithery:
Or use the hosted version at: https://smithery.ai/server/@zcsabbagh/knowledge-graph-mcp
Prerequisites: Python 3.10+
Add to your Claude Code MCP settings (~/.claude/settings.json):
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
add_nodeCreate a new concept node.
add_edgeCreate relationships between concepts.
Relation types:
prerequisite - Must learn source before targetbuilds_on - Target extends source conceptrelated_to - Concepts are connectedcontradicts - Common misconceptionapplies_to - Application domainparent_of - Category hierarchyupdate_nodeUpdate mastery and record reviews. Providing a quality rating (0-5) triggers spaced repetition scheduling.
query_graphIntelligent queries for learning insights.
Query types:
prerequisites - All prerequisites for a conceptready_to_learn - Concepts where prereqs are mastereddue_for_review - Needs review based on schedulestruggling - High difficulty + low masterystalled - Multiple reviews, no improvementmisconceptions - Concepts with detected misconceptionsknowledge_gaps - Low mastery blocking progressnext_recommended - Best concept to study nextread_subgraphGet the neighborhood around a concept with Mermaid visualization.
get_learning_pathGet ordered prerequisites for a target concept.
get_statisticsGet learning progress metrics.
Nodes represent concepts with:
Edges represent relationships with:
When you call update_node with a quality rating:
The algorithm calculates the next optimal review date based on performance history.
Overall mastery combines dimensional scores:
Data is stored in SQLite at ~/.knowledge_graph/knowledge.db by default.
MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/knowledge-graph-mcp)<a href="https://allmcps.com/mcp/knowledge-graph-mcp"><img src="https://allmcps.com/api/badge/knowledge-graph-mcp?style=directory" alt="Knowledge Graph MCP on AllMCPs" /></a>