OpenEdu MCP Server

OpenEdu MCP Server

openedu-mcp•bycicatriiz

A Model Context Protocol server providing educational resource discovery tools with grade-level filtering and curriculum alignment across books, articles, definitions, and research papers.

License: MIT License•Runtime: Awaiting documentation review•Category: file systems-docs

WHAT IT DOES

  • •Searches educational books via Open Library with grade-level and subject filtering, plus ISBN details, subject searches, and recommendations.
  • •Searches and analyzes Wikipedia articles with educational filtering, summaries, full content, featured articles, and subject-based retrieval.
  • •Provides dictionary tools for definitions, vocabulary analysis, usage examples, pronunciation guides, and related terms.
  • •Searches and analyzes arXiv academic papers with educational relevance and academic-level filtering.

BEST FOR

  • •Educators planning curriculum-aligned lessons across grade levels and subjects.
  • •Finding age-appropriate reading and vocabulary materials for elementary through college students.
  • •Locating accessible research papers and analyzing research trends for academic levels.

ABOUT OPENEDU-MCP

OpenEdu MCP Server is cataloged as an MCP server attributed to cicatriiz. A Model Context Protocol server providing educational resource discovery tools with grade-level filtering and curriculum alignment across books, articles, definitions, and research papers. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for OpenEdu MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What grade levels and subjects does it support for filtering?

It filters content across K-2, 3-5, 6-8, 9-12, and College levels, with subjects including Mathematics, Science, English Language Arts, Social Studies, Arts, Physical Education, and Technology.

Does the server cache results to improve performance?

Yes, it uses SQLite-based caching with TTL support and reports a cache hit rate above 70% for repeated queries.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 2302ef27f511 · 采集于 2026-11-13 11:21:45 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

OpenEdu MCP Server

A comprehensive Model Context Protocol (MCP) server designed to provide educational resources and support curriculum planning for educators. This server integrates with multiple educational APIs to provide access to books, articles, definitions, and research papers with intelligent educational filtering and grade-level appropriateness.

🎓 Features

Complete API Integration Suite

  • 📚 Open Library Integration: Educational book search, recommendations, and metadata
  • 🌐 Wikipedia Integration: Educational article analysis with grade-level filtering
  • 📖 Dictionary Integration: Vocabulary analysis and language learning support
  • 🔬 arXiv Integration: Academic paper search with educational relevance scoring

Educational Intelligence

  • Grade Level Filtering: K-2, 3-5, 6-8, 9-12, College level content
  • Subject Classification: Mathematics, Science, ELA, Social Studies, Arts, PE, Technology
  • Curriculum Alignment: Common Core, NGSS, State Standards support
  • Educational Metadata: Complexity scoring, reading levels, educational value assessment

Performance & Reliability

  • Intelligent Caching: SQLite-based caching with TTL support
  • Rate Limiting: Built-in rate limiting to respect API quotas
  • Usage Analytics: Comprehensive usage tracking and performance metrics
  • Error Handling: Robust error handling with educational context preservation

🚀 Quick Start

Prerequisites

  • Python 3.9 or higher
  • pip package manager

Installation

  1. Clone the repository:
git clone https://github.com/Cicatriiz/openedu-mcp.git
cd openedu-mcp
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up configuration:
cp .env.example .env
# Edit .env with your preferred settings if needed
  1. Run the server:
python -m src.main
  1. Test the installation:
   python run_validation_tests.py

Development Setup

For development, install additional dependencies:

pip install -r requirements-dev.txt

Run tests:

# Unit tests
pytest tests/

# Integration tests
pytest tests/test_integration/

# Performance tests
pytest tests/test_performance.py

Format code:

black src tests
isort src tests

🛠️ MCP Tools Reference

The Education MCP Server provides 21+ MCP tools across four API integrations:

📚 Open Library Tools (4 tools)

search_educational_books

Search for educational books with grade-level and subject filtering.

search_educational_books(
    query="mathematics",
    subject="Mathematics", 
    grade_level="6-8",
    limit=10
)

get_book_details_by_isbn

Get detailed book information by ISBN with educational metadata.

get_book_details_by_isbn(
    isbn="9780134685991",
    include_cover=True
)

search_books_by_subject

Search books by educational subject with curriculum alignment.

search_books_by_subject(
    subject="Science",
    grade_level="3-5",
    limit=10
)

get_book_recommendations

Get curated book recommendations for specific grade levels.

