nisthajain12/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 integrates educational content generation with a custom MCP-compliant server and a desktop UI.
Generate MCQs
Creates multiple-choice questions.
Lesson Plan
Outputs a structured lesson plan.
Topic Summary
Summarizes a topic.
Flashcards
Flashcard Q&A pairs.
Simulate PDF
Returns simulated PDF-like formatted text.
YouTube Quiz
Extracts quiz questions from a video URL.
EduChain MCP Server + Claude Desktop UI
This project integrates the EduChain content generation library with a custom MCP-compliant Flask server, along with a desktop UI (Claude Desktop Simulator) built using Tkinter.
It allows users to generate educational content such as:
- π Multiple-choice questions (MCQs)
- π Lesson plans
- π Summaries
- π Flashcards
- π Simulated PDFs
- πΊ Quizzes from YouTube videos
π§± Folder Structure
educhain_mcp_server/
βββ mcp_server.py # Main Flask server exposing EduChain tools via API
βββ claude_desktop.py # Tkinter GUI that simulates Claude Desktop
βββ api_server.py # Alternate server interface (optional)
βββ main.py # Entry point for testing/debugging
βββ tools/ # Integrated EduChain tools (MCQ, summary, flashcards, etc.)
β βββ mcq_generator.py
β βββ flashcard_generator.py
β βββ pdf_generator.py
β βββ summary_tool.py
β βββ lesson_plan_generator.py
β βββ youtube_quiz_generator.py
β βββ summarizer.py
βββ utils/
β βββ helpers.py # Utility for saving tool outputs
βββ outputs/ # Auto-generated `.txt` content
βββ requirements.txt # Required Python packages
βββ README.md # Project documentation
π Features
Tool | Endpoint | Functionality |
---|---|---|
Generate MCQs | /generate-mcqs | Creates multiple-choice questions |
Lesson Plan | /generate-lesson-plan | Outputs a structured lesson plan |
Topic Summary | /summarize-topic | Summarizes a topic |
Flashcards | /generate-flashcards | Flashcard Q&A pairs |
Simulate PDF | /generate-pdf | Returns simulated PDF-like formatted text |
YouTube Quiz | /generate-youtube-quiz | Extracts quiz questions from a video URL |
π Setup Instructions
-
Clone the Repository bash Copy Edit git clone https://github.com/nisthajain12/educhain-mcp-server.git cd educhain-mcp-server
-
Create a Virtual Environment On Windows: bash Copy Edit python -m venv venv venv\Scripts\activate On macOS/Linux: bash Copy Edit python3 -m venv venv source venv/bin/activate
-
Install Dependencies bash Copy Edit pip install -r requirements.txt β Make sure educhain is installed via PyPI or from source.
-
Run the MCP Server bash Copy Edit python mcp_server.py The server will start on http://127.0.0.1:5000
-
Simulate Claude Desktop UI (Optional) bash Copy Edit python claude_desktop_sim.py Use this to test the MCP tools via a desktop-like interface.
π‘ Notes
If you're running in offline mode or without OpenAI API access, dummy responses are returned for each tool.
Proper error handling is built-in for unsupported or failed requests.
β¨ Example Commands
From Claude Desktop (GUI), you can:
Enter a topic like Photosynthesis and press "Generate MCQs"
View structured output and saved result in /outputs/
π¬ Contact
For questions or collaboration, feel free to reach out: π§
π·οΈ Badges
π Output Samples
All generated content is saved to the outputs/
directory in .txt
format.
Each tool (e.g., MCQ Generator, Lesson Planner) automatically saves responses via the helpers.py
utility.
πΈ Screenshot of Output (Claude Desktop)
π₯ Contributors
Name | Role | Contact |
---|---|---|
Nistha Jain | Developer & Integrator |
Feel free to reach out for collaboration or questions!
π Citation
This project makes use of the following external tools and references:
-
EduChain
AI-based educational content generation engine.
π GitHub Repository
π¦ PyPI Package
π Official documentation and usage examples provided by the EduChain team. -
Claude Desktop MCP Reference
MCP (Multi-Modal Control Protocol) UI simulation is inspired by Claude-style desktop interactions.
This implementation uses a local Tkinter GUI to simulate Claude-like functionality.
If you're using this project in your own research or application, you may cite it as:
@misc{nisthajain2025educhainmcp,
author = {Nistha Jain},
title = {EduChain MCP Server: AI-powered educational content interface},
year = {2025},
howpublished = {\url{https://github.com/nisthajain12/educhain-mcp-server}},
note = {Combines EduChain with a local MCP-compliant server and Claude-style desktop UI.}
}
βοΈ License
This project is licensed under the MIT License.
MIT License
Copyright (c) 2025 Nistha Jain
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the βSoftwareβ), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
(Full license text at https://opensource.org/licenses/MIT)
βοΈ Show Your Support If you found this useful, give it a βοΈ on GitHub!