Context7
Up-to-date docs for AI agents
Descripción del creador (original en inglés)
A project's long-term memory as plain Markdown files, with an append-only, tamper-evident log.
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
Elige la app de IA que usas y copia la configuración.
Necesitas
¿Qué app usas?
Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.
Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json
{
"mcpServers": {
"agentbrain-contextlib": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/willykeenan/agentbrain-contextlib:0.1.0",
"mcp",
"--identity",
"{identity}"
]
}
}
}Ejecuta esto en tu terminal
claude mcp add agentbrain-contextlib -- docker run -i --rm ghcr.io/willykeenan/agentbrain-contextlib:0.1.0 mcp --identity '{identity}'Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"agentbrain-contextlib": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/willykeenan/agentbrain-contextlib:0.1.0",
"mcp",
"--identity",
"{identity}"
]
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"agentbrain-contextlib": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/willykeenan/agentbrain-contextlib:0.1.0",
"mcp",
"--identity",
"{identity}"
]
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.
Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.
Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.
Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 6 nov 2026
El nombre en el registro se verificó con la cuenta de GitHub willykeenan, dueña del repo
Todavía no hemos leído este repo en GitHub
Todavía no hemos leído este repo en GitHub
Este se ejecuta en tu computadora; no hay endpoint en internet
Se ejecuta en tu computadora y usa ajustes locales en su lugar
Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet
Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.
Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.
El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.
Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).
El repo de GitHub cambió por última vez –, y la última versión (0.1.0) llegó al registro hace 41 días.
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Docker en tu computadora.
En la misma categoría: Context7, Codebase Memory, Exa
Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.
Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi
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.
Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.
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