get_book_recommendations(
    grade_level="9-12",
    subject="Physics",
    limit=5
)

🌐 Wikipedia Tools (5 tools)

search_educational_articles

Search Wikipedia articles with educational filtering and analysis.

search_educational_articles(
    query="photosynthesis",
    grade_level="3-5",
    subject="Science",
    limit=5
)

get_article_summary

Get article summaries with educational metadata and complexity analysis.

get_article_summary(
    title="Solar System",
    include_educational_analysis=True
)

get_article_content

Get full article content with educational enrichment.

get_article_content(
    title="Photosynthesis",
    include_images=True
)

get_featured_article

Get Wikipedia's featured article with educational analysis.

get_featured_article(
    date="2024/01/15",
    language="en"
)

get_articles_by_subject

Get articles by educational subject with grade-level filtering.

get_articles_by_subject(
    subject="Mathematics",
    grade_level="6-8",
    limit=10
)

📖 Dictionary Tools (5 tools)

get_word_definition

Get educational word definitions with grade-appropriate complexity.

get_word_definition(
    word="ecosystem",
    grade_level="6-8",
    include_pronunciation=True
)

get_vocabulary_analysis

Analyze word complexity and educational value.

get_vocabulary_analysis(
    word="photosynthesis",
    context="plant biology lesson"
)

get_word_examples

Get educational examples and usage contexts for vocabulary.

get_word_examples(
    word="fraction",
    grade_level="3-5",
    subject="Mathematics"
)

get_pronunciation_guide

Get phonetic information and pronunciation guides.

get_pronunciation_guide(
    word="photosynthesis",
    include_audio=True
)

Get synonyms, antonyms, and related educational terms.

get_related_vocabulary(
    word="democracy",
    relationship_type="related",
    grade_level="9-12",
    limit=10
)

🔬 arXiv Tools (5 tools)

search_academic_papers

Search academic papers with educational relevance filtering.

search_academic_papers(
    query="machine learning education",
    academic_level="Undergraduate",
    subject="Computer Science",
    max_results=10
)

get_paper_summary

Get paper summaries with educational analysis and accessibility scoring.

get_paper_summary(
    paper_id="2301.00001",
    include_educational_analysis=True
)

get_recent_research

Get recent research papers by educational subject.

get_recent_research(
    subject="Physics",
    days=30,
    academic_level="High School",
    max_results=5
)

get_research_by_level

Get research papers appropriate for specific academic levels.

get_research_by_level(
    academic_level="Graduate",
    subject="Mathematics",
    max_results=10
)

Analyze research trends for educational insights.

analyze_research_trends(
    subject="Artificial Intelligence",
    days=90
)

🖥️ Server Tools (1 tool)

get_server_status

Get comprehensive server status and performance metrics.

get_server_status()

🔌 Connectivity Endpoints

This section details how to interact with the OpenEdu MCP Server through various interfaces, including direct standard I/O, HTTP for tool execution, and Server-Sent Events for real-time updates.

Stdio Tool (handle_stdio_input)

The server includes a tool designed for direct command-line or piped input.

  • Tool Name: handle_stdio_input
  • Description: Processes a single line of text input and returns a transformed version. This is useful for basic interaction or scripting with the MCP server if it's configured to listen to stdin.
  • Signature: async def handle_stdio_input(ctx: Context, input_string: str) -> str
  • Example Interaction:
    Tool: handle_stdio_input
    Input: "your text here"
    Output: "Processed: YOUR TEXT HERE"
    

HTTP Endpoint for MCP Tools

All registered MCP tools (including handle_stdio_input and the 20+ tools listed above) are accessible via HTTP. This allows integration with various applications and services. The server likely uses a JSON RPC style for these interactions.

  • Endpoint: POST /mcp (This is a common convention for FastMCP servers supporting JSON RPC)

  • Request Method: POST

  • Headers: Content-Type: application/json

  • Request Body Structure (JSON RPC):

    {
        "jsonrpc": "2.0",
        "method": "<tool_name>",
        "params": {"param1": "value1", ...},
        "id": "your_request_id"
    }
    
  • Example curl call to handle_stdio_input:

    curl -X POST -H "Content-Type: application/json" \
         -d '{"jsonrpc": "2.0", "method": "handle_stdio_input", "params": {"input_string": "hello from http"}, "id": 1}' \
         http://localhost:8000/mcp
    
  • Expected Response:

    {
        "jsonrpc": "2.0",
        "result": "Processed: HELLO FROM HTTP",
        "id": 1
    }
    

    If an error occurs, the result field will be replaced by an error object containing code and message.

