Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@EduChain MCP ServerGenerate 3 multiple-choice questions on Python functions with explanations"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
# π EduChain MCP Server
The **EduChain MCP Server** integrates the [EduChain](https://github.com/satvik314/educhain) library with the [Model Context Protocol (MCP)](https://github.com/modelcontextprotocol/python-sdk) to build a local educational content server for **Claude Desktop**.
It runs via `stdio` and leverages **Grok's free-tier** (xAI) to generate:
- β
Multiple-choice questions
- π Lesson plans
- π‘ Flashcards
Currently focused on **Python programming** and **Algebra**, this server provides AI-powered tools tailored to real-world educational scenarios.
---
## βοΈ Setup Instructions (Windows + VS Code)
1. **Clone the Repository**
```bash
git clone https://github.com/AyaanShaheer/EduChain-MCP-Server
cd educhain-mcp-serverCreate and Activate Virtual Environment
python -m venv venv .\venv\Scripts\activateInstall Dependencies
pip install mcp httpx educhainRun the MCP Server
python mcp_educhain_server.py
π₯οΈ Claude Desktop Configuration
Edit the config file:
π C:\Users\Ayaan\AppData\Roaming\Claude\claude_desktop_config.json
{
"mcpServers": {
"EduChainServer": {
"command": "C:\\Users\\Ayaan\\Desktop\\educhain-mcp-server\\venv\\Scripts\\python.exe",
"args": ["C:\\Users\\Ayaan\\Desktop\\educhain-mcp-server\\mcp_educhain_server.py"],
"env": {
"PYTHONPATH": "C:\\Users\\Ayaan\\Desktop\\educhain-mcp-server"
}
}
}
}π Replace <YourUsername> with your actual Windows username.
β¨ Features
π§ Multiple-Choice Questions Generate quizzes with options, answers, and explanations.
π§βπ« Lesson Plans Create structured teaching plans (e.g., Algebra).
π Flashcards Outputs HTML-based flashcards manually (due to API limitations).
π Usage Examples
Start the server
Open Claude Desktop
Try commands like:
"Generate 5 multiple-choice questions on Python loops."
"Provide a lesson plan for teaching algebra."
"Generate 5 flashcards on Python Programming Basics."π Responses are saved in: Sample_Responses.txt
β οΈ Known Limitations
Flashcard support via
educhainis experimental. Use the manually generated HTML version inSample_Responses.txt.
π Project Status
ποΈ Last updated: July 3, 2025
β Verified on Windows + VS Code + Claude Desktop
π§ͺ Tested using Grok's free-tier LLM
π Citations
π§© EduChain: https://github.com/satvik314/educhain
βοΈ MCP SDK: https://github.com/modelcontextprotocol/python-sdk