Learning Assistant MCP Server
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., "@Learning Assistant MCP Server Explain closures in JavaScript"
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.
Learning Assistant MCP Server π
An educational MCP (Model Context Protocol) server that helps developers learn, understand code, and improve their programming skills through AI-powered tools.
Features π
This MCP server provides 8 powerful learning tools:
explainConcept - Get simple explanations of programming concepts with examples
reviewCode - Get constructive feedback on your code with improvement suggestions
suggestBestPractice - Learn industry best practices for any programming task
compareApproaches - Compare different solutions and understand tradeoffs
generateLearningPath - Get a structured roadmap to learn any technology
debugHelper - Understand and fix errors with guided debugging help
explainThisCode - Get detailed explanations of how code works
quizMe - Test your knowledge with auto-generated practice questions
Related MCP server: MCP Creator Growth
Installation π¦
Prerequisites
Node.js 18.0.0 or higher
Cursor IDE or any MCP-compatible client
Setup
Clone this repository:
git clone https://github.com/YOUR_USERNAME/learning-assistant-mcp.git
cd learning-assistant-mcpInstall dependencies:
npm installBuild the project:
npm run buildConfigure your MCP client (e.g., Cursor IDE):
Add to your ~/.cursor/mcp.json:
{
"mcpServers": {
"learning-assistant": {
"command": "node",
"args": [
"/absolute/path/to/learning-assistant-mcp/dist/index.js"
]
}
}
}Replace /absolute/path/to/learning-assistant-mcp with the actual path where you cloned the repository.
Restart Cursor IDE
Usage π‘
Once installed, you can use the tools in Cursor Chat:
Example Prompts
"Explain what closures are in JavaScript for a beginner"
"Review this code and suggest improvements"
"What are the best practices for error handling in React?"
"Compare REST API vs GraphQL"
"Create a learning path to master TypeScript"
"Help me debug this error: Cannot read property 'map' of undefined"
"Explain what this regex pattern does: /^[a-z]+$/i"
"Quiz me on JavaScript async/await with 5 questions"
Development π οΈ
# Run in development mode
npm run dev
# Build TypeScript
npm run build
# Run the built server
npm startProject Structure π
learning-assistant-mcp/
βββ src/
β βββ index.ts # Main server implementation
βββ dist/ # Compiled JavaScript (generated)
βββ package.json
βββ tsconfig.json
βββ README.mdTools Reference π
explainConcept
Explains programming concepts in beginner-friendly terms.
Parameters:
concept(string): The concept to explainlevel(optional): "beginner" | "intermediate" | "advanced"language(optional): Programming language context
reviewCode
Reviews code and provides constructive feedback.
Parameters:
code(string): Code to reviewlanguage(string): Programming languagecontext(optional): What the code should dofocusAreas(optional): Array of focus areas
suggestBestPractice
Suggests best practices for programming tasks.
Parameters:
task(string): The task or areatechnology(optional): Specific framework/librarycurrentApproach(optional): Your current approach
compareApproaches
Compares different programming approaches.
Parameters:
problem(string): The problem to solveapproaches(array): List of approaches to comparecriteria(optional): Comparison criteria
generateLearningPath
Creates structured learning roadmaps.
Parameters:
topic(string): What to learncurrentLevel: Your current levelgoalLevel: Target proficiencytimeCommitment(optional): Available time
debugHelper
Helps debug errors and bugs.
Parameters:
error(string): Error message or bug descriptioncode(optional): Relevant codelanguage(optional): Programming languagecontext(optional): What you were doing
explainThisCode
Provides detailed code explanations.
Parameters:
code(string): Code to explainlanguage(string): Programming languagedetailLevel(optional): "overview" | "detailed" | "line-by-line"
quizMe
Generates practice questions.
Parameters:
topic(string): Topic to quiz ondifficulty(optional): "easy" | "medium" | "hard"questionCount(optional): Number of questions (1-10)questionType(optional): Type of questions
Contributing π€
Contributions are welcome! Please feel free to submit a Pull Request.
License π
MIT License - see LICENSE file for details
Author β¨
Muhammad Yasir Khan
Support π¬
If you have questions or need help, please open an issue on GitHub.
Available Tools
8 toolscompareApproachesA
Compares multiple approaches to solve a programming problem, listing pros and cons of each
Inputs: problem (required), approaches (required), criteria.
debugHelperA
Analyzes an error message or bug description and provides debugging guidance
Inputs: error (required), code, context, language.
explainConceptA
Explains a programming concept in simple, beginner-friendly terms with examples
Inputs: concept (required), level, language.
explainThisCodeA
Provides a detailed line-by-line or block-by-block explanation of what code does
Inputs: code (required), language (required), detailLevel.
generateLearningPathA
Creates a structured learning path with steps, resources, and milestones for learning a topic
Inputs: topic (required), goalLevel (required), currentLevel (required), timeCommitment.
quizMeA
Generates practice questions to test your understanding of a programming concept
Inputs: topic (required), difficulty, questionType, questionCount.
reviewCodeA
Reviews a code snippet and provides feedback on correctness, style, and potential improvements
Inputs: code (required), language (required), context, focusAreas.
suggestBestPracticeA
Suggests best practices for a specific programming task, pattern, or technology
Inputs: task (required), technology, currentApproach.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 8 tools
Most tools have clearly distinct purposes, but explainConcept and explainThisCode could be confused by an agent selecting between a general concept explanation and a specific code explanation. Similarly, reviewCode and debugHelper overlap when reviewing buggy code, though their primary focuses differ.
Tool names mostly follow a camelCase verb_noun pattern (explainConcept, reviewCode, suggestBestPractice, compareApproaches, generateLearningPath, explainThisCode). However, debugHelper deviates as a noun phrase rather than a clear verb_noun, and quizMe uses an object pronoun instead of a direct noun.
With 8 tools, the server is well-scoped for a learning assistant. Each tool addresses a distinct pedagogical or coding assistance need, and the count is neither too sparse nor overwhelming.
The tool set covers the core learning workflow: explaining concepts, understanding code, reviewing code, debugging, suggesting best practices, comparing approaches, generating learning paths, and practice quizzes. There are no obvious gaps for the stated purpose of a learning assistant.
Maintenance
Related MCP Connectors
The learning system you build into your app, running on our Cognitive Operating System. Four kinds of help, learner memory and safety come built in, with every word checked first. AI tutors fail learners in over 100 ways; Learn fixes every one, teaching instead of handing over answers. This server gives your coding assistant Learn's integration guide, API contract and verified starter kits. Free, no key needed; API usage is priced separately.
Read-only AI coding tools for change verification, release readiness, capacity, and guidance.
Generate and review codebase docs. 77 tools; scoped, credit-approved repository reviews.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI-powered development tools including code generation, refactoring, debugging, performance optimization, and test generation, along with smart prompts for code analysis and documentation, and a built-in knowledge base of coding best practices.MIT
- AlicenseCqualityBmaintenanceAn interactive learning assistant that helps developers understand AI-generated code changes through quizzes and blocking learning sessions. It tracks and searches debugging experiences using RAG to ensure users build long-term technical understanding rather than just copy-pasting solutions.48MIT
- FlicenseNot gradedqualityDmaintenanceProvides AI-powered, context-aware development guidance with tools for coding rules, development skills, steering instructions, and custom AI-curated advice.-
- FlicenseBqualityDmaintenanceProvides 23 modular tools for competitive programming, including problem analysis, algorithm planning, code generation, verification, testing, code review, and learning assistance.23-