Server-Sent Events (SSE) Endpoint

The server provides an SSE endpoint for real-time notifications. This is useful for clients that need to stay updated with server-initiated events.

  • Endpoint: GET /events

  • Description: Streams events from the server to the client.

  • Event Format: Each event is sent as a block of text:

    event: <event_type>
    data: <json_payload_of_the_event_data>
    id: <optional_event_id>
    
    

    (Note: An empty line separates events.)

  • Known Events:

    • connected: Sent once when the client successfully connects to the SSE stream.
      • data: {"message": "Successfully connected to SSE stream"}
    • ping: Sent periodically as a heartbeat to keep the connection alive and indicate server health.
      • data: {"heartbeat": <loop_count>, "message": "ping"} (loop_count increments)
    • error: Sent if an error occurs within the SSE generation stream.
      • data: {"error": "<error_message>"}
  • Example: Connecting with JavaScript's EventSource:

    const evtSource = new EventSource("http://localhost:8000/events");
    
    evtSource.onopen = function() {
        console.log("Connection to SSE opened.");
    };
    
    evtSource.onmessage = function(event) {
        // Generic message handler if no specific event type is matched
        console.log("Generic message:", event.data);
        try {
            const parsedData = JSON.parse(event.data);
            console.log("Parsed generic data:", parsedData);
        } catch (e) {
            // Data might not be JSON
        }
    };
    
    evtSource.addEventListener("connected", function(event) {
        console.log("Event: connected");
        console.log("Data:", JSON.parse(event.data));
    });
    
    evtSource.addEventListener("ping", function(event) {
        console.log("Event: ping");
        console.log("Data:", JSON.parse(event.data));
    });
    
    evtSource.addEventListener("error", function(event) {
        if (event.target.readyState === EventSource.CLOSED) {
            console.error("SSE Connection was closed.", event);
        } else if (event.target.readyState === EventSource.CONNECTING) {
            console.error("SSE Connection is reconnecting...", event);
        } else {
            // An error occurred while streaming, data might be available
            console.error("SSE Error:", event);
             if (event.data) {
                try {
                    console.error("Error Data:", JSON.parse(event.data));
                } catch (e) {
                    console.error("Error Data (raw):", event.data);
                }
            }
        }
    });
    
  • Example: Connecting with curl:

    curl -N -H "Accept:text/event-stream" http://localhost:8000/events
    

    (Note: curl will keep the connection open and print events as they arrive.)

💻 Editor & AI Tool Integration

You can integrate the OpenEdu MCP Server with various AI-assisted coding tools and IDE plugins. This allows these tools to leverage the server's educational functionalities directly within your development environment. Configuration typically involves telling the editor how to start and communicate with the OpenEdu MCP server. The server is run using python -m src.main from the root of this project.

Below are example configurations for some popular tools. You may need to adjust paths (e.g., for cwd or if you have a specific Python environment) based on your local setup.

Cursor

To add this server to Cursor IDE:

  1. Go to Cursor Settings > MCP.
  2. Click + Add new Global MCP Server.
  3. Alternatively, add the following configuration to your global .cursor/mcp.json file (ensure cwd points to the root directory of this project):
{
  "mcpServers": {
    "openedu-mcp-server": {
      "command": "python",
      "args": [
        "-m",
        "src.main"
      ],
      "cwd": "/path/to/your/openedu-mcp" // Replace with the actual path to this project's root
    }
  }
}

See the Cursor documentation for more details.

Windsurf

To set up MCP with Windsurf (formerly Cascade):

  1. Navigate to Windsurf - Settings > Advanced Settings or use the Command Palette to Open Windsurf Settings Page.
  2. Scroll down to the Cascade section and add the OpenEdu MCP server directly in mcp_config.json (ensure cwd points to the root directory of this project):
{
  "mcpServers": {
    "openedu-mcp-server": {
      "command": "python",
      "args": [
        "-m",
        "src.main"
      ],
      "cwd": "/path/to/your/openedu-mcp" // Replace with the actual path to this project's root
    }
  }
}

Cline

Add the following JSON manually to your cline_mcp_settings.json via Cline's MCP Server setting (ensure cwd points to the root directory of this project):

{
  "mcpServers": {
    "openedu-mcp-server": {
      "command": "python",
      "args": [
        "-m",
        "src.main"
      ],
      "cwd": "/path/to/your/openedu-mcp" // Replace with the actual path to this project's root
    }
  }
}

