
Elefante
io.github.amenophis1erPublished by GitHub account amenophis1erv0.1.9Updated Nov 3, 2026
Open, Git-native memory protocol for MCP agents. Portable, versioned, human-editable.
Overview
Git-native memory vault for MCP agents: stores agent memories as Markdown files in a Git repo the user owns, with read, write, search and sync tools.
- What you can do
- Write, read, update and delete memories stored as Markdown files with YAML frontmatter
- Search and list memories by keyword, type or project scope
- Sync the vault with its Git remote and rebuild the search index
- Scope memories automatically to the current project by reading the working directory's git remote, with global and cross-project escape hatches
- Inject top memories into the agent's system prompt at startup so preferences and context are available without searching
- When to use it
- Useful when you want agent memory you own and can audit: portable across Claude, Codex, Cursor and other MCP agents, human-editable in any editor, and versioned through Git history. Suited to users comfortable with Git who prefer ownership and auditability over retrieval quality.
- Requirements
- Runs locally as an npm package (elefante-mcp) over stdio; Node.js and npx are needed. A Git repository to act as the vault, initialized with a repo URL, plus working Git credentials (SSH keys, credential helper, gh auth token, or the ELEFANTE_GITHUB_TOKEN environment variable). Network access for syncing with the remote.
Installation
In SourceWeft
- Open Elefante 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
Elefante
The open, Git-native memory protocol for MCP agents: portable, inspectable, versioned, and human-editable.
Why
Every AI agent has its own memory system. Claude's works only with Claude. ChatGPT's works only with ChatGPT. They're all opaque, vendor-locked, and non-portable.
Elefante takes a different approach. Instead of optimizing for retrieval quality, it optimizes for ownership, auditability, and portability — the things that matter when memory is a first-class asset, not a hidden implementation detail.
Quick Start
Connect to Your Agent
From the terminal (before starting Claude Code):
From inside Claude Code (during a session):
Or manually — add to your MCP config (~/.claude.json, .cursor/mcp.json, etc.):
Cursor / VS Code / Codex — same config. Any agent that speaks MCP can read and write to the same vault.
Once connected, your agent gets 7 tools: memory_write, memory_read, memory_search, memory_list, memory_update, memory_delete, memory_sync.
Auto-Discovery
Elefante injects your top memories directly into the agent's system prompt at startup via MCP instructions. The agent sees your preferences, feedback, and project context without needing to search first.
No CLAUDE.md hacks. No "search my elefante memory" prompts. It just works.
Project-Aware Memory
Elefante auto-detects which project you're in and scopes memories accordingly. No configuration needed.
How It Works
When the MCP server starts, it reads the git remote from your working directory:
What Gets Scoped
The agent decides based on context. User preferences and behavioral feedback are typically global. Project details and references are typically scoped.
What You See When You Search
Global memories always show up. Project memories only show up in their project.
Escape Hatches
What a Memory Looks Like
Every memory is a Markdown file with YAML frontmatter. You can open it in any editor.
What a Git Log Looks Like
Every write is remember:. Every update is update:. Every delete is forget:. Your memory has a clean, auditable history.
Vault Structure
Memory Types
Four types. Intentionally constrained — a small taxonomy forces good classification.
Authentication
Elefante doesn't reinvent auth. It uses whatever Git credentials you already have.
Resolution order:
- Local git credentials (SSH keys, macOS Keychain, credential helpers)
gh auth token(if GitHub CLI is installed)ELEFANTE_GITHUB_TOKENenvironment variable~/.elefante/config.jsontoken field
If git or gh is authenticated, Elefante works with zero config.
CLI Reference
How It Compares
Elefante doesn't compete on retrieval quality. It competes on ownership.
"Why not Obsidian + MCP plugin?" — Obsidian is a tool for humans that agents can access. Elefante is a tool for agents that humans can access. Same data format (Markdown + Git), different design center.
Protocol
The full protocol specification — memory model, vault structure, MCP interface, concurrency model, indexing, security considerations — is in PROTOCOL.md.
License
MIT
Source: README.md at commit 24b02e7
Tools
0Version history
1- v0.1.9LatestSep 16, 2026
Score
40% 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
Declare a license in the repository or the registry entry.