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
๐ง Powered By
๐ Project Structure
2. Install Required Packages
3. Add your Gemini API key
Create a .env file:
๐งช Running the MCP Server
Option 1: Manual Run (for testing)
Option 2: Claude-Managed (recommended)
Use the following claude_config.json:
Save it to:
Then 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:
This is useful when running the server via:
It 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.