# leonardsellem/hypermnesic [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/leonardsellem/hypermnesic  
**GitHub Stars:** 9  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/leonardsellem-hypermnesic

## Description
Git-first memory for AI agents: Markdown files are truth, the index is disposable, and writes are reviewable commits. Ships 7 MCP tools (hybrid search, readnote, buildcontext, resolve, think, listfolders, and a scope-gated commitnote write) over a Streamable HTTP endpoint, plus a CLI and a read-only Obsidian companion.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "hypermnesic": {
    "command": "uvx",
    "args": ["hypermnesic"]
  }
}
```

## Documentation

## What leonardsellem/hypermnesic does

leonardsellem/hypermnesic provides shared memory for AI agents using a Git repository of plain Markdown files. The repository is the authoritative store: agents read from and write to notes, while the search index serves as a rebuildable projection rather than the canonical database.

The MCP interface exposes seven tools: `hybrid_search`, `readnote`, `buildcontext`, `resolve`, `think`, `listfolders`, and `commitnote`. Read operations help an agent find relevant notes, inspect their source content, assemble context, resolve references, reason over the memory store, and browse its folder structure. `commitnote` is the write path and is scope-gated.

Every memory write is represented by a Git commit, making changes inspectable and revertible through normal Git workflows. The same repository can be used by multiple MCP clients through one endpoint, or accessed locally with the `hypermnesic` command-line interface.

## How it works

A vault must be a Git repository containing Markdown notes. Hypermnesic projects committed Markdown into the `.hypermnesic/` index. That index can be deleted and rebuilt without discarding the source notes.

Search supports hybrid retrieval. Dense embeddings improve ranking when an OpenAI API key is configured; lexical mode allows the local proof flow to work offline. The service can continue serving lexical and graph results when dense-provider calls fail. Search results include repository-relative source paths so agents can connect retrieved content back to its Markdown file.

The remote service uses a Streamable HTTP MCP endpoint. Its setup flow uses Tailscale Funnel for public HTTPS and automatic TLS, and configures OAuth discovery and consent handling for clients connecting remotely. A local CLI path is available when the vault and agent run on the same machine.

## Setup and configuration

Install the command-line package with `uv tool install hypermnesic`. To test a vault locally, run `hypermnesic local-proof /path/to/your/vault`; a generated demo vault can be used with `--demo-dir`. This proof flow validates the Git-backed notes, builds the disposable index, performs a natural-language recall, and previews a `commit_note` diff without writing a commit.

For remote access, install and authenticate Tailscale, then run `hypermnesic setup /path/to/your/vault --public-url https://<your-host>.ts.net/mcp`. Setup starts a user service, creates an owner-only consent secret under `~/.config/hypermnesic-cloud/cloud.env`, configures the Funnel routes, and verifies the live HTTPS discovery chain. Use `hypermnesic doctor` or `hypermnesic status` to inspect health and connectivity without changing services or Git state.

Set `OPENAI_API_KEY` to enable dense embeddings. The key may also be read from the target vault's gitignored `.env` file. Dense live checks are opt-in.

## Tools and capabilities

- Search notes with hybrid retrieval.
- Read a specific note and return its repository-relative source.
- Build context from related memory.
- Resolve references within the memory store.
- Use the `think` tool for memory-oriented reasoning.
- List folders in the vault.
- Create a scope-gated note commit with `commitnote`.
- Preview write diffs without creating a commit through the local proof workflow.

## Limitations and notes

The source of truth is a Git repository of Markdown files, so the vault must be structured and maintained accordingly. Dense ranking depends on an OpenAI API key; without it, lexical retrieval remains available. Remote deployment depends on Tailscale and its Funnel service. The engine is licensed under AGPL-3.0-only. A separate read-only Obsidian companion is available for browsing over a tailnet, but it is not the MCP engine itself.

_Full upstream README: https://allmcps.com/mcp/leonardsellem-hypermnesic/readme_

