
Cairn
io.github.cybort360Published by GitHub account cybort360v0.1.2Updated Oct 24, 2026
Log Claude Code work sessions, file edits, and tasks to your Cairn account.
The publisher's own server: Cairn.ink Memory
Overview
Logs Claude Code work sessions, file edits and tasks to a Cairn account, giving the assistant tools to record activity and project notes.
- What you can do
- Record work activity: log coding sessions, file edits and tasks into the user's Cairn account.
- Track tasks and notes: capture tasks moving from pending to done and project notes.
- Review history: the Cairn web app keeps everything in one place with daily and weekly rollups.
- The server exposes a set of cairn tools to the assistant; companion Claude Code hooks log sessions and file edits automatically.
- When to use it
- Useful if you want an automatic trail of what Claude Code did on your projects, or want the assistant to file tasks, notes and session summaries into a personal work tracker that produces daily and weekly rollups.
- Requirements
- Runs locally over stdio, installed from PyPI with uvx (uv must be on PATH). Needs a Cairn account and an API token supplied as CAIRN_TOKEN or saved to ~/.cairn_token, plus network access to the Cairn API; CAIRN_API_URL overrides the default production endpoint.
Installation
In SourceWeft
- Open Cairn in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Cairn
[PyPI] [MCP Registry] [License: MIT]
A work tracker that remembers what you did. It captures your coding sessions, the files you touch, tasks moving from pending to done, and project notes, then keeps them in one place with daily and weekly rollups. The name is the pile of stones that marks a trail.
Cairn runs as a multi-tenant web app on Vercel with a Neon Postgres database. Each account signs up, logs in, and only ever sees its own data.
How it's built
The whole server is the Python standard library plus one dependency (psycopg). No framework.
api/index.py— the Vercel serverless entrypoint. Vercel's Python runtime treats it as a catch-all, so every request lands here.lib/handler.py— routing. The sameBaseHTTPRequestHandlerruns three ways: the Vercel function, the local dev server, and the tests.lib/data.py— every SQL statement, each one scoped byuser_id.lib/db.py— Neon connection (pooled endpoint) plus small query helpers.lib/auth.py— PBKDF2 password hashing, sessions, and token resolution.lib/limits.py— signup/login rate limiting and per-account quota caps, both backed by Postgres.lib/assets.py— the single-page app and favicon, embedded as base64 so they ship inside the function bundle. Generated bybuild_assets.py; re-run it after editingstatic/.
Local development
You need a Postgres to point at. A throwaway one in Docker works:
Tests run against that same database:
Deployment
Pushing to main deploys to production through the Vercel GitHub integration. DATABASE_URL and the other Neon variables come from the Vercel ↔ Neon integration; the app reads the pooled connection string. Schema changes go on with initdb.py against the direct (unpooled) URL.
The agent side
The agent/ folder is the MCP server and two Claude Code hooks that run on your machine. They talk to this API over HTTPS using your account's token, so anything Claude Code does flows into your Cairn account. The server gives Claude a set of cairn tools; the hooks log sessions and file edits on their own.
On Claude Code the quickest install is the plugin — this repo doubles as a plugin marketplace (.claude-plugin/marketplace.json):
That wires up the MCP server and both hooks; you just save your token to ~/.cairn_token (it needs uv on your PATH). The manual route — clone, venv, claude mcp add — is in agent/README.md. The web app deploy ignores agent/; it's client-side only.
Design notes
Each sub-project that built Cairn has a spec under docs/superpowers/specs/: the cloud core, the auth hardening, and the local agent cutover. Read those if you want the reasoning behind a decision rather than just the code.
Source: README.md at commit 4982159
Tools
0Version history
1- v0.1.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Cairn integrations

Cairn.ink Memory
ink.cairnOfficial publisher
Cairn.ink Memory is a hosted MCP endpoint that lets an assistant save, recall, inspect, correct and forget cross-session memories, each with a Source Receipt.

Cairn Commons (read-only)
Published by GitHub account cairncommons
Read-only remote MCP server that lets a coding assistant look up checked, version-pinned records of dependency bugs by error text, package and version.

Cairn Remembers
Published by GitHub account CairnRemembers
Local-first episodic memory for AI agents: stores decisions, notes and corrections in one SQLite vault that any MCP-capable assistant can search and add to.

Cairn
Published by GitHub account luckyjackluo
Cairn gives an AI assistant local tools to list, read, search, tag, edit, move, and semantically retrieve files in a chosen folder.

Cairn
Published by GitHub account jasondostal
Self-hosted persistent memory server that lets an assistant store, search and recall decisions, facts and patterns across sessions and projects.