EduChain MCP Server
Utilizes Google's Gemini AI models to generate educational content, including multiple-choice questions, flashcards, and structured lesson plans.
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 5 multiple-choice questions about photosynthesis"
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 for Claude Desktop
A local MCP (Model Context Protocol) server that integrates the EduChain educational content generation library with Claude Desktop, allowing users to generate MCQs, lesson plans, and flashcards using LLMs like Gemini (via LangChain).
🚀 Features
Multiple Choice Questions Generator
Lesson Plan Generator
Flashcard Generator
Claude-compatible MCP server with
FastMCPFully local, secure, and extensible integration
Related MCP server: EduChain MCP Server
🧠 Powered By
📁 Project Structure
├── server.py # Main MCP server script
├── get_educhain.py # LLM & EduChain config using Gemini
├── tools/
│ ├── generate_mcqs.py
│ ├── generate_lesson_plan.py
│ └── generate_flashcards.py
├── educhain/ # Cloned EduChain repo (not pushed)
├── .env # Contains GEMINI_API_KEY
├── requirements.txt
├── Educhain_McpReport.pdf
├── sample_output.txt # Sample response from all tools/resources
└── README.md
---
## ⚙️ Installation
### 1. Clone and Install EduChain Locally
```bash
git clone https://github.com/satvik314/educhain.git
cd educhain
pip install .2. Install Required Packages
pip install -r requirements.txt3. Add your Gemini API key
Create a .env file:
GEMINI_API_KEY=your-gemini-api-key-here🧪 Running the MCP Server
Option 1: Manual Run (for testing)
python server.pyOption 2: Claude-Managed (recommended)
Use the following claude_config.json:
{
"mcpServers": {
"educhain": {
"command": "python",
"args": ["server.py"],
"cwd": "C:/absolute/path/to/project",
"transport": "stdio",
"env": {
"DANGEROUSLY_OMIT_AUTH": "true"
}
}
}
}Save it to:
C:/Users/YOURNAME/.claude/config.jsonThen restart Claude Desktop and go to Developer → Restart Server.
🔐 Alternative: Use Auth Tokens for Collaboration
If you're working in a collaborative setup or want stricter control, you can remove the DANGEROUSLY_OMIT_AUTH setting and instead use the auth_token from the MCP Inspector like this:
{
"mcp_servers": [
{
"label": "EduChain Gemini Server",
"url": "http://127.0.0.1:6277",
"auth_token": "your-session-token"
}
]
}This is useful when running the server via:
mcp dev server.pyIt connects through the local proxy with full inspection/debug support.
🧰 Available Tools & Resources
Name | Type | Description |
| Tool | Creates multiple-choice questions for a topic |
| Tool | Generates flashcards for a topic |
| Resource | Provides a structured lesson plan |
🛠 Troubleshooting
If ports like
6277or6274are in use, kill conflicting processesMCP Inspector (via
mcp dev server.py) may block Claude — only run one at a timeEnsure
educhain/is installed but not committed (add it to.gitignore)
💡 Contributions
This integration was created as part of an internship assignment to showcase:
LLM tool integration
MCP protocol understanding
Custom tool chaining with LangChain
Gemini API usage via LangChain adapters
📄 License
This repository is for educational and internship use. EduChain is used under its respective open license.
🙌 Acknowledgements
@satvik314 for EduChain
Anthropic for Claude Desktop
Google for Gemini
📞 Contact
Feel free to reach out via LinkedIn or email for collaboration or queries.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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.Last updated31MIT
- Flicense-qualityDmaintenanceIntegrates the EduChain library to generate educational content including multiple-choice questions, lesson plans, and flashcards for subjects like Python programming and Algebra using Grok's free-tier LLM.Last updated
- Flicense-qualityDmaintenanceEnables AI-powered generation of educational content including multiple-choice questions, lesson plans, and flashcards on any topic through integration with the EduChain library and DeepSeek model via OpenRouter.Last updated
- Flicense-qualityDmaintenanceEnables 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.Last updated
Related MCP Connectors
Voice-led, FSRS-scheduled flashcards from YouTube, PDFs, web, or text. Auto-graded quizzes.
Generate AI images, video, speech, music and presentations from Claude, ChatGPT and Cursor.
Connect your team's living knowledge base — docs, data, issues, CRM — to Claude and ChatGPT.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sahilverse-web/mcpeduchain'
If you have feedback or need assistance with the MCP directory API, please join our Discord server