Persistent AI Memory via Obsidian MCP: 16 Tools for Claude Cowork

A developer built a persistent memory system for Claude Cowork (Claude Opus 4.6) by connecting it to an Obsidian vault via a custom Model Context Protocol (MCP) server. The system solves session memory loss without bloating the context window.
Key Details
- Core architecture: An Obsidian vault acts as a queryable knowledge store outside the context window. The AI loads only a context manifest at session start, then queries specific knowledge on demand.
- Custom MCP server: A lightweight Python script exposing 16 tools that map to Obsidian's local REST API endpoints, with headers set explicitly. The server runs locally, allowing Claude to read, write, and search the vault.
- Structured vault: Uses frontmatter metadata and Dataview queries for structured retrieval.
- Context budget: Session start allows 5 MCP calls to keep context under control.
- Comparison to CLAUDE.md: The author notes that
CLAUDE.mdfiles solve project state (current state, next steps) but cannot scale to hold research, retrospectives, troubleshooting, or session history without overloading context.
Who It's For
Developers using Claude Cowork who need persistent memory across sessions for projects with extensive history, research, or troubleshooting logs.
📖 Read the full source: r/ClaudeAI
👀 See Also

Decoupling Narrative from State Tracking Fixes AI Text Adventure Amnesia
A developer built a stateful simulation engine where PostgreSQL tracks game state and LLMs only generate narrative text after state changes, preventing inventory hallucinations and plot loss.

Reddit user reports 30% budget waste from AI agent restart tax, shares checkpointing solution
A developer on r/LocalLLaMA found their team was spending 30% of their AI budget on restarts when workflows failed mid-task. They implemented checkpointing for every tool call, which immediately reduced API costs by eliminating redundant processing.

Parallel Execution for Claude AI Agents Achieved with Distributed System Approach
A developer successfully ran 41 Claude AI agents in parallel with zero conflicts and 58% time savings by treating agents as a distributed system with hard-scoped responsibilities rather than a group chat.

Solo dev builds native Swift iOS therapy app using Claude Opus 4.6 for coding, debugging, and architecture
A solo developer built Prelude, a free offline iOS therapy prep app, using Claude Opus 4.6. The AI handled code generation, debugging a voice agent, and architecting the on-device AI pipeline.