ContextLib MCP server
A project's long-term memory as plain Markdown files, with an append-only, tamper-evident log.
1 stars
Reviews
Write oneNobody has reviewed ContextLib yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
ContextLib tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- –Code scanpackage could not be scannedn/a
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How ContextLib compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 48,255 servers
- GitHub stars
- 1
- more than 65% of 28,688 servers
Install ContextLib in Claude Code, Cursor or VS Code
claude mcp add agentbrain-contextlib -- docker run -i --rm ghcr.io/willykeenan/agentbrain-contextlib:0.1.0
What the publisher says
From the ContextLib repository's README, as published. We do not edit it. Read it on GitHub
ContextLib
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.
Why
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.
60-second quickstart
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-minuteThe 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.
CLI (ctxlib)
ctxlib [--library PATH] COMMANDShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
ContextLib: common questions
- Is ContextLib MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the ContextLib safety report
- How do I install ContextLib?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does ContextLib need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is ContextLib maintained?
- The last commit was 38 days ago (2026-09-26). The latest release is v0.1.0.
- What can I use instead of ContextLib?
- Servers from other publishers that do the same job: Nautilus Compass Memory MCP server, Tradememory Protocol MCP server and Memorix MCP server.
- How does ContextLib compare with other MCP servers?
- safety score 88/100 (higher than 75% of 48,255 servers); github stars 1 (more than 65% of 28,688 servers). Full comparison.
Alternatives to ContextLib
Same job from other publishers: the closest match first, then the best rated.
- Nautilus Compass MemoryLocal-first long-term memory for AI agents, with byte-recomputable signed verification receipts.not reviewedEstablishedB
- Tradememory ProtocolTamper-evident decision audit trail and outcome-weighted memory for AI trading agents.not reviewedEstablishedB
MemorixLocal-first project memory with legacy MCP and 2026 discovery compatibility.not reviewedEstablishedB