Perenna
Perenna is an MCP server that provides AI agents with a shared, Git-backed permanent memory in Markdown, exposed through read, write, and delete tools.
memory_read: list all memories and projects, search for bounded ranked passages, or get one complete committed memory by ID with its revision.
memory_write: create new memories, patch exact all-or-nothing edits, or replace the full summary/body; each change commits to Git and reports index/sync status.
memory_delete: delete exactly one committed memory by ID, expected title, and base revision; the deletion is recoverable from Git history.
Supports local agents and ChatGPT sharing durable memories via stdio, local HTTP, or OAuth-protected remote HTTP.
Uses a Vexor retrieval index that can be rebuilt from Git and supports optional Git remote synchronization.
Uses Git repositories as a durable memory store, enabling AI agents to persist, read, edit, and synchronize memories, with optional sync to a private Git remote.
Perenna
A lightweight, Git-backed permanent memory for AI agents. Claude Code, Codex, ChatGPT, Cursor, and other MCP clients can share durable memories without sharing a vendor account or conversation history.
Separate MCP tools for reading, writing, and deleting memories
Local stdio, loopback-only Streamable HTTP, and OAuth-protected remote HTTP
Human-readable Markdown stored in an independent Git repository
Local Vexor retrieval index that can always be rebuilt from Git
Cross-process locking for multiple local agent processes
Why Perenna?
Your memory should follow you, not the agent you happen to be using.
Claude Code, Codex, Cursor, and ChatGPT keep memory in separate silos. Switch agents and your memory disappears. Switch machines and local memory stays behind.
Perenna gives them one shared, Git-backed memory. Local agents and ChatGPT can connect to the same self-hosted Perenna service, while every durable memory stays ordinary Markdown you can inspect, edit, version, and back up yourself.
Perenna stays focused on permanent memory: no required account, proprietary memory cloud, or automatic conversation extraction.
Related MCP server: Hypermnesic
Quickstart
Install with your AI agent
Paste this into Claude Code, Codex, ChatGPT Desktop, Cursor, or another coding agent with terminal and local MCP configuration access:
Open the following URL, read the complete instructions, and follow them to
install and connect Perenna:
https://raw.githubusercontent.com/scarletkc/Perenna/main/docs/guides/agent-installation.mdInstall a published release
Perenna requires Python 3.12+, Git, and uv.
Install Perenna
uv tool install perennaConfigure retrieval
Perenna needs a working Vexor embedding provider. For interactive provider selection and configuration, run:
uvx vexor initPerenna automatically reuses ~/.vexor/config.json. When using process-level
configuration, make sure the MCP server receives VEXOR_CONFIG_JSON plus
VEXOR_API_KEY or the selected provider's key from its host environment.
Remote providers receive memory text and search queries.
If you choose local embeddings, also install Perenna's local extra:
uv tool install "perenna[local]"Vexor provider configuration covers remote and local setup. From the environment that starts the MCP client, verify the selected provider with:
uvx vexor doctorConnect a client
For the standalone setup, configure the MCP client to start:
perenna mcpFollow the Client setup guide for the exact client command or configuration file.
Codex and Claude Code can also install the optional memory behavior Skill:
perenna skill install --agent codex
# or
perenna skill install --agent claude-codeRepeat --agent in one command when both clients should receive the skill.
The configuration reference
documents user and project scope, destinations, and replacement safeguards.
Codex and Claude Code can instead install the combined Skill and MCP connection from Perenna's repository Marketplace. Follow the Plugin setup guide and choose one setup path per client.
Perenna creates its local data under ~/.perenna/ unless another home is
configured.
Add optional Git synchronization
To import, publish, or fast-forward compatible history through a private Git repository, run:
perenna sync setup <repository-url>Successful setup saves the selected remote in the Perenna home. Use
perenna sync disable to return to saved local-only mode without removing the
Git remote.
The configuration reference owns remote selection, credentials, conflict handling, and recovery details.
Install from source
git clone https://github.com/scarletkc/Perenna.git
cd Perenna
uv tool install .Source contributors should use the locked environment in the development guide.
Documentation
Start with the documentation index, then follow the path for your task:
License
Available Tools
3 toolsmemory_deleteADestructive
Delete exactly one committed memory by ID, expected title, and revision. The deletion removes it from current recall but remains recoverable from Git history.
Inputs: memory_id (required), base_revision (required), expected_title (required). Returns: action, commit, memory, changed, +3 more
memory_readARead-onlyIdempotent
Read permanent memory. List returns stable memory IDs and titles, search returns bounded ranked candidate passages, and get returns one complete committed memory with its revision.
Returns: object
memory_writeADestructive
Create or modify permanent memory. Summary is a stable one-line description of what a memory covers. Patch applies exact all-or-nothing edits; replace overwrites the complete summary and body. Existing memories require a current base revision.
Returns: action, commit, memory, changed, +2 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool handles a distinct lifecycle operation: reading/querying, writing/updating, and deleting memories. There is no overlap between the primary actions, and the sub-modes within memory_read are explicitly separated (list, search, get).
All tool names follow the same memory_verb pattern using clear, lowercase snake_case verbs. The naming makes the operation type immediately obvious and perfectly consistent across the set.
Three tools is a compact but complete surface for a permanent memory store. Each tool earns its place, and no redundant or extraneous operations exist.
The set covers the full lifecycle: create/modify via memory_write, read via memory_read (including list/search/get), and delete via memory_delete. Revision-handling and Git-history recovery details further round out the functionality, leaving no critical gaps.
Maintenance
Related MCP Connectors
Git-backed platform for skills, tools, and context for AI agents
One memory for every AI you work with: your rules, notes and decisions in your own Git repo.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Persistent memory for AI agents: save, search and connect context across tools and sessions.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides a memory layer for AI coding agents with Git-powered version control, enabling automatic tracking of prompts, context, and code diffs.193MIT
- AlicenseAqualityBmaintenanceGit-native long-term memory for AI agents: your markdown files are the source of truth, the search index is a disposable projection rebuilt from git, and every memory the agent writes is a reviewable git commit. Served over one OAuth-secured MCP endpoint with hybrid lexical+semantic recall and a gated, git-first commit_note write tool.78AGPL 3.0

robo-cortexofficial
AlicenseAqualityBmaintenanceProvides a git-aware knowledge base for AI coding agents to store and retrieve memories anchored to code changes, with automatic staleness detection.9211 PyPI1MIT- AlicenseNot gradedqualityDmaintenancePersistent, structured memory for AI coding agents via a git-like filesystem with branch/commit/merge tools, enabling agents to maintain context across sessions.MIT