Context7
Up-to-date docs for AI agents
제작자가 쓴 설명(영어 원문)
A project's long-term memory as plain Markdown files, with an append-only, tamper-evident log.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"agentbrain-contextlib": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/willykeenan/agentbrain-contextlib:0.1.0",
"mcp",
"--identity",
"{identity}"
]
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add agentbrain-contextlib -- docker run -i --rm ghcr.io/willykeenan/agentbrain-contextlib:0.1.0 mcp --identity '{identity}'프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"agentbrain-contextlib": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/willykeenan/agentbrain-contextlib:0.1.0",
"mcp",
"--identity",
"{identity}"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"agentbrain-contextlib": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/willykeenan/agentbrain-contextlib:0.1.0",
"mcp",
"--identity",
"{identity}"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검
레지스트리 이름이 GitHub 계정 willykeenan 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.1.0)은 41일 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 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, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
A project library that outlives every agent session.
Real screenshot of the sample library (an invented project).
A ctxlib session: an owner's decision lands current, an agent's lesson waits in the inbox, a secret is refused, and doctor passes.
Each project's knowledge — decisions, requirements, facts, lessons, glossary, sources and returned work — is stored as plain Markdown files with a small front-matter block, in one folder per project. The folders can sit on an external SSD. A person can understand a project from Finder alone. Agents read and write the same files through a CLI (ctxlib) and an MCP server (context_* tools). Any database is a search index rebuilt from the files, never the source of truth.
It is the open core of the context plugin of AgentBrain.
The Python package is agentbrain_contextlib. The CLI is ctxlib. Python 3.9+, standard library only. Git is optional.
Agent sessions end. Chat logs drift. A store that only a model can parse is a dead end the first time you open Finder on an airplane.
ContextLib keeps the durable layer as files you can read, diff, copy, and take to another Mac. The search index is disposable. The Markdown is the product.
pip install "git+https://github.com/willykeenan/agentbrain-contextlib"
ctxlib init ~/ContextLib --project lighthouse-app \ --name "Lighthouse App" \ --purpose "Harbor dashboard for lamp status, fog signals, and traffic"
ctxlib add lighthouse-app decision "Use keeper logs as lamp status" \ --body "Decision: Lamp status comes from keeper logs, not AIS." \ --author mara \ --tag lamp --tag keeper-log
ctxlib brief lighthouse-app ctxlib doctor lighthouse-app --ten-minute
The library path is --library PATH, else env CONTEXTLIB_ROOT, else ~/ContextLib.
A finished sample you can open in Finder without installing anything lives at examples/sample-library/. Start at that README, then the project BRIEF, then decisions/INDEX.md.
Full walkthrough: docs/QUICKSTART.md.
ctxlib)ctxlib [--library PATH] COMMAND
| Command | What it does | |
|---|---|---|
init PATH [--project SLUG --name NAME --purpose TEXT] | Create a library (and optionally the first project) | |
project add SLUG NAME [--purpose] | Add a project folder | |
project list | List projects | |
| `add PROJECT TYPE TITLE (--body TEXT \ | --body-file F) --author ID [options]` | Write a record (--evidence, --tag, --review-by, --approved-by) |
get PROJECT ID | Print one record, with evidence state and supersession chain | |
search PROJECT QUERY [--type] [--all] | Search the rebuildable index | |
brief PROJECT | Print the always-loaded summary (≤ 8192 bytes) | |
supersede PROJECT OLD NEW --reason TEXT --author ID | Mark old superseded, move the file, keep the body hash | |
| `review PROJECT ID confirm\ | retire --note TEXT --author ID` | Confirm or retire a record |
inbox PROJECT | List proposed records | |
accept PROJECT ID --author ID | Move inbox → current | |
reject PROJECT ID --reason TEXT --author ID | Move inbox → rejected | |
due PROJECT | Records whose review_by is due | |
| `regen PROJECT\ | --all` | Rewrite BRIEF, INDEX, GLOSSARY, TIMELINE, README |
rebuild | Rebuild the SQLite search index from files | |
capture PROJECT RESULT.json | Turn a result file into a return (and proposed lessons) | |
import-md PROJECT FILE --type TYPE --author ID | Markdown file → record | |
export PROJECT OUT_DIR [--include-private] | Zip a project | |
import BUNDLE | Import a zip | |
doctor [PROJECT] [--ten-minute] | Plain-English health check | |
sync | git pull / git push when the library is a git repo; otherwise a no-op with a message | |
mcp --identity ID | Stdio MCP server; the identity is fixed for the process |
Types: decision, requirement, fact, lesson, glossary, source, return, brief-note.
context_* tools)ctxlib mcp --identity ID is a stdio JSON-RPC server. Protocol versions: 2024-11-05, 2025-03-26, 2025-06-18.
Tools: context_brief, context_search, context_get, context_record, context_supersede, context_review_due, context_review, context_capture, context_export, context_import, context_status.
The identity is fixed at start. Tools cannot write as another identity. Errors come back as isError results.
{
"mcpServers": { "contextlib": { "command": "ctxlib", "args": ["mcp", "--identity", "claude:project"], "env": { "CONTEXTLIB_ROOT": "/Volumes/SSD/ContextLib" } } } }
{
"mcpServers": { "contextlib": { "command": "ctxlib", "args": ["mcp", "--identity", "codex:project"], "env": { "CONTEXTLIB_ROOT": "/Volumes/SSD/ContextLib" } } } }
In .cursor/mcp.json (project) or ~/.cursor/mcp.json (user):
{
"mcpServers": { "contextlib": { "command": "ctxlib", "args": ["mcp", "--identity", "cursor:project"], "env": { "CONTEXTLIB_ROOT": "/Volumes/SSD/ContextLib" } } } }
Details: docs/MCP.md.
A record is UTF-8 Markdown. It starts with a YAML-like front-matter block (scalars, quoted strings, lists of scalars, lists of flat maps) and a Markdown body. The body hash is stored in the front-matter; bodies are not rewritten.
---
id: dec-20260926-7f3a type: decision title: Use plain files as the source of truth status: current project: lighthouse-app scope: {lane: workstream, team: owner} created: 2026-09-26T14:03:00Z author: mara approved_by: mara — "files first, database is only an index" evidence:
supersedes: [] superseded_by: null review_by: 2027-03-25 tags: [storage, library] sensitivity: normal body_sha256: "…"
Decision: … Why: … Consequences: … How to verify: …
Evidence refs are project: , ssd: , room: # , url: , or note: . Absolute home paths and secrets are refused at write time.
Ids: - -<4 hex> with prefixes dec, req, fact, les, glo, src, ret, note.
Files: _ _ .md. Superseded records move to superseded/ with the body hash still valid.
<library root>/
├── README.md how to read this in 10 minutes ├── INDEX.md one line per project ├── library.json {"format": "contextlib/1", "library_id", "created"} └── projects/ / ├── README.md BRIEF.md GLOSSARY.md TIMELINE.md project.json ├── decisions/ requirements/ facts/ lessons/ glossary/ sources/ returns/ │ ├── INDEX.md │ ├── _ _ .md │ └── superseded/ ├── inbox/ proposed records ├── exports/ └── .contextlib/ ledger + rebuildable index.sqlite
Keeping the library on an SSD, using it unplugged, and moving it between Macs: docs/SSD.md.
PYTHONPATH=src python3 -m unittest discover -s tests
python3 tools/check.py packaging
Python 3.9+, standard library only. See CONTRIBUTING.md and CHANGELOG.md.
Apache-2.0, copyright KE Studios. SECURITY.md for reports.
ContextLib is the open library layer of AgentBrain (agentrooms.io).
The image is published at ghcr.io/willykeenan/agentbrain-contextlib for Apple silicon and Intel. Mount your library at /library:
claude mcp add contextlib -- docker run -i --rm --user "$(id -u):$(id -g)" -v ~/ContextLib:/library ghcr.io/willykeenan/agentbrain-contextlib mcp --identity you