Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Self-hosted shared memory and docs for Claude Code, Codex and Antigravity agents, with a graph UI
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
KNOWLEDGE_UI_PASSWORD, KNOWLEDGE_ALLOWED_HOSTS标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"knowledge": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KNOWLEDGE_UI_PASSWORD",
"-e",
"KNOWLEDGE_ALLOWED_HOSTS",
"ghcr.io/to0wnn/knowledge:0.37.3"
],
"env": {
"KNOWLEDGE_UI_PASSWORD": "your-value",
"KNOWLEDGE_ALLOWED_HOSTS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add knowledge --env KNOWLEDGE_UI_PASSWORD=your-value --env KNOWLEDGE_ALLOWED_HOSTS=your-value -- docker run -i --rm -e KNOWLEDGE_UI_PASSWORD -e KNOWLEDGE_ALLOWED_HOSTS ghcr.io/to0wnn/knowledge:0.37.3运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"knowledge": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KNOWLEDGE_UI_PASSWORD",
"-e",
"KNOWLEDGE_ALLOWED_HOSTS",
"ghcr.io/to0wnn/knowledge:0.37.3"
],
"env": {
"KNOWLEDGE_UI_PASSWORD": "your-value",
"KNOWLEDGE_ALLOWED_HOSTS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"knowledge": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"KNOWLEDGE_UI_PASSWORD",
"-e",
"KNOWLEDGE_ALLOWED_HOSTS",
"ghcr.io/to0wnn/knowledge:0.37.3"
],
"env": {
"KNOWLEDGE_UI_PASSWORD": "your-value",
"KNOWLEDGE_ALLOWED_HOSTS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
KNOWLEDGE_ALLOWED_HOSTS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 To0wnn 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:KNOWLEDGE_UI_PASSWORD
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.37.3)于今天进入注册中心。
支持 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、图片和脚本已被移除。链接会离开本站。
Your coding agents share one memory and hand work to each other across your own PCs — and you steer them from your phone. Self-hosted, plain Markdown.
Works with Claude Code, Codex and Antigravity (agy, Gemini) on Linux, macOS and Windows. Made for solo developers and homelabbers with two or more PCs and two or more agents who want their notes to stay on their own server.
Made-up demo notes from demo/ .
You can use it in two layers. Memory is the server plus one agent: five minutes, nothing else on your PCs. Cockpit adds the companion on each PC, so tasks run as workers and you can chat and approve from your phone.
You need Docker and about 2 GB RAM on the server, and git plus Python 3.9 or newer on each PC.
1. Run the server.
git clone https://github.com/To0wnn/knowledge && cd knowledge
mkdir data && echo "KNOWLEDGE_UI_PASSWORD= " > .env docker compose up -d
2. Get the first token. The first start makes one admin token and prints it once, with the next steps:
docker compose logs knowledge
Tokens for more devices: open http://localhost:8766/ui, sign in with the password and use the admin page (Admin); it shows the install line with your server address filled in.
3. Connect an agent on the same PC:
curl -fsSL https://raw.githubusercontent.com/To0wnn/knowledge/main/install.sh | sh # Linux, macOS
irm https://raw.githubusercontent.com/To0wnn/knowledge/main/install.ps1 | iex # Windows
It finds Claude Code, Codex and agy, asks y/n for each, and asks for the server address (http://localhost:8766) and the token. Run the same line again later to update. Only the plugin, without the companion (a work laptop, an SSH server): add -s -- --plugin-only after sh (docs/clients.md).
4. Try it. Tell Claude Code: *"save to knowledge: we deploy with ./deploy.sh"* (the installer turns Claude's own local auto-memory off, so it writes a memo on the server). Then start Codex (or agy), on this pc or another, and ask *"how do we deploy?"*. It answers from the shared memory.
More than one PC? Put the server behind HTTPS (a reverse proxy) and add its host:port to KNOWLEDGE_ALLOWED_HOSTS in .env; then run the install line on every PC with a token per device. Over plain HTTP the password and tokens cross the network readable. All settings: docs/server.md.
The install line also sets up the companion, a small local service on each PC (127.0.0.1:47321, starts at logon). With it:
To use it from your phone, the server must be reachable from the phone over HTTPS. Link a project folder once by asking your agent to run the skill knowledge-init.
Each of these is good at its own part; knowledge is the one that combines shared memory, hand-overs and a phone cockpit across several agents and PCs.
| Tool | What it does well | Where knowledge differs |
|---|---|---|
| claude-mem | Automatic session memory for Claude Code, local | One server for Claude Code, Codex and agy on all your PCs; plain Markdown you edit |
| basic-memory | Local Markdown knowledge base over MCP | Adds shared multi-PC serving, house-rule lint, duplicate checks and agent hand-overs |
| Happy, Omnara, Claude Code Remote Control | Steer a running agent session from your phone | Also memory and tasks between agents; self-hosted, no third-party relay |
| Conductor, Superset | Run parallel agents in worktrees on one Mac or desktop | Workers on any of your PCs (Linux, macOS, Windows), started from a shared task list |
| Vibe Kanban | Kanban board that runs coding agents in worktrees | Tasks are lines in your notes, agents hand them to each other, steered from the phone |
.env) and desktop notifications in an open browser tab; no phone push without one of those (docs/server.md).Known gaps: docs/ROADMAP.md.
server/): Python in one Docker container, MCP over streamable HTTP plus the web UI. All notes sit in memory; search and embeddings (EmbeddingGemma, ONNX) run locally, nothing leaves the machine.data/, with a MEMORY.md index per project, a few house rules and a lint that keeps agent memory findable and free of duplicates.plugin/): one folder that installs in Claude Code, Codex and agy: the MCP server, session-start context, hand-over checks each turn, and development skills. Tokens live in the OS keyring.- open until [ , ] from , start ...: ); the server decides when it may start and gives it to one machine only.clients/, plugin/companion): pulls tasks, actions and chat messages from the server; the server never connects to your PCs.| Page | Contents |
|---|---|
| server.md | Running the server, .env settings, proxy sign-in, notifications |
| clients.md | The installer, updates, linking folders, Windows, skills, usage limits, secret guard |
| memory.md | MCP tools, session start, projects, lint, duplicates, secrets, search quality |
| tasks.md | Task lines, leases and nonces, results, workers, usage limit, mission map |
| companion.md | The companion, machines, own devices, remote control, YOLO safety |
| chats.md | Agents (what needs you, what runs, chats) and approvals |
| voice.md | Speaking chat messages: set up speech to text |
| web-ui.md | Views, routes, graph, installing as an app (PWA, cookies) |
| security.md | The security model in one page |
| development.md | Tests, CI, plugin versions, screenshots |
| ROADMAP.md | Known gaps |
MIT, see LICENSE.
The server image includes the EmbeddingGemma model weights. Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms; its use is also subject to the Gemma Prohibited Use Policy. The weights are not modified.