About
Educhain — Model Context Protocol server
README
An MCP (Model Context Protocol) server that integrates the EduChain library with Google Gemini API to provide AI-powered educational content generation.
Features
🎓 Educational Content Generation
- Multiple-choice questions (MCQs) on any academic topic
- Comprehensive lesson plans with objectives and activities
- Study flashcards (bonus feature)
🤖 AI-Powered
- Powered by Google Gemini's advanced language model
- Customizable difficulty levels and learning objectives
- Context-aware content generation
🔌 MCP Integration
- Seamless integration with Claude Desktop
- Standardized API endpoints for educational tools
- Extensible architecture for additional features
Prerequisites
Before you begin, ensure you have met the following requirements:
- Python 3.8 or higher
- Google Gemini API key
- Claude Desktop installed (for testing)
- Node.js (for MCP support in Claude Desktop)
Installation
To install EduChain MCP Server, follow these steps:
Clone the repository:
git clone https://github.com/yourusername/educhain-mcp-server.git cd educhain-mcp-serverCreate and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activateInstall the dependencies:
pip install -r requirements.txtCreate a
.envfile:cp .env.example .envThen edit
.envand add your Google Gemini API key.
Usage
Starting the Server
python educhain_mcp_server.py
Testing with Claude Desktop
- Configure Claude Desktop by editing
claude_desktop_config.json - Update the
cwdpath to your project directory - Add your Google API key in the environment variables
- Restart Claude Desktop
Example Commands
- Generate MCQs: "Create 5 multiple-choice questions about Python loops"
- Get lesson plan: "Provide a 45-minute lesson plan on algebra for high school"
- Create flashcards: "Make 10 definition flashcards about data structures"
Project Structure
educhain-mcp-server/
├── educhain_mcp_server.py # Main server implementation
├── test_educhain.py # Setup verification
├── requirements.txt # Python dependencies
├── .env # Environment config (ignored)
├── .env.example # Environment template
├── claude_desktop_config.json # Claude config
├── README.md # This file
└── .gitignore # Git ignore rules
API Documentation
The server provides the following MCP endpoints:
Tools
generate_mcq(topic, num_questions, difficulty_level, custom_instructions)generate_lesson_plan(topic, duration, grade_level, learning_objectives)generate_flashcards(topic, num_cards, difficulty_level, card_type)
Resources
educhain://topic/{topic}- Get topic overvieweduchain://questions/{topic}- Get sample questions
Troubleshooting
If you encounter issues:
Server not starting:
- Verify Python is in your PATH
- Check all dependencies are installed (
pip list) - Ensure Google API key is valid
Tools not appearing in Claude:
- Restart Claude Desktop completely
- Check server logs for errors
- Verify JSON configuration syntax
License
This project is licensed under the MIT License
Installing Educhain
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/MandarKURUNDWADE/educhain-mcp-serverFAQ
Is Educhain MCP free?
Yes, Educhain MCP is free — one-click install via Unyly at no cost.
Does Educhain need an API key?
No, Educhain runs without API keys or environment variables.
Is Educhain hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Educhain in Claude Desktop, Claude Code or Cursor?
Open Educhain on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Educhain with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