Roo Code

Access the MCP settings by clicking Edit MCP Settings in Roo Code settings or using the Roo Code: Open MCP Config command in VS Code's command palette (ensure cwd points to the root directory of this project):

{
  "mcpServers": {
    "openedu-mcp-server": {
      "command": "python",
      "args": [
        "-m",
        "src.main"
      ],
      "cwd": "/path/to/your/openedu-mcp" // Replace with the actual path to this project's root
    }
  }
}

Claude

Add the following to your claude_desktop_config.json file (ensure cwd points to the root directory of this project):

{
  "mcpServers": {
    "openedu-mcp-server": {
      "command": "python",
      "args": [
        "-m",
        "src.main"
      ],
      "cwd": "/path/to/your/openedu-mcp" // Replace with the actual path to this project's root
    }
  }
}

See the Claude Desktop documentation for more details if available.

📋 Educational Use Cases

Elementary Education (K-2)

# Find age-appropriate books
books = await search_educational_books(
    query="animals", 
    grade_level="K-2", 
    subject="Science"
)

# Get simple definitions
definition = await get_word_definition(
    word="habitat", 
    grade_level="K-2"
)

# Find educational articles
articles = await search_educational_articles(
    query="animal homes", 
    grade_level="K-2"
)

Middle School STEM (6-8)

# Get math textbooks
books = await search_books_by_subject(
    subject="Mathematics", 
    grade_level="6-8"
)

# Analyze vocabulary complexity
analysis = await get_vocabulary_analysis(
    word="equation", 
    context="solving math problems"
)

# Find related terms
related = await get_related_vocabulary(
    word="algebra", 
    grade_level="6-8"
)

High School Advanced (9-12)

# Get physics recommendations
books = await get_book_recommendations(
    grade_level="9-12", 
    subject="Physics"
)

# Get detailed articles
article = await get_article_content(
    title="Quantum mechanics"
)

# Find accessible research
papers = await search_academic_papers(
    query="climate change", 
    academic_level="High School"
)

College Research

# Find academic textbooks
books = await search_educational_books(
    query="calculus", 
    grade_level="College"
)

# Get recent research
research = await get_recent_research(
    subject="Computer Science", 
    academic_level="Graduate"
)

# Analyze trends
trends = await analyze_research_trends(
    subject="Machine Learning"
)

⚙️ Configuration

Configuration Files

The server uses YAML configuration files in the config/ directory:

# config/default.yaml
server:
  name: "openedu-mcp-server"
  version: "1.0.0"

education:
  grade_levels:
    - "K-2"
    - "3-5" 
    - "6-8"
    - "9-12"
    - "College"
  
  subjects:
    - "Mathematics"
    - "Science"
    - "English Language Arts"
    - "Social Studies"
    - "Arts"
    - "Physical Education"
    - "Technology"

apis:
  open_library:
    rate_limit: 100  # requests per minute
  wikipedia:
    rate_limit: 200  # requests per minute
  dictionary:
    rate_limit: 450  # requests per hour
  arxiv:
    rate_limit: 3    # requests per second

Environment Variables

Override configuration with environment variables:

export OPENEDU_MCP_CACHE_TTL=7200
export OPENEDU_MCP_LOG_LEVEL=DEBUG
export OPENEDU_MCP_RATE_LIMIT_WIKIPEDIA=300

🏗️ Architecture

Education MCP Server
├── API Layer (FastMCP)
│   ├── 20+ MCP Tools
│   └── Request/Response Handling
├── Service Layer
│   ├── Cache Service (SQLite)
│   ├── Rate Limiting Service
│   └── Usage Tracking Service
├── Tool Layer
│   ├── Open Library Tools
│   ├── Wikipedia Tools
│   ├── Dictionary Tools
│   └── arXiv Tools
├── API Layer
│   ├── Open Library API
│   ├── Wikipedia API
│   ├── Dictionary API
│   └── arXiv API
└── Data Layer
    ├── Educational Models
    ├── Cache Database
    └── Usage Analytics

📊 Performance

Caching Strategy

  • Cache Hit Rate: >70% for repeated queries
  • Response Time: <500ms for cached requests, <2000ms for uncached
  • Cache Size: Configurable with automatic cleanup
  • TTL Management: Intelligent expiration based on content type

Rate Limiting

  • Open Library: 100 requests/minute
  • Wikipedia: 200 requests/minute
  • Dictionary: 450 requests/hour
  • arXiv: 3 requests/second

