Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Git-native project memory for AI assistants with enterprise-grade audit compliance
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
PROJECT_ROOT, ANTHROPIC_API_KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"memdocs": {
"command": "uvx",
"args": [
"memdocs"
],
"env": {
"PROJECT_ROOT": "your-value",
"ANTHROPIC_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add memdocs --env PROJECT_ROOT=your-value --env ANTHROPIC_API_KEY=your-value -- uvx memdocs运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"memdocs": {
"command": "uvx",
"args": [
"memdocs"
],
"env": {
"PROJECT_ROOT": "your-value",
"ANTHROPIC_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"memdocs": {
"type": "stdio",
"command": "uvx",
"args": [
"memdocs"
],
"env": {
"PROJECT_ROOT": "your-value",
"ANTHROPIC_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
PROJECT_ROOT env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
发布者(silversurfer562)不是仓库所有者(Smart-AI-Memory);可能是其他人代为上架的
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 0 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:ANTHROPIC_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(2.1.4)于11个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有: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、图片和脚本已被移除。链接会离开本站。
Persistent Memory for AI Projects
Features • Quick Start • Complete Stack • Empathy Integration • Documentation • Examples • Contributing
🚀 The Complete Stack for 10x+ Productivity
`
VS Code + Claude Code (latest) + MemDocs + Empathy = 10x+ Productivity
`
Documented user experience: Transformational productivity through Level 4-5 AI collaboration
📖 Learn More:
- [Quick Start: Blog Post](docs/EMPATHY_MEMDOCS_BLOG_POST.md) - Engaging narrative explaining the five levels
- [Executive Summary](docs/EMPATHY_MEMDOCS_EXECUTIVE_SUMMARY.md) - 1-page overview for teams & investors
- [Technical Deep-Dive](docs/EMPATHY_MEMDOCS_SYNERGY.md) - 21-page analysis with code examples
MemDocs is a git-native memory management system that gives AI assistants persistent, project-specific memory. It generates structured, machine-readable documentation that lives in your repository—no cloud services, no recurring costs, just local/git-based storage that enhances AI context and team collaboration.
AI assistants like ChatGPT and GitHub Copilot have no memory between sessions. Every conversation starts from scratch, forcing you to repeatedly explain your codebase, architecture decisions, and project context.
Result: AI stuck at Level 1-2 (Reactive) - can only respond after being asked, can't predict future needs, can't learn from patterns.
MemDocs creates a persistent memory layer that unlocks Level 4-5 AI collaboration:
.memdocs/ directory)Enterprise ROI: 6,000% return on investment (documented across 10-1,000 developer teams)
# From PyPI (recommended)
pip install memdocs
pip install memdocs[embeddings] # Local vector search pip install memdocs[all] # All features
git clone https://github.com/Smart-AI-Memory/memdocs.git cd memdocs pip install -e ".[dev,embeddings]"
# 1. Set your Claude API key
export ANTHROPIC_API_KEY="your-key-here"
cd your-project memdocs init
memdocs setup-hooks --post-commit
memdocs review --changed
memdocs query "payment processing"
memdocs stats
# For repos with 1,000+ files: use git integration
memdocs init memdocs setup-hooks --post-commit # Auto-review on every commit
git add file.py git commit -m "refactor: improve performance"
memdocs review --changed # Modified files only memdocs review --since main # Your branch changes memdocs review --since HEAD~10 # Last 10 commits
# Document a specific file
memdocs review --path src/main.py
.memdocs/ directoryMemDocs scales to codebases of any size through intelligent git integration:
memdocs review --changed reviews modified files onlymemdocs review --since main reviews your branch changesPerfect for large repos (1,000+ files):
# One-time setup
memdocs init memdocs setup-hooks --post-commit
git commit -m "fix: bug in auth" # Reviews 5 files, takes 15s, costs $0.03
Cost comparison:
| Repo Size | Full Review | Changed Files | Savings |
|---|---|---|---|
| 10,000 files | $60 + 2-4 hours | $0.03 + 15 seconds | 2000x |
| 5,000 files | $30 + 1-2 hours | $0.02 + 10 seconds | 1500x |
| 1,000 files | $6 + 15 minutes | $0.01 + 5 seconds | 600x |
Quick setup for Claude Desktop:
# Start MCP server
memdocs serve --mcp
When you combine the right tools, productivity isn't linear—it's exponential.
VS Code + Claude Code (latest) + MemDocs + Empathy = 10x+ Productivity
The four components work synergistically:
| Component | Role | What It Enables |
|---|---|---|
| VS Code | Professional IDE | Tested environment, task automation, MCP auto-start |
| Claude Code (VS Code extension) | AI pair programming | Multi-file editing, command execution, real-time assistance |
| MemDocs | Persistent memory layer | Pattern detection, trajectory tracking, cross-session learning |
| Empathy Framework | 5-level maturity model | Level 4-5 anticipatory suggestions, structural design |
Real-world results:
Quick setup (5 minutes):
# Install VS Code: https://code.visualstudio.com
pip install empathy-framework[full]>=1.6.0 # Empathy 1.6.0+ includes MemDocs cd your-project/ memdocs init # Auto-configures MCP for Claude Code empathy-os configure code . # Open in VS Code - MCP server auto-starts!
Result: Claude Code in VS Code operates at Level 4-5 (anticipatory) instead of Level 1-2 (reactive)
MemDocs unlocks Level 4 Anticipatory Empathy when integrated with the Empathy Framework.
The Five Levels of AI Collaboration:
| Level | Name | Behavior | Memory Required | Example |
|---|---|---|---|---|
| 1 | Reactive | Help after being asked | None | ChatGPT: "You asked, here it is" |
| 2 | Guided | Collaborative exploration | Session only | "Let me ask clarifying questions" |
| 3 | Proactive | Act before being asked | MemDocs patterns | "I pre-fetched what you usually need" |
| 4 | Anticipatory | Predict future needs (30-90 days) | MemDocs trajectory | "Next week's audit—docs ready" |
| 5 | Systems | Design structural solutions | MemDocs cross-project | "I built a framework for all cases" |
Why MemDocs is Essential:
Without persistent memory, AI is stuck at Level 1-2 forever.
📚 Deep Dive Resources:
Integration features:
Create .memdocs.yml in your project root:
version: 1
policies: default_scope: file # file | module | repo max_files_without_force: 150
escalate_on:
outputs: docs_dir: .memdocs/docs # Committed to git memory_dir: .memdocs/memory # Committed to gi
只显示了开头部分;其余内容请在仓库中阅读