Manually-triggered, self-organising personal memory for AI agents; SQLite, no vector DB.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A personal, agent-driven memory that survives across sessions.
You talk to an AI assistant (Claude Code) every day, but it forgets everything between sessions. Pensieve is the long-term memory you control: any time in a conversation you can say "add this to pensieve" to capture something, or "what do I know about X?" to pull it back β and it's there, organised, current, and yours.
The metaphor: deliberately draw out a strand of thought and deposit it in the vessel to revisit later.
It's a small Python + SQLite engine with two front doors: an MCP server the agent
uses, and a CLI for you. Your memory lives in a single file at ~/.pensieve.
Five ideas shape every decision in Pensieve:
An information lake, not a project manager. It stores what you know and lets you recall it. It deliberately has no tasks, statuses, or due dates β the agent infers state by reading, the store just holds the information.
Deliberate on both ends. Pensieve never acts on its own. It writes only when you say "remember this," and recalls only when you ask. No silent saves, no auto-loading your memory at the start of a session. You stay in control of what goes in and what comes out.
Structure emerges; you don't design it upfront. You don't build a taxonomy. You keep a few top-level streams (the domains you actually work in) and drop notes in. The people, orgs and topics your notes mention become entities automatically, and one that keeps recurring earns its own thread. Organisation is a consequence of use.
Notes are the atoms; everything else references them. A note can stand alone or live in several streams at once. Entities and threads are views over notes, not owners of them β so removing a topic never destroys a note that's also about something else.
Point at the world, don't copy it. Attach a repo, file or URL as an asset β a by-reference pointer with a one-line "how to use me" hint. Pensieve stores the pointer and reads it on demand; it never crawls your disk or follows a link on its own.
Want the reasoning in depth β the design decisions, the full model, the tradeoffs?
docs/philosophy.md.
| Thing | What it is |
|---|---|
| stream | A top-level domain of your work/life β career, personal, side-projects. Deliberate and few. |
| note | An atomic piece of information β the unit you capture. Can live in more than one stream. |
| entity | A person / org / topic your notes are about. Born from a note (by tagging); never created in a vacuum. |
| thread | An entity that recurred enough to earn its own focused sub-topic under a stream. |
| asset | A by-reference pointer (repo / file / dir / URL / image / doc) + a usage hint, attached to a stream, thread, or note. |
Recall has three lenses: by name (find), by content (search β full-text,
stemmed, ranked), and by time (recent β what changed lately).
Assumes Python 3.12+.
Pensieve is a standard MCP server, so the quickest way in is pipx
(or uv):
This puts pensieve (the CLI) and pensieve-mcp (the MCP server) on your PATH. Then point
your agent at it. For Claude Code:
For any other MCP client, register the pensieve-mcp command as a stdio server. To run it
ad-hoc without installing, uvx pensieve-mcp works too.
Pensieve is listed in the official MCP Registry
as io.github.praveen-ilangovan/pensieve, so registry-aware clients can discover and install
it directly.
Note: the PyPI package is the engine (CLI + MCP server). The judgment-bearing Claude skill (the
capture/fetchflows) ships with the repo, not the wheel β if you want it, use the script install below, which drops it into~/.claude/skills/pensieve/for you.
install.sh checks prerequisites up front (and changes nothing if any are missing), ensures
pipx, installs Pensieve (pensieve + pensieve-mcp on your PATH), installs the selected
agent skill, and registers the MCP server in that agent's user configuration. Claude's skill
lives in ~/.claude/skills/pensieve/; Codex's user-scoped $pensieve skill is symlinked at
~/.agents/skills/pensieve/, so it is available from every repository. It's idempotent β
re-run anytime to pick up updates.
The Codex MCP registration pins PENSIEVE_HOME=~/.pensieve, ensuring Codex reads and writes
the same personal store as Claude even when Codex is launched from this repository (whose
.env intentionally points development commands at .local/manual). The engine and MCP
tools are unchanged; the Codex skill supplies the same deliberate capture/recall discipline
as the existing Claude adapter.
Then restart the selected agent and, from any directory:
"what streams do I have? check pensieve"
Your memory lives in ~/.pensieve.
Pensieve shines through the agent β you speak naturally, it does the judgment and calls the tools. Everything below is just talking to Claude Code.
Set up your domains (do this once, deliberately):
"Create a pensieve stream called Career β for my job search and work."
Capture β any time something worth keeping comes up:
"Add this to pensieve: had a call with Maya about the platform role; she's reviewing my portfolio."
The agent filters for what's durable, routes it to the right stream, and recognises that
"Maya" is a person worth tracking β without you managing any of that. If a note spans two
domains (say, a talk that's relevant to both your career and a side-project), it files
one note in both.
Recall β pick the lens that fits the question:
"What do I know about Maya?" Β· "What did we decide about salary?" Β· "Catch me up β what's changed lately?"
Point at live context β so the agent knows where to read:
"Add my project repo at ~/projects/acme as an asset on the side-projects stream β hint: read README.md first." Later: "pull up the acme repo." (It follows the pointer only when you ask.)
Promote β when something recurs, the agent proposes it:
"Maya's come up across 5 notes β want her own thread under Career?"
Remove / restore β everything is soft and reversible:
"Remove that note." / "Actually, bring it back." / "I'm done with the X stream."
The same engine is a CLI too β handy for a quick check or scripting without the agent
(pensieve stream list, pensieve search "β¦", β¦). Full command reference with examples:
docs/cli.md.
~/.pensieve), self-migrating via Alembic on first use.adapters/claude/).This repo is a self-contained dev environment β it never touches your real ~/.pensieve.
The in-repo MCP server and CLI use a local dev store (.env β .local/manual); the global
install (./install.sh) is what points at ~/.pensieve.
Design notes live in plans/ (one file per slice, plus
plans/roadmap.md) and docs/
(philosophy.md β the why + model, cli.md β commands).
Working and in daily use: streams Β· threads Β· notes Β· entities Β· promotion Β· assets Β·
search Β· recency Β· multi-stream notes Β· soft remove/restore β all via CLI and MCP.
Built and validated slice by slice with a real agent. See plans/roadmap.md for what's next.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/pensieve)<a href="https://allmcps.com/mcp/pensieve"><img src="https://allmcps.com/api/badge/pensieve?style=directory" alt="Pensieve on AllMCPs" /></a>