offline-mcp-educational-server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
β
README.md
# Offline MCP Server β EduChain Assignment Submission
This project implements an **offline MCP (Meta-Channel Protocol) server** that simulates educational content generation tools without using any external LLMs (e.g., OpenAI or Gemini). It is fully compatible with Claude Desktop or can be tested independently using browser, Postman, or cURL.
---
## π Project Structure
. βββ run.py # Entry point to run the Flask server βββ requirements.txt # Dependencies (Flask) βββ claude_desktop_config.json # Claude Desktop configuration (optional) βββ Sample_Responses.txt # Sample API calls and responses βββ README.md # This file βββ app/ βββ init.py # Initializes the Flask app βββ routes.py # Flask routes and UI form βββ edu_utils.py # Core educational logic (MCQs, plans, flashcards)
---
## π Features
| Tool | Endpoint | Description |
|------------------|--------------------------|-------------------------------------------------|
| MCQ Generator | `/generate-mcqs` | Generates MCQs based on topic and count |
| Lesson Plan Tool | `/get-lesson-plan` | Returns a structured lesson plan for a subject |
| Flashcards Tool | `/generate-flashcards` | Creates flashcards from topic keywords |
| Test UI | `/` | Browser form to test all routes easily |
---
## π§ LLM-Free Design
Instead of calling real LLMs like OpenAI or Gemini, this project:
- Uses **handwritten logic**
- Returns **realistic educational content**
- Fully mimics JSON structure expected by Claude Desktop
---
## π§ Installation & Run
### Step 1: Install requirements
```bash
pip install -r requirements.txtStep 2: Run the Flask server
python run.pyBy default, the server runs on:
http://localhost:5001π Test the Server (Without Claude)
Visit in browser:
http://localhost:5001Use the dropdowns and forms to test:
Generate MCQs
Get Lesson Plan
Create Flashcards
Or use Postman / curl.
Related MCP server: EduChain MCP Server
π§ͺ Sample Request
POST /generate-mcqs
{
"topic": "Python Basics",
"count": 2
}Sample Response
{
"mcqs": [
{
"question": "Which keyword is used to define a function in Python?",
"options": ["define", "def", "func", "lambda"],
"answer": "def"
},
...
]
}π Claude Desktop Integration (Optional)
Use the claude_desktop_config.json file provided to connect this server to Claude Desktop. Restart Claude Desktop after configuring it.
π₯ Submission Checklist
mcp_server.pyβ now modular:run.py + routes.py + utils.pyclaude_desktop_config.jsonSample_Responses.txtREADME.mdUses NO LLMs (fully offline)
Tested via browser, Postman, and curl
π§ Author
Nihal Jaiswal B.Tech (2026) GitHub: [github.com/yourusername]
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
Build study flashcards and exam-prep decks from your AI chat, all stored locally.
AI-powered corporate learning platform β manage courses, users, and insights via Claude.
Create structured courses, lessons, and educational images for any topic, level, and language.
Create, edit, translate, and export SCORM eLearning modules from a connected AI assistant.
Related MCP Servers
- AlicenseAqualityDmaintenanceIntegrates EduChain's educational content generation capabilities with Claude Desktop, enabling creation of multiple-choice questions, comprehensive lesson plans, and flashcards for any educational topic.31MIT
- FlicenseNot gradedqualityDmaintenanceIntegrates the EduChain library with Claude Desktop to generate educational content such as multiple-choice questions, lesson plans, and flashcards. It utilizes Gemini LLMs through LangChain to provide local and secure content generation tools.-
- FlicenseNot gradedqualityDmaintenanceEnables the generation of educational content such as multiple choice questions, lesson plans, and flashcards by connecting local Ollama models to Claude. It leverages the Educhain library to provide structured AI-powered learning tools through the Model Context Protocol.-
- FlicenseNot gradedqualityDmaintenanceEnables AI-powered educational content generation, including multiple-choice questions and lesson plans, through a modular command platform.9-