Related ToolsClaudeClaude CodeClaude For DesktopObsidian

Developers Are Using Obsidian Vaults to Give Claude Persistent Memory

Claude by Anthropic
Image: Anthropic

One of Claude's biggest practical limitations is that every conversation starts from scratch. A growing number of developers are solving this by connecting Claude directly to Obsidian vaults, turning a local folder of markdown notes into a persistent memory layer the AI can read and write to between sessions.

The approach works by giving Claude access to an Obsidian vault through file system tools (like those available in Claude Code or via MCP servers). Claude reads existing notes for context before responding and writes new notes to remember key decisions, user preferences, or project details. Because Obsidian stores everything as plain markdown files in a local folder, there is no API dependency or cloud sync required. Your memory stays on your machine.

This matters because the official memory features in most AI assistants are limited. ChatGPT's memory stores short fragments you cannot easily organize or browse. Claude's own memory is conversation-scoped. By contrast, an Obsidian vault gives you full control: you can read, edit, tag, and link your AI's memories the same way you manage your own notes. You can also version them with Git.

The setup is not plug-and-play. You need to configure file access permissions and decide on a note structure that Claude can reliably parse. Most implementations use YAML frontmatter to tag memory type (user preferences, project context, decisions) and a central index file so Claude knows what exists without scanning every note.

For anyone already running Obsidian as a second brain, this is a practical way to make Claude feel like it actually knows you. The tradeoff is maintenance: your vault becomes both your knowledge base and your AI's knowledge base, and those two uses can conflict if you are not deliberate about folder structure.