Concurrent Handling

  • Async Operations: Non-blocking I/O for all API calls
  • Connection Pooling: Efficient HTTP connection management
  • Resource Limits: Configurable memory and disk usage limits

🧪 Testing

Run All Tests

# Unit tests
pytest tests/test_tools/ -v

# Integration tests
pytest tests/test_integration/ -v

# Performance tests
pytest tests/test_performance.py -v

# Real API tests (requires internet)
make validate

Test Coverage

pytest --cov=src --cov-report=html
open htmlcov/index.html

Validation Tests

make validate

🧪 Real API Validation Tests

We've implemented comprehensive real-world validation tests to ensure production readiness. These tests verify functionality against live services, not mocks.

Features

  • Tests all 20+ MCP tools against their respective live APIs
  • Validates educational workflows for different grade levels
  • Measures performance metrics (response times, cache rates, error rates)
  • Tests error handling with invalid inputs and edge cases
  • Verifies caching behavior with real API responses

Running Validation Tests

python run_validation_tests.py

The script will:

  1. Test all API integrations (Open Library, Wikipedia, Dictionary, arXiv)
  2. Validate educational workflows:
    • Elementary Education (K-2)
    • High School STEM (9-12)
    • College Research
    • Educator Resources
  3. Measure performance metrics:
    • Response times for each API
    • Cache hit/miss rates
    • Rate limiting effectiveness
    • Educational filtering processing time
  4. Generate a detailed JSON report with test results and performance statistics

Test Cases

  1. Open Library:

    • Search for "Harry Potter" with grade-level filtering
    • Get book details by ISBN (e.g., 9780439064866)
    • Check availability for a known book
    • Verify educational metadata enrichment
  2. Wikipedia:

    • Search for "Quantum Mechanics" with academic level filtering
    • Get article summary for "Albert Einstein"
    • Retrieve featured article of the day
    • Verify content analysis and complexity scoring
  3. Dictionary API:

    • Get definition for "photosynthesis" with educational context
    • Test pronunciation guide for "quinoa"
    • Verify vocabulary analysis for STEM terms
    • Test grade-level appropriate definitions
  4. arXiv:

    • Search for "machine learning" papers with educational filtering
    • Get recent AI research papers
    • Verify academic level assessment
    • Test research trend analysis

📚 Documentation

🔧 Development Status

✅ COMPLETE - All Features Implemented

Core Infrastructure ✅

  • Project structure and configuration
  • Core services (caching, rate limiting, usage tracking)
  • Base models and validation
  • FastMCP server setup
  • Educational filtering framework

API Integrations ✅

  • Open Library API integration (4 tools)
  • Wikipedia API integration (5 tools)
  • Dictionary API integration (5 tools)
  • arXiv API integration (5 tools)
  • Educational content filtering
  • Cross-API educational workflows

Testing & Documentation ✅

  • Comprehensive unit tests
  • Integration test suite
  • Performance benchmarks
  • Demo script with all features
  • Complete documentation
  • API reference guide

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Add tests for new functionality
  5. Run the test suite (pytest)
  6. Commit your changes (git commit -m 'Add amazing feature')
  7. Push to the branch (git push origin feature/amazing-feature)
  8. Open a Pull Request

Development Guidelines

  • Follow PEP 8 style guidelines
  • Add type hints for all functions
  • Include docstrings for all public methods
  • Write tests for new features
  • Update documentation as needed

📄 License

This project is licensed under the MIT License.

🆘 Support

For questions, issues, or contributions:

  • Issues: Create an issue in the repository
  • Documentation: Check the docs/ directory
  • Discussions: Use GitHub Discussions for questions
  • Email: Contact the maintainers

🙏 Acknowledgments

  • Built with FastMCP framework
  • Integrates with Open Library, Wikipedia, Dictionary API, and arXiv
  • Designed for educational use cases and curriculum planning
  • Inspired by the need for accessible educational technology

OpenEdu MCP Server - Empowering educators with intelligent educational resource discovery and curriculum planning tools.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for OpenEdu MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/openedu-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related file systems-docs MCP Servers

Alternative and complementary servers in the same category

View all in file systems-docs →

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Repository stats unavailable
Files & Documentation
LoreKeeper MCP server
lorekeeper-rpg-lorekeeper-com•lore-keeper

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

Repository stats unavailable
Files & Documentation

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.

Repository stats unavailable
Files & Documentation