Labsco
Yasir-Khan-7 logo

Learning-Assistant-MCP

from Yasir-Khan-7

An MCP server that helps developers understand what they’re building by explaining concepts, reviewing approaches, and guiding them toward better solutions.

πŸ”₯πŸ”₯βœ“ VerifiedFreeAdvanced setup

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:

  1. explainConcept - Get simple explanations of programming concepts with examples
  2. reviewCode - Get constructive feedback on your code with improvement suggestions
  3. suggestBestPractice - Learn industry best practices for any programming task
  4. compareApproaches - Compare different solutions and understand tradeoffs
  5. generateLearningPath - Get a structured roadmap to learn any technology
  6. debugHelper - Understand and fix errors with guided debugging help
  7. explainThisCode - Get detailed explanations of how code works
  8. quizMe - Test your knowledge with auto-generated practice questions

Development πŸ› οΈ

# Run in development mode
npm run dev

# Build TypeScript
npm run build

# Run the built server
npm start

Project Structure πŸ“

learning-assistant-mcp/
β”œβ”€β”€ src/
β”‚   └── index.ts          # Main server implementation
β”œβ”€β”€ dist/                 # Compiled JavaScript (generated)
β”œβ”€β”€ package.json
β”œβ”€β”€ tsconfig.json
└── README.md

Tools Reference πŸ“š

explainConcept

Explains programming concepts in beginner-friendly terms.

Parameters:

  • concept (string): The concept to explain
  • level (optional): "beginner" | "intermediate" | "advanced"
  • language (optional): Programming language context

reviewCode

Reviews code and provides constructive feedback.

Parameters:

  • code (string): Code to review
  • language (string): Programming language
  • context (optional): What the code should do
  • focusAreas (optional): Array of focus areas

suggestBestPractice

Suggests best practices for programming tasks.

Parameters:

  • task (string): The task or area
  • technology (optional): Specific framework/library
  • currentApproach (optional): Your current approach

compareApproaches

Compares different programming approaches.

Parameters:

  • problem (string): The problem to solve
  • approaches (array): List of approaches to compare
  • criteria (optional): Comparison criteria

generateLearningPath

Creates structured learning roadmaps.

Parameters:

  • topic (string): What to learn
  • currentLevel: Your current level
  • goalLevel: Target proficiency
  • timeCommitment (optional): Available time

debugHelper

Helps debug errors and bugs.

Parameters:

  • error (string): Error message or bug description
  • code (optional): Relevant code
  • language (optional): Programming language
  • context (optional): What you were doing

explainThisCode

Provides detailed code explanations.

Parameters:

  • code (string): Code to explain
  • language (string): Programming language
  • detailLevel (optional): "overview" | "detailed" | "line-by-line"

quizMe

Generates practice questions.

Parameters:

  • topic (string): Topic to quiz on
  • difficulty (optional): "easy" | "medium" | "hard"
  • questionCount (optional): Number of questions (1-10)
  • questionType (optional): Type of questions

Author ✨

Muhammad Yasir Khan

Support πŸ’¬

If you have questions or need help, please open an issue on GitHub.