Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By code-ministry-ltdApache-2.0In 1 marketplace
Lets Claude Code carry memory and handoffs across sessions and harnesses through your Librarian MCP server. Needs a server URL and agent token; automatic hooks capture transcripts and block writes to native memory.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
librarian, handoff, cross-harness, session-memory, transcript-capture, recall, context-handoff, mcp
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
npx claudepluginhub code-ministry-ltd/the-librarian --plugin the-librarianThe Librarian gives Claude Code
durable, shared memory and cross-harness handoffs over plain MCP: 8 tools
(recall, remember, flag_memory, store_handoff, list_handoffs,
claim_handoff, search_references, journal) plus a ≤2KB primer that Claude Code
loads natively from the MCP server's instructions field at connect time.
The MCP config alone is fully functional. Claude Code renders the server's instructions and tool descriptions natively, and those carry every protocol (the recall/remember loop, the five-section handoff template, private mode). The plugin below adds only optional sugar: three slash commands that restate the same protocols as convenient prompts.
Flagging a wrong or outdated memory with flag_memory asks the curator to
review it: it may correct the memory in place, propose a correction for you to
approve, or leave the flag for you. The response reports queue status, not
completion.
This integration replaces the standalone
the-librarian-claude-plugin
repo (archived). Its old per-turn conv-state injection was retired with the
server's conv_state surface. The plugin now ships a new, fail-soft set of hooks
for automatic capture and awareness (see
Automatic capture & awareness below).
One command wires Claude Code in — the plugin, the MCP config, and the auto-capture hooks — and keeps it current:
npx @the-librarian/cli install # choose Claude Code; paste your MCP URL + token
npx @the-librarian/cli update # later: pull the latest plugin + hooks
install drives Claude's native plugin install, so you get everything in
Option B without the manual
steps; it prompts for the MCP URL and agent token printed by
librarian server up. Run it with npx, or npm i -g @the-librarian/cli once
and call librarian install / librarian update directly. Prefer to wire it by
hand? The two manual options below do the same thing.
Add the server to any scope you like. Project scope (.mcp.json in your
project root):
{
"mcpServers": {
"librarian": {
"type": "http",
"url": "${LIBRARIAN_MCP_URL}",
"headers": {
"Authorization": "Bearer ${LIBRARIAN_AGENT_TOKEN}"
}
}
}
}
Or user scope, one command (note this writes the literal expanded values into your user config):
claude mcp add --scope user --transport http librarian "$LIBRARIAN_MCP_URL" \
--header "Authorization: Bearer $LIBRARIAN_AGENT_TOKEN"
Set the env vars in your shell profile and restart Claude Code:
export LIBRARIAN_MCP_URL="https://librarian.example.com/mcp"
export LIBRARIAN_AGENT_TOKEN="<your-token>"
That's everything. The primer arrives via MCP instructions at session
start; the 8 tools appear under the librarian server.
In Claude Code:
/plugin marketplace add code-ministry-ltd/the-librarian
/plugin install the-librarian@the-librarian
Set the same two environment variables (above) and restart Claude Code.
The plugin ships the .mcp.json from Option A plus three commands:
| Command | What it does |
|---|---|
/handoff | Author a five-section narrative and persist it via store_handoff for cross-harness pickup |
/takeover | List candidate handoffs (list_handoffs), atomically claim one (claim_handoff), inject the document |
/toggle-private | Flip the [librarian:private=on|off] marker — pure in-conversation, no server state; the server cannot verify it, and a curator review queued from a public flag may still correct that memory after switching private |
All four are thin prompt templates over the primer protocols — saying "hand this off" or "go private" in plain language works identically.
Claude Code (CLI) and Claude Cowork (the desktop app) share the same plugin system, so Cowork installs the same plugin — no separate adapter. The only differences are the install surface and how the desktop app reads environment variables:
claude CLI to drive, so librarian install stays CLI-only; Cowork is a
point-and-click install.)LIBRARIAN_MCP_URL / LIBRARIAN_AGENT_TOKEN from your
shell profile — it only reads PATH. Use the app's local environment editor
(the environment dropdown next to the prompt box → Local → gear icon) to
add both. The token is only ever sent in the request header.7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground