Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

ContextLib

by willykeenanversion 0.1.0i★ 1iRuns on your computer
Registry nameio.github.willykeenan/agentbrain-contextlib

How to install

What it does

A project's long-term memory as plain Markdown files, with an append-only, tamper-evident log.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Docs, sheets & office work

Install

Pick the AI app you use, then copy the settings.

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 13, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Docker on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server ContextLib for Claude on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "agentbrain-contextlib": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/willykeenan/agentbrain-contextlib:0.1.0", "mcp", "--identity", "{identity}" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the ContextLib tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Docker (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    docker --version
    • A version number such as Docker version … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed

    Open the Docker download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version

    Install once; it works for everything that needs Docker

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "agentbrain-contextlib": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/willykeenan/agentbrain-contextlib:0.1.0",
            "mcp",
            "--identity",
            "{identity}"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use ContextLib and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using ContextLib or shows a ContextLib tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect ContextLib yet

ContextLib runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect ContextLib

  • Install Docker on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Docker on your computer first (one time)
  • Install Docker on your computer first (one time)
  • Install Docker on your computer first (one time)

B · Others in Docs, sheets & office work that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Docker on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server ContextLib for Claude Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user agentbrain-contextlib -- docker run -i --rm ghcr.io/willykeenan/agentbrain-contextlib:0.1.0 mcp --identity '{identity}' 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the ContextLib tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Docker (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    docker --version
    • A version number such as Docker version … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed

    Open the Docker download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version

    Install once; it works for everything that needs Docker

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user agentbrain-contextlib -- docker run -i --rm ghcr.io/willykeenan/agentbrain-contextlib:0.1.0 mcp --identity '{identity}'
  4. Type /mcp in Claude Code

    You should see ContextLib listed as connected

  5. Try it

    Use ContextLib and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using ContextLib or shows a ContextLib tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Docker on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server ContextLib for Cursor on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "agentbrain-contextlib": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/willykeenan/agentbrain-contextlib:0.1.0", "mcp", "--identity", "{identity}" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the ContextLib tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Docker (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    docker --version
    • A version number such as Docker version … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed

    Open the Docker download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version

    Install once; it works for everything that needs Docker

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use ContextLib and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using ContextLib or shows a ContextLib tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Docker on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server ContextLib for VS Code on this computer, in this order: 1) Check Docker with docker --version. If it is missing, tell me to install it from https://www.docker.com/products/docker-desktop/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "agentbrain-contextlib": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/willykeenan/agentbrain-contextlib:0.1.0", "mcp", "--identity", "{identity}" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the ContextLib tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Docker (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    docker --version
    • A version number such as Docker version … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Install Docker Desktop: on Mac open Docker.dmg and drag the icon to Applications (pick Apple silicon or Intel to match your Mac) · on Windows double-click Docker Desktop Installer.exe · then open the Docker Desktop app and leave it running. No curl command needed

    Open the Docker download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: docker --version

    Install once; it works for everything that needs Docker

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use ContextLib and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using ContextLib or shows a ContextLib tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use ContextLib💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user agentbrain-contextlib -- docker run -i --rm ghcr.io/willykeenan/agentbrain-contextlib:0.1.0 mcp --identity '{identity}'

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "agentbrain-contextlib": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/willykeenan/agentbrain-contextlib:0.1.0",
        "mcp",
        "--identity",
        "{identity}"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "agentbrain-contextlib": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/willykeenan/agentbrain-contextlib:0.1.0",
        "mcp",
        "--identity",
        "{identity}"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "agentbrain-contextlib": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/willykeenan/agentbrain-contextlib:0.1.0",
        "mcp",
        "--identity",
        "{identity}"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
Not on npm/PyPI
Licencei
Apache-2.0
Connection
Runs on your computer
Latest versioni
0.1.0
Published to registryi
Sep 27, 2026
Code last changedi
Sep 27, 2026
Maker
willykeenan
Packages
oci: ghcr.io/willykeenan/agentbrain-contextlib:0.1.0
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 15, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account willykeenan, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 2 months ago

  • ✓ Pass

    Has a licence

    Uses Apache-2.0

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked: only npm and PyPI packages with a version can be checked

What we check → · JSON

Makers: ask for a re-check or report wrong info

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in with Google to post

User reviews

