educhain-mcp-server

MohammedRayan11/educhain-mcp-server

3.2

If you are the rightful owner of educhain-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

EduChain MCP Server is a Python-based platform that integrates educational tools for dynamic resource generation.

Tools
  1. Generate MCQs

    Produces multiple-choice questions for a given topic

  2. Generate Lesson Plan

    Generates structured lesson plans for any subject

๐Ÿง  EduChain MCP Server

This project is a Modular Command Platform (MCP) server built using Python that integrates EduChain tools such as MCQ generation and lesson planning. It is designed to interface with AI platforms like Claude Desktop to provide intelligent educational resources dynamically.


๐Ÿš€ Features

  • โœ… Python-based MCP Server
  • ๐Ÿ› ๏ธ Two tools integrated:
    • Generate MCQs โ€“ Produces multiple-choice questions for a given topic
    • Generate Lesson Plan โ€“ Generates structured lesson plans for any subject
  • ๐Ÿค Works with Claude Desktop via JSON configuration
  • ๐Ÿงฉ Easily extendable (supports additional tools like flashcards)

๐Ÿ—‚๏ธ Project Structure

๐Ÿ“ฆ educhain-mcp-server/ โ”œโ”€โ”€ main.py # Runs the MCP server and registers tools โ”œโ”€โ”€ educhain.py # Contains MCQGenerator and LessonPlanGenerator classes โ”œโ”€โ”€ requirements.txt # Required Python packages โ”œโ”€โ”€ claude_desktop_config.json # Optional: Claude integration config โ”œโ”€โ”€ Sample_Responses.txt # Test queries and outputs โ”œโ”€โ”€ README.md # Project documentation โ”œโ”€โ”€ .gitignore # Git exclusions

yaml Copy code


๐Ÿ’ป Setup Instructions

1๏ธโƒฃ Clone the Repository

git clone https://github.com/MohammedRayan11/educhain-mcp-server.git
cd educhain-mcp-server
2๏ธโƒฃ Create and Activate a Virtual Environment
bash
Copy code
python -m venv .venv
.venv\Scripts\activate  # On Windows
3๏ธโƒฃ Install Dependencies
bash
Copy code
pip install -r requirements.txt
โš ๏ธ If mcp_sdk isn't available on PyPI, use this instead:

bash
Copy code
pip install -e .
โ–ถ๏ธ Running the Server
bash
Copy code
python main.py
You should see:

less
Copy code
[MCPServer] Running EduChainMCP: MCP Server using EduChain tools.
[Tool] generate_mcqs - Generate MCQs for a given topic.
[Tool] generate_lesson_plan - Generate a lesson plan for a given subject.
๐Ÿงช Testing with Claude Desktop
Install Claude Desktop from Anthropic.

Update your claude_desktop_config.json to point to your local MCP server.

Run main.py and open Claude Desktop.

Try prompts like:

nginx
Copy code
Generate 5 multiple-choice questions on Python loops.
Provide a lesson plan for teaching algebra.
Claude will fetch results from the MCP server and display them.