EduChain MCP Server
Uses local Ollama LLMs to generate educational content, including multiple choice questions (MCQs), structured lesson plans, and flashcards.
Click on "Deploy 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 5 MCQs on photosynthesis for a high school biology class"
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 (Claude + Ollama)
This project exposes educational AI tools like multiple choice question (MCQ) generation, lesson planning, and flashcard creation via the Model Context Protocol (MCP).
It connects:
β Local Python MCP server
β Local Ollama LLM (e.g., Gemma)
β Claude for Desktop using
claude_desktop_config.json
π Features
Tool Name | Description |
| Generates MCQs for a given topic |
| Creates structured lesson plans |
| Builds flashcards from topics |
Powered by Educhain and a local LLM from Ollama.
Related MCP server: EduChain MCP Server
π Project Structure
mcp-educhain-server/ βββ mcp_server.py # Main MCP server βββ educhain_content.py # AI tool logic using Educhain + Ollama βββ claude_desktop_config.json # Claude config (external) βββ README.md
yaml Copy Edit
βοΈ Requirements
Python 3.10+
Ollama (e.g.,
gemma,mistral)Claude for Desktop
Dependencies:
pip install educhain langchain_ollama π Claude Config (claude_desktop_config.json) Located at:
bash Copy Edit %APPDATA%\Claude\claude_desktop_config.json Use this format:
json Copy Edit { "mcpServers": { "educhain-server": { "command": "C:\Users\YourUsername\AppData\Local\Programs\Python\Python310\python.exe", "args": ["mcp_server.py"], "workingDirectory": "C:\Users\YourUsername\Desktop\mcp-educhain-server", "env": { "PYTHONIOENCODING": "utf-8" } } } } π§ͺ Test Your Server In terminal:
bash Copy Edit cd mcp-educhain-server python mcp_server.py Check with:
bash Copy Edit echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}' | python mcp_server.py π§ Example Prompts in Claude "Generate 5 MCQs on Photosynthesis"
"Create a lesson plan for Algebra"
"Make flashcards for World War 2"
π Troubleshooting β Use absolute paths in the config
β Add PYTHONIOENCODING=utf-8
β Print debug logs to stderr
Check Claude logs via βOpen Logs Folderβ
π License MIT License
β¨ Credits Educhain
Ollama
Claude Desktop
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect your Moodle to AI assistants: courses, content, grading and reports from the chat.
AI-powered corporate learning platform β manage courses, users, and insights via Claude.
Create, edit, translate, and export SCORM eLearning modules from a connected AI assistant.
Model Context Protocol server for Studex tools, notifications, and profile integrations
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.-
- AlicenseNot gradedqualityDmaintenanceExposes local Ollama instances as tools for Claude Code, allowing users to offload code generation, text drafting, and embedding tasks to local GPUs. It supports multi-turn conversations and model management through the Model Context Protocol.MIT
- FlicenseNot gradedqualityDmaintenanceEnables generation of educational content like MCQs, lesson plans, and flashcards without relying on external LLMs, fully offline and compatible with Claude Desktop.4-