# rwnalds/engram [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/rwnalds/engram  
**GitHub Stars:** 23  
**Views:** 6  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/rwnalds-engram

## Description
Second brain your agents read and write, over a git-backed markdown vault. Authority-aware search ranks superseded and archived notes below live ones (from frontmatter, no vector DB), so agents quote the current doc, not the dead one. Per-agent read-only or write tokens, a git audit trail of every change with diffs, a knowledge-graph dashboard, and Obsidian compatibility.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/rwnalds/engram), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Start the server:

```sh
bun dev
```

2. Install:

```sh
bun install
```

3. Start the server:

```sh
bun dev            # http://localhost:3000 — runs against ./sample-vault
```

4. Start the server:

```sh
VAULT_DIR=/path/to/your/obsidian-or-markdown/vault bun dev
```

5. Start the server:

```sh
bun run mcp:stdio /path/to/your/vault      # defaults to ./sample-vault
```

6. Add to Claude Code:

```sh
claude mcp add --transport http engram https://<host>/api/mcp \
  --header "Authorization: Bearer <token>"
```

## Documentation

## What rwnalds/engram MCP server does

The rwnalds/engram MCP server connects MCP-compatible agents to a folder of Markdown files that serves as shared, persistent memory. The files remain human-readable and are stored in Git, so the vault itself is the source of truth rather than a separate database. Existing Obsidian vaults can be used without an import step.

Its main distinction is that search considers whether a note is still authoritative. Notes can be marked as superseded or given an end date, allowing the server to withhold outdated results and return an explanation for each exclusion. Authority levels are derived from folder placement and frontmatter. A supersession operation can retire one fact and link its replacement in a single commit.

The dashboard provides a human view of the same vault. It supports search, file browsing, note viewing and editing, recent activity, per-file diffs, Obsidian callouts, wikilinks, backlinks, and a force-directed knowledge graph.

## How it works

Agents connect through one bearer-authenticated HTTP endpoint using streamable HTTP JSON-RPC. The server indexes the Markdown vault in memory for full-text search and graph relationships; Git supplies durable storage and the audit trail. Each write is attributed through Git, and the dashboard can show the resulting file changes.

Access is controlled with per-agent tokens. A token may be read-only or allow writing, and a read-only token does not expose write tools. This model is intended for several agents sharing one vault while retaining distinct permissions.

## Setup and configuration

The project is self-hosted and can run against a fresh repository or an existing Markdown vault. The README includes deployment paths for Railway and Render, as well as a local development command using `bun dev`. Connect an MCP client to the server's `/api/mcp` endpoint and provide the appropriate bearer token.

The material provided does not specify required environment variable names, token-generation commands, or the complete deployment configuration. Those details should be taken from the repository's current setup instructions rather than inferred here.

## Tools and capabilities

The rwnalds/engram MCP server exposes 15 tools whose names use the `brain_*` prefix. The documented `brain_supersede` operation replaces an older fact and links the new note atomically. The tool set is served from one MCP endpoint, with write tools hidden from read-only credentials.

Other supported capabilities include authority-aware search, temporal validity through `superseded_by` and `valid_until`, explainable exclusions, contradiction checks during writes, Markdown note access, and knowledge-graph relationships based on wikilinks. The dashboard adds human-oriented editing, search, navigation, and change review.

## Limitations and notes

Storage is intentionally limited to Git-backed Markdown rather than a database or vector store. The server is self-hosted, so operators manage the vault, Git repository, endpoint, and access tokens themselves.

Hermes is mentioned in the README, but it is not included in the supported client-slug vocabulary for this listing. The project is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/rwnalds-engram/readme_

