EduChain MCP Server

EduChain MCP Server

Enables 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.

Category
Visit Server

README

🧠 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
generate_mcqs Generates MCQs for a given topic
generate_lesson_plan Creates structured lesson plans
generate_flashcards Builds flashcards from topics

Powered by Educhain and a local LLM from Ollama.


πŸ“ 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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured