Home / Blog / One Memory for Claude, ChatGPT and Codex: An Obsidian Vault…
Tech News

One Memory for Claude, ChatGPT and Codex: An Obsidian Vault and MCP

A developer wired Obsidian, Syncthing, a VPS FastMCP server, and Hermes into one shared memory layer for Claude, ChatGPT, and Codex across web and mobile.

By Dillip Chowdary • Dec 02, 2026 • Source: mirekhovorka.cz

One Memory for Claude, ChatGPT and Codex: An Obsidian Vault and MCP
Image: mirekhovorka.cz

At a glance

Vault path
~/Obsidian/Vault synced via Syncthing
MCP server
Python FastMCP over Tailscale Funnel
Auth guard
Google OAuth limited to one account
Clients supported
claude.ai, ChatGPT, Claude Code, Codex
Server agent
Nous Research Hermes (new files only)
Curator cadence
Compiles Knowledge/ every three hours

Developer Mirek Hovorka built a shared personal AI memory system using an Obsidian Markdown vault synchronized by Syncthing, an always-on Linux VPS, a Python FastMCP server, and the Nous Research Hermes agent so Claude, ChatGPT, and Codex read and write to one knowledge base. As detailed in mirekhovorka.cz's report, the setup avoids third-party subscriptions and proprietary memory silos while supporting desktop, web, and mobile clients.

This architectural breakdown examines why single-tool memory silos fail across multi-model workflows, how Syncthing and append-only Hermes writes prevent silent merge conflicts, and how the curator layer turns raw tool captures into verified Markdown knowledge pages. Engineers juggling multiple AI assistants can adapt this four-layer pattern with standard self-hosted tooling.

01Siloed assistant memories and Markdown requirements

Modern assistants each maintain isolated state: ChatGPT tracks user facts across threads, Claude keeps project-level memories and can perform one-time imports from other tools, and Claude Code stores CLAUDE.md and automatic memory locally on one machine. One-off imports help during tool migrations, but they do not let Claude, ChatGPT, and Codex continuously share context.

Hovorka set four design constraints before building: human-readable Markdown stored without extra subscriptions or third-party data access, one proven synchronization mechanism across operating systems, protection against concurrent write losses, and external git history backups. While MCP options such as mem0 OpenMemory and Basic Memory exist, building directly on his existing Obsidian vault at ~/Obsidian/Vault kept settings uniform across machines.

02Two-role VPS topology and Syncthing choice

The architecture splits responsibilities between interactive client sessions and a constantly running Linux VPS. At the keyboard, Obsidian on Mac alongside claude.ai (web, desktop, mobile), ChatGPT (web, mobile), Claude Code, and Codex issue reads and writes, while the VPS keeps the vault online, runs health checks with Telegram alerts, pushes git backup snapshots to GitHub, and cleans up notes every three hours.

Sync option evaluatedBehavior on concurrent editsWhy chosen or rejected
Syncthing (chosen)Direct P2P sync via always-on VPSFree, cross-platform, pairs with GitHub git backups
Obsidian SyncAuto-merges Markdown; headless betaRequires paid subscription; 5 MB basic file limit
Git everywhereProduces <<<<<<< merge markersNot real-time and slow on Android
Dropbox / iCloud / OneDriveQuietly creates duplicate filesUnsafe for simultaneous human and agent writes

Advertisement

Tech Pulse Daily

Get tomorrow's pulse first

Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.

03Append-only Hermes rules and conflict prevention

On the VPS, Nous Research's open-source Hermes agent runs continuously with full vault read visibility, scheduled task execution, and Telegram messaging. However, Hermes follows a strict write constraint: it can only create brand-new files inside the Hermes/ folder and never edits or appends to existing user notes.

Hovorka dropped an earlier plan to let Hermes append directly to daily notes because Syncthing cannot merge concurrent edits to the same file, meaning simultaneous Mac and server-lock writes would silently overwrite data. Instead, Hermes includes daily: "[[2026-10-29]]" frontmatter so entries appear as Obsidian backlinks, writes atomically via temporary files before renaming, fails safely if a target filename already exists, and enforces Windows-safe filenames.

04Shared FastMCP endpoint across web and mobile

To serve web and mobile apps alongside desktop CLIs, the VPS runs a custom Python MCP server built with the FastMCP library against the Syncthing-synced vault copy. Because local desktop MCP processes cannot reach web or phone apps, hosting one endpoint on the VPS lets claude.ai (web, desktop, mobile), ChatGPT (web and mobile since November), Claude Code (via claude.ai), and Codex share one address.

The MCP server binds strictly to localhost on the VPS and exposes external HTTPS connectivity exclusively through Tailscale Funnel. Authentication relies on Google OAuth restricted to a single authorized account, ensuring Syncthing propagates new entries across devices within seconds.

05Captures, the three-hour curator, and Karpathy's wiki pattern

Once multiple AI clients began writing to the vault, search results grew noisy—for example, five slightly different coffee-machine recommendations cluttered retrieval. To solve this, Hovorka added a fourth layer inspired by Andrej Karpathy's LLM wiki concept: tools call capture_knowledge to save immutable, keyed records under Hermes/Captures/ without creating duplicates.

Every three hours, a curator process on the VPS reviews new captures and compiles clean reference pages inside Knowledge/, recording current status, source lists, and next review dates. Only the curator modifies Knowledge/ using atomic checks before replacing a page, while all AI clients query search_current_knowledge first so every assistant receives the same verified answer.

Frequently asked questions

Why did the setup use Syncthing instead of Obsidian Sync or Dropbox?

Syncthing is free across platforms and avoids paid tiers like Obsidian Sync's subscription and 5 MB basic limit, while Dropbox, iCloud, and OneDrive silently create duplicate files during concurrent writes.

How does the architecture prevent Syncthing file conflicts between humans and AI agents?

The Hermes agent and MCP tools never edit existing user notes; Hermes creates atomic new files only inside Hermes/, linking to daily notes via frontmatter backlinks, while capture_knowledge writes immutable keyed files.

How do web and mobile versions of Claude and ChatGPT connect to the Obsidian vault?

They connect over HTTPS via Tailscale Funnel and single-account Google OAuth to a Python FastMCP server running on an always-on Linux VPS.

What does the three-hour curator process do?

Every three hours, the curator reads immutable captures in Hermes/Captures/ and compiles up-to-date, source-cited pages in Knowledge/, which all AI tools query first via search_current_knowledge.

Sources

Dillip Chowdary

Author

Dillip Chowdary

Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.

Related on Tech Bytes

Advertisement

5-min tech signal

Weekday briefing for engineers who skip the noise.

No spam · Unsubscribe anytime

Advertisement

✈️ CareerPilot

Your AI job-search copilot

Match your resume against live Ashby, Greenhouse & Lever openings — fit scores, job-specific resume optimization and email alerts.

Find matching jobs →

Free Tools

Browse all tools →