Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Learning sidebar for AI coding assistants: quizzes on your changes, debug memory, term explanations
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"covate": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/sunflowerslwtech/covate:1.2.0"
]
}
}
}在终端中运行这条命令
claude mcp add covate -- docker run -i --rm ghcr.io/sunflowerslwtech/covate:1.2.0粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"covate": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/sunflowerslwtech/covate:1.2.0"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"covate": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/sunflowerslwtech/covate:1.2.0"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 SunflowersLwtech 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.2.0)于11天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
English | 简体中文 | 繁體中文
A context-aware Model Context Protocol (MCP) server that acts as a learning sidecar for AI coding assistants. It helps developers learn from AI-generated code changes through interactive quizzes and provides agents with a persistent project-specific debugging memory.
| Resource | Description |
|---|---|
| Glama MCP Marketplace | Official MCP server listing with installation guides |
| DeepWiki Documentation | AI-generated deep analysis of the codebase |
| GitHub Repository | Source code, issues, and contributions |
| For | Benefit |
|---|---|
| Developers | Don't just accept AI code—understand it. Request a quiz to verify your grasp of the logic, security, or performance implications. |
| AI Agents | Stop solving the same bug twice. The server quietly records debugging solutions and retrieves them automatically when similar errors occur. |
The MCP server in this repo is free and open-source (MIT) — run it locally, no account required. The optional hosted [learning ledger](https://covate.org/dashboard) is free too: sign in with GitHub, then run COVATE_SYNC_URL=https://covate.org COVATE_SYNC_TOKEN= python -m covate.platform_sync from a project to push your local sessions up and review them in a browser:
Not built yet, so not promised: progress-over-time charts, spaced-repetition study plans, team accounts. There is no paid tier and nothing to buy — the MCP works fully without the ledger, and the ledger costs nothing.
covate review keeps a small local ledger of concepts and when to ask about them again. It never talks to the network or to a model; your own agent writes the questions and publishes the page (for example with the FoldRender command line).
covate review page questions.json -o page.html # questions -> a quiz page (answers marked)
foldrender publish page.html # your agent publishes it foldrender answers --json | covate review record # score the first answers covate review due # what to ask about again today covate review status # every concept + first-answer accuracy
Only the first pick on each question counts, so changing an answer after seeing the explanation cannot raise the score. (FoldRender shows the explanation during its few-second undo window, so an answer you take back inside that window does not count; one you leave alone does.) A new concept comes back after 1 day, then 7, then 30 days; a wrong answer sends it back to the 1-day step; passing all three means mastered. The ledger lives in the global Covate storage (override with COVATE_REVIEW_LEDGER). questions.json is {"title": ..., "questions": [{"concept", "question", "options": [...], "correct": <0-based index>, "explanation"?}]}.
In Claude Code, install the plugin to get the MCP server plus /covate:review and /covate:review-record, which walk your agent through the steps above (no hooks, nothing runs unless you call it):
/plugin marketplace add SunflowersLwtech/covate
/plugin install covate@covate
| Tool | Type | Description |
|---|---|---|
learning_session | 🎓 Interactive | Opens a WebUI quiz based on recent code changes. Blocks until user completes learning. |
debug_search | 🔍 Silent RAG | Searches project debug history for relevant past solutions. Auto-triggered on errors. |
debug_record | 📝 Silent | Records debugging experiences to project knowledge base. Auto-triggered after fixes. |
term_get | 📚 Reference | Fetches programming terms/concepts. Tracks shown terms to avoid repetition. |
🎓 learning_session - Interactive Learning Card
Trigger: User explicitly requests (e.g., "Quiz me", "Test my understanding")
Parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
project_directory | string | "." | Project directory path |
summary | string | — | Structured summary of Agent's actions |
reasoning | object | null | 5-Why reasoning (goal, trigger, mechanism, alternatives, risks) |
quizzes | array | auto-generated | 3 quiz questions with options, answer, explanation |
focus_areas | array | ["logic"] | Focus areas: logic, security, performance, architecture, syntax |
timeout | int | 600 | Timeout in seconds (60-7200) |
Returns: {"status": "completed", "action": "HALT_GENERATION"}
🔍 debug_search - Search Debug History
Trigger: Auto-called when encountering errors (silent, no UI)
Parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
query | string | — | Error message or description to search |
project_directory | string | "." | Project directory path |
error_type | string | null | Filter by error type (e.g., ImportError) |
tags | array | null | Filter by tags |
limit | int | 5 | Maximum results (1-20) |
Returns: {"results": [...], "count": N}
📝 debug_record - Record Debug Experience
Trigger: Auto-called after fixing bugs (silent, background)
Parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
context | object | — | Error context: {error_type, error_message, file, line} |
cause | string | — | Root cause analysis |
solution | string | — | Solution that worked |
project_directory | string | "." | Project directory path |
tags | array | null | Tags for categorization |
Returns: {"ok": true, "id": "..."}
📚 term_get - Get Programming Terms
Available Domains: programming_basics, data_structures, algorithms, software_design, web_development, version_control, testing, security, databases, devops
Parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
project_directory | string | "." | Project directory path |
count | int | 3 | Number of terms (1-5) |
domain | string | null | Filter by domain |
Returns: {"terms": [...], "count": N, "remaining": N}
Platform Command
macOS / Linux
curl -fsSL https://raw.githubusercontent.com/SunflowersLwtech/covate/main/scripts/install.sh | bash
Windows (PowerShell)
irm https://raw.githubusercontent.com/SunflowersLwtech/covate/main/scripts/install.ps1 | iex
The installer will:
~/covateClick to expand manual installation steps
Prerequisites: Python 3.11+ or uv
# 1. Clone the repository
git clone https://github.com/SunflowersLwtech/covate.git cd covate
uv venv --python 3.11 covate source covate/bin/activate # macOS/Linux
uv pip install -e '.[dev]'
python -m venv covate source covate/bin/activate # macOS/Linux
pip install -e '.[dev]'
Click to expand Docker installation steps
Prerequisites: Docker installed on your system
# 1. Pull from Docker Hub
docker pull sunflowerslwtech/covate:latest
git clone https://github.com/SunflowersLwtech/covate.git cd covate docker build -t covate .
docker run -i covate
docker-compose up -d
For detailed Docker usage, persistent storage, and Claude Desktop integration, see [DOCKER.md](DOCKER.md).
After installation, configure your AI coding IDE to use this MCP server.
Option 1: CLI (Recommended)
# macOS / Linux
claude mcp add covate -- ~/covate/covate/bin/covate
claude mcp add covate -- %USERPROFILE%\covate\covate\Scripts\covate.exe
Option 2: Config File
Add to ~/.claude.json:
{
"mcpServers": { "covate": { "command": "~/covate/covate/bin/covate" } } }
For Windows:
{
"mcpServers": { "covate": { "command": "C:\\Users\\YourName\\covate\\covate\\Scripts\\covate.exe" } } }
Example paths:
~/covate/covate/bin/covateC:\\Users\\YourName\\covate\\covate\\Scripts\\covate.exeC:\\Users\\YourName\\anaconda3\\envs\\covate\\Scripts\\covate.exePath breakdown (Unix example):
~/covate → repository directorycovate → virtual environment directory created by uv/venvbin/covate → executableAdd to Cursor MCP settings (Settings → MCP → Add Server):
{
"covate": { "command": "~/covate/covate/bin/covate" } }
For Windows:
{
"covate": { "command": "C:\\Users\\YourName\\covate\\covate\\Scripts\\covate.exe" } }
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": { "covate": { "command": "~/covate/covate/bin/covate" } } }
To use Docker with any MCP-compatible IDE:
{
"mcpServers": { "covate": { "command": "docker", "args": [ "run", "-i", "--rm", "-v", "/path/to/your/project:/workspace", "-w", "/workspace", "covate" ] } } }
See [DOCKER.md](DOCKER.md) for detailed Docker configuration examples for Claude Desktop, Cursor, and other IDEs.
For any MCP-compatible IDE, use these settings:
/covate/bin/covate (or covate\Scripts\covate.exe on Windows)After configuration, restart your IDE.
| Tool | Trigger
只显示了开头部分;其余内容请在仓库中阅读