Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Claude Code Sync

mattbirchlermattbirchler

Mirror Claude Code sessions into your vault as Markdown notes.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

An Obsidian plugin that mirrors every Claude Code session on your machine into your vault as Markdown notes. Point it at your ~/.claude/projects folder once, and every session you have with Claude Code — past and future — shows up as a readable, searchable, linkable note. Set it and forget it.

What a synced note looks like

Each session becomes one note, named <date> <session title>.md, filed under a folder named for the project it belongs to. A note looks roughly like this:

---
session: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
project: "claude-code-obsidian"
cwd: "/Users/matt/Apps/claude-code-obsidian"
date: 2026-07-07
updated: "2026-07-07T16:46:00.000Z"
source: claude-code
---

# Add MIT license and release workflow

## You · 16:04

Add a LICENSE file and a GitHub Actions release workflow.

## Claude · 16:05

Done — here's the license file and the workflow.

> [!tool]- Write LICENSE
> {
>   "file_path": "/Users/matt/Apps/claude-code-obsidian/LICENSE",
>   "content": "MIT License..."
> }

Tool calls and Claude's thinking are folded into collapsed callouts (> [!tool]- and > [!thinking]-) so the conversation stays readable — expand them when you want the detail.

Notes are a read-only mirror. They're regenerated whenever the source session changes, so any edits you make directly in a synced note get overwritten on the next sync. If you want to add your own commentary, do it in a separate note and link to the synced one.

Install

BRAT (recommended for now)

  1. Install the BRAT plugin from the Obsidian community plugin directory.
  2. In BRAT, add the beta plugin mattbirchler/claude-code-obsidian.
  3. Enable "Claude Code Sync" in Obsidian's Community Plugins settings.

Manual install

  1. Download main.js and manifest.json from the latest release.
  2. Copy both files into <vault>/.obsidian/plugins/claude-code-sync/.
  3. Reload Obsidian and enable "Claude Code Sync" in Community Plugins settings.

Submission to the Obsidian community plugin directory is planned; until then, use one of the two methods above.

Settings

Setting Default What it does
Source path ~/.claude/projects Where Claude Code stores its session files. ~ expands to your home folder.
Target folder Claude Code Vault folder the session notes are written into.
Sync interval (minutes) 5 How often to sync automatically. 0 means manual only.
Include tool calls On Show what Claude did (edits, commands) as collapsed callouts.
Include thinking On Show Claude's internal reasoning as collapsed callouts.

You can also trigger a sync any time from the ribbon icon or the "Sync now" command.

How it works

Claude Code Sync reads Claude Code's session transcripts (~/.claude/projects/**/*.jsonl) straight off disk and renders them into Markdown notes in your vault — nothing leaves your machine, there's no account, and no network requests are made. It syncs automatically on Obsidian launch and on the interval you set, plus on demand.

Because notes are generated from the source transcripts, they're a mirror, not a place to write: editing a synced note directly will be overwritten the next time that session changes. Subagent (sidechain) transcripts and internal system noise are filtered out, and sessions with no real content are skipped entirely.

This plugin requires the Claude Code CLI to have actually been used on your machine — that's what writes the session files it reads. It's desktop-only (it needs Node's filesystem APIs), so it won't run on Obsidian mobile.

Development

npm install
npm run dev     # watch build
npm test        # run the test suite (vitest)
npm run build   # production build

License

MIT — see LICENSE.

HealthExcellent
ReviewSatisfactory
About
Mirror every Claude Code session into your vault as readable, searchable Markdown notes by pointing it at your Claude Code projects folder. Save each session as a single dated note inside its project folder with session metadata and collapsed tool/thinking callouts, kept as read-only mirrors that regenerate when sessions change.
IntegrationsSyncing
Details
Current version
1.0.0
Last updated
3 hours ago
Created
5 hours ago
Updates
2 releases
Compatible with
Obsidian 1.5.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
mattbirchlermattbirchler
quickreads.app
GitHubmattbirchler
  1. Community
  2. Plugins
  3. Integrations
  4. Claude Code Sync

Related plugins

Self-hosted LiveSync

Sync vaults securely to self-hosted servers or WEBRTC.

WebDAV Sync

General-purpose & bidirectional WebDAV syncing for your vault. Designed for stability and robust file handling without vendor lock-in.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Google Drive Sync

Syncs a vault into Google Drive for cross-platform use (works for iOS).

Remotely Save

Sync notes between local and cloud with smart conflict: S3, Dropbox, webdav, OneDrive, Google Drive, Box, pCloud, Yandex Disk, Koofr, Azure Blob Storage.

Syncthing Integration

Syncthing integration.

BRAT

Easily install a beta version of a plugin for testing.

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.

Maps

Adds a map layout to bases so you can display notes as an interactive map view.

Terminal

Integrate consoles, shells, and terminals.