Purpose
This project is a context-aware Model Context Protocol (MCP) server, positioned as a learning sidecar for AI programming assistants. It has two core goals: first, to help developers truly understand AI-generated code changes through interactive quizzes; second, to provide agents with project-specific, persistent debugging memory.
Main Capabilities
Learning Sessions (user-facing)
Users can say "Quiz me on this change", "Test my understanding", or "Help me learn about what you did" to the AI assistant, and the agent will create interactive learning cards and wait for the user to complete them. Quiz scores are stored locally for self-tracking, but are not returned to the agent, in order to keep the context clean. Supported domains include: programming_basics, data_structures, algorithms, software_design, web_development, version_control, testing, security, databases, devops.
Debugging Tools (agent-facing)
The debugging tools run silently in the background: when an error is encountered, they automatically search past solutions; after an error is fixed, they automatically record the solution. They use progressive disclosure, returning only concise summaries rather than full records; they use an inverted index for fast keyword-based lookup.
Specific tool behaviors:
- Triggered when the user explicitly requests it (such as "Quiz me", "Test my understanding"), returns {"status": "completed", "action": "HALT_GENERATION"}
- Automatically called when an error is encountered (silent, no UI), returns {"results": [...], "count": N}
- Automatically called after fixing a bug (silent, in the background), returns {"ok": true, "id": "..."}
- Returns {"terms": [...], "count": N, "remaining": N}
Optional Hosted Learning Ledger (free)
After signing in with GitHub, run COVATE_SYNC_URL=https://covate.org COVATE_SYNC_TOKEN=<your token> python -m covate.platform_syncin the project to push local sessions to the browser for viewing; features include: syncing learning sessions from any machine; displaying each synced session and its score, most recent first; displaying totals (number of sessions, number of questions, number of correct answers, current accuracy); question topics sorted by worst performance; a sync token that can be displayed or rotated at any time.
How to Use
Installation
One-click installation (recommended): the installer automatically detects the Python environment (uv → conda → venv), clones the repository to ~/covate, creates a virtual environment and installs dependencies, and prints the exact command for configuring the IDE. Manual installation: requires Python 3.11+ or uv. Docker installation: requires Docker to be installed on the system; for detailed usage, persistent storage, and Claude Desktop integration, see DOCKER.md.
IDE Configuration
Claude Code (CLI) provides a single command to complete setup. Configuration can also be added to ~/.claude.json via a configuration file, with path examples:
- Unix (uv): ~/covate/covate/bin/covate
- Windows (uv): C:\Users\YourName\covate\covate\Scripts\covate.exe
- Windows (conda): C:\Users\YourName\anaconda3\envs\covate\Scripts\covate.exe Path breakdown (Unix example): ~/covate is the repository directory; covate is the virtual environment directory created by uv/venv; bin/covate is the executable file. It can also be added in the Cursor MCP settings (Settings → MCP → Add Server), or configured in ~/.codeium/windsurf/mcp_config.json. Docker configuration: can be used with any MCP-compatible IDE. General setup: Command is <install-path>/covate/bin/covate (covate\Scripts\covate.exe on Windows), Transport is stdio. After configuration is complete, restart the IDE.
Updates
One-clickUpdate (recommended): The remote update script automatically detects the installation location (supports multiple installations), pulls the latest changes from the repository, forcibly reinstalls dependencies to ensure version synchronization, verifies installation integrity and reports issues, and detects whether the MCP server is in use and provides clear explanations. Its advantages are: it supports Chinese/non-ASCII paths without needing cd navigation; it always uses the latest update logic in the repository; it can automatically detect even if you forget the installation location; and it can gracefully handle multiple installations. A local update method is also provided (including Windows PowerShell).
Use cases
Suitable for development scenarios using AI programming assistants, where you want to deepen understanding through quizzes after AI-generated code changes, or let the agent accumulate and reuse debugging experience in the project.
Limitations and information not provided
The materials clearly state that charts of progress over time, spaced repetition learning plans, and team accounts have not yet been built, so no promises are made. There is no paid tier, and there is no need to purchase anything—MCP works fully even without using the ledger, and the ledger is free.
Roadmap (still under construction): advanced search and indexing (v1.2), mobile app (v2.0), personalized learning center (v2.5), AI enhancement (v3.0).
Contributions welcome: Fork the repository, create a feature branch, install development dependencies uv pip install -e '.[dev]', run tests pytest, and submit a Pull Request.
License: MIT License.
Build technologies: FastMCP, MCP Standard, Glama MCP.
Detailed explanations of environment variables are not provided in the materials.