MohammedRayan11/educhain-mcp-server
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.
Generate MCQs
Produces multiple-choice questions for a given topic
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.