Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Shared, living memory for you and your people — coves your AI assistant can read and write.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://reefwith.me/mcp在终端中运行这条命令
claude mcp add --transport http reef https://reefwith.me/mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"reef": {
"url": "https://reefwith.me/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"reef": {
"type": "http",
"url": "https://reefwith.me/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://reefwith.me/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
发布者(reefwith.me)不是仓库所有者(diepzee);可能是其他人代为上架的
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 0 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(1.0.1)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有: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、图片和脚本已被移除。链接会离开本站。
Shared, living memory for you and the people you share your life with — and for the AI assistants you both already use.
Your assistant forgets you between conversations. reef gives it a memory that lasts — and one your partner, your household, or your project can share.
You need an invitation — reef is invite-only. Once you have one:
uv tool install reef-cli # or: npm install -g @haai/reef-cli
reef login reef load-index
To use it from an assistant instead, add https://reefwith.me/mcp as a remote MCP connector and sign in with the address you were invited on.
In Claude Code, the plugin carries that connector and three commands with it:
claude plugin marketplace add diepzee/reef
claude plugin install reef@haai
/reef:recall answers from memory rather than from guesswork, /reef:remember files something away, and /reef:whats-new reports what the other people's assistants have been writing.
There is a browser app too, at reefwith.me/app. Use it to read and edit pages without an assistant.
Memory lives in coves. You get one private cove the first time you sign in. You can create any number of shared ones — a household, a school circle, an accountant, a small project.
| Private cove | Shared cove | |
|---|---|---|
| Who can read it | Only you | Everyone invited |
| Created | At first sign-in | By whoever needs it |
| Named | Always personal | By you, for you |
| People join | Never | By email invitation from the owner |
You name shared coves for yourself. Your name for a cove is yours alone. Two households can each have a family without either knowing the other exists, and nobody can take a name from anybody else.
Sharing is deliberate and permanent. Moving something out of your private cove takes two steps. First your assistant shows you the exact text and names everyone who will be able to read it. Only then does it move.
Writing private content into a shared cove any other way is refused — not discouraged, refused. And there is no un-sharing.
reef loads an index first, then pages — the LLM Wiki pattern, adapted for shared, permissioned memory.
load_index and gets a map of every page it may see: path, title, tags, and a one-line description. No page bodies.read_pages.search_pages matches words inside page bodies — and because it runs under the same row-level security as every read, a search can never surface a page its caller could not open.The index is rebuilt from the database on every call, so it cannot fall out of date.
Nothing is recorded silently. Mid-conversation, a fact worth keeping goes through remember, which stages it as a dated line in that cove's inbox — and before the conversation ends, the assistant says what it is keeping so you can strike anything first.
An inbox entry is not memory yet. A tidy-up — ask for one any time — compiles inboxes onto real pages, flags pages that have gone stale, and surfaces contradictions between your pages and shared ones instead of silently picking a winner. Deliberate capture, reviewed by you, is the design: reef will not transcribe your conversations behind your back.
The database enforces it, not the application code.
Every page, file, and membership is guarded by PostgreSQL Row-Level Security. A query with a forgotten filter returns nothing rather than somebody else's data. Getting it wrong fails closed.
This works only because the app connects as an ordinary database role. A superuser ignores every policy, so reef runs as rif_app — which can read and write rows but cannot change the schema. Migrations and backups use a separate, more privileged credential. See scripts/provision_app_role.py.
Pages are Markdown from the moment you write them. The web app exports:
Both are plain files that outlive this deployment. Export is one-way, out of reef — nothing here locks your memory in.
Two packages, both installing a reef command:
| Install | What you get | |
|---|---|---|
| Python | uv tool install reef-cli | Every MCP tool as a named command |
| npm | npm install -g @haai/reef-cli | login, tools, and call |
Named commands use hyphens: load_index becomes load-index. Every result is JSON, and an error such as not_found also exits non-zero.
reef read-pages personal profile.md preferences.md
reef write-page personal plans.md --body-file ./plans.md \ --message "Add the summer plan" --title Plans reef add-file personal ./lease.pdf --description "Signed rental agreement" reef call read_pages '{"cove":"personal","paths":["plans.md"]}'
reef call takes any MCP tool name and a JSON object, so it reaches everything the named commands do. Large inputs can come from a file or stdin; uploads are encoded for you.
Both packages sign in through the same browser flow. Each caches its own token, so logging in with one does not log in the other. Tokens live in a user-private config file.
Set REEF_MCP_URL to point at another server, or REEF_ACCESS_TOKEN for a headless run.
Run reef tools for the live schemas, and reef --help for arguments.
Agent skill: skills/reef/SKILL.md teaches an assistant the retrieval protocol, private-by-default writing, optimistic locking, and when it must ask you before acting.
Live since 6 August 2026 at reefwith.me, deployed on Railway behind WorkOS AuthKit, and in daily use.
Complete and reviewed: the schema and access control, index and page reads, versioned writes, and section-level sharing. Also multi-user coves with owner-managed invitations, file storage, the browser app, import, backup, and export.
Tests run against a real PostgreSQL, not a mock.
Known gaps, honestly:
An independent scheduled job now writes a daily pg_dump to R2. Every run observed from 24 August through 10 September 2026 uploaded successfully and passed the script's byte-count check. Separately, a 7 August production dump passed a restore drill. Railway-managed backup status and R2 retention controls remain unverified.
Everything outstanding is tracked in the "Open items" list at the top of docs/runbook.md.
You need Docker and uv. just is optional but does the setup for you.
just setup # dependencies, database, and the roles the tests need
just test # lint, Python suite, frontend suite just dev # serve the app locally
just on its own lists every task. Without it:
docker compose up -d # PostgreSQL on port 5433
uv sync && (cd frontend && bun install) uv run pytest # builds its own schema in rif_test
A cluster created before the test roles existed is missing them, and the suite says so loudly rather than testing a weaker shape. just db-roles repairs it.
Two things about the local database are deliberate, not accidental:
docker-compose.yml.Migrations seed one person and their coves. Nobody else is seeded, on purpose. An email address is the key a first sign-in binds against, and a migration does not re-run to correct a wrong guess. Everyone else arrives by invitation.
Write your PR title as a Conventional Commit (PRs are squash-merged, so the title is what decides the release version), and add a one-sentence fragment under changes/ if a person using reef would notice the change — see docs/releasing.md.
| Document | What it covers |
|---|---|
docs/spec.md | The design and why it is shaped this way |
docs/runbook.md | Deploying, and what is still open |
docs/restore.md | Backup and restore |
docs/competitor-research.md | The market around it |
The server — everything at the repository root — is AGPL-3.0-or-later. Read it, run it for yourself, fork it. The one condition that bites is the network one: if you run a modified reef as a service other people use, you owe them your changes. That matches what reef asks of itself. If somebody else is holding your memory, you should be able to see the code that holds it.
The parts you install rather than host are MIT, because a licence should not be a reason to hesitate over a client:
| Part | Licence |
|---|---|
The server (src/, this repository) | AGPL-3.0-or-later |
clients/python — reef-cli on PyPI | MIT |
clients/ts — @haai/reef-cli on npm | MIT |
plugins/reef — the Claude Code plugin | MIT |
Copyright is held by Haai BV.
The product is reef, and so is the Python module. rif was the working name, and it survived far longer than intended.
What is still called rif is everything a running system remembers, because those are not names anybody reads — they are keys something already wrote down:
Still rif | What it is | Why it stays |
|---|---|---|
app_name="rif" | Piccolo's key in the migration table | Renaming it makes Piccolo find zero applied migrations and replay the whole chain against a populated database |
rif_roster, rif_admit_member, … | SQL helper functions | They are the row-level-security boundary; renaming them is live DDL on the part of the system that must not be got wrong |
rif, rif_authz, rif_probe | database roles | RLS is only enforced against the right roles, and the suite asserts privileges as rif_probe |
| RIF_* | environment variables | Twelve are set on Railway, including the signing key and the open door;
只显示了开头部分;其余内容请在仓库中阅读