No reviews yet

Sign in with Google to write a review

Compared with others in Docs, sheets & office worki

  • More stars than 81% of the other 3932 servers in this category
  • Published to the registry more recently than 38% of the other 3932 servers in this category
  • Basic checks equal to or better than 100% of the other 3932 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is ContextLib safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 2 months ago, and the latest version (0.1.0) reached the registry 2 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Docker on your computer.

What can I use instead?

In the same category: Puter MCP, XcodeBuildMCP, Anki MCP Server, Sosumi, Zapier

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Puter MCP

Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more

by HeyPuterWidely used★ 44.2KUpdated 5 months ago

Runs in the cloud✓ service owner · puter.com

XcodeBuildMCP

XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.

by getsentryWidely used↓ 130.5K/wk shared package★ 6.6KUpdated 4 months ago

Runs on your computer✓ service owner · xcodebuildmcp.com

Anki MCP Server

MCP server for Anki flashcards: adaptive review, notes, media, and deck management via AnkiConnect.

by ankimcpGrowing↓ 1.1K/wk★ 558Updated 41 days ago

Runs on your computer✓ service owner · ankimcp.ai

Sosumi

Search and read Apple developer documentation, HIG, and WWDC transcripts as Markdown.

by NSHipsterGrowing★ 492Updated 6 days ago

Runs in the cloud✓ service owner · sosumi.ai

Zapier

Connects AI to thousands of apps through one Zapier server, such as Gmail, Google Sheets and Slack. You choose which actions the AI may use.

by zapierGrowing★ 459Updated 4 months ago

Runs in the cloud✓ service owner · zapier.com
  • Puter MCP — Runs in the cloud, nothing to install · No key needed
  • XcodeBuildMCP — Installs on your computer · No key needed
  • Anki MCP Server — Installs on your computer · No key needed
  • Sosumi — Runs in the cloud, nothing to install · No key needed
  • Zapier — Runs in the cloud, nothing to install · No key needed · In Claude’s directory

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

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-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.

CLI (ctxlib)

ctxlib [--library PATH] COMMAND
CommandWhat 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 listList projects
`add PROJECT TYPE TITLE (--body TEXT \--body-file F) --author ID [options]`Write a record (--evidence, --tag, --review-by, --approved-by)
get PROJECT IDPrint one record, with evidence state and supersession chain
search PROJECT QUERY [--type] [--all]Search the rebuildable index
brief PROJECTPrint the always-loaded summary (≤ 8192 bytes)
supersede PROJECT OLD NEW --reason TEXT --author IDMark old superseded, move the file, keep the body hash
`review PROJECT ID confirm\retire --note TEXT --author ID`Confirm or retire a record
inbox PROJECTList proposed records
accept PROJECT ID --author IDMove inbox → current
reject PROJECT ID --reason TEXT --author IDMove inbox → rejected
due PROJECTRecords whose review_by is due
`regen PROJECT\--all`Rewrite BRIEF, INDEX, GLOSSARY, TIMELINE, README
rebuildRebuild the SQLite search index from files
capture PROJECT RESULT.jsonTurn a result file into a return (and proposed lessons)
import-md PROJECT FILE --type TYPE --author IDMarkdown file → record
export PROJECT OUT_DIR [--include-private]Zip a project
import BUNDLEImport a zip
doctor [PROJECT] [--ten-minute]Plain-English health check
syncgit pull / git push when the library is a git repo; otherwise a no-op with a message
mcp --identity IDStdio MCP server; the identity is fixed for the process

Types: decision, requirement, fact, lesson, glossary, source, return, brief-note.

MCP (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.

Claude Code
{

"mcpServers": { "contextlib": { "command": "ctxlib", "args": ["mcp", "--identity", "claude:project"], "env": { "CONTEXTLIB_ROOT": "/Volumes/SSD/ContextLib" } } } }

Codex
{

"mcpServers": { "contextlib": { "command": "ctxlib", "args": ["mcp", "--identity", "codex:project"], "env": { "CONTEXTLIB_ROOT": "/Volumes/SSD/ContextLib" } } } }

Cursor

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.

Record format

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:

  • {ref: "project:BRIEF.md"}
  • {ref: "url:https://example.com/x"}

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 layout

<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.

Develop

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).

Run with Docker

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