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
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Claude Code IDE

petersolopovpetersolopov3k downloads

Connect your vault to Claude Code. Shares selections and open files with the CLI.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates5

Minimal bridge between Obsidian and Claude Code — shares real-time editor context with the CLI, nothing more.

  • Zero config — install, enable, /ide, done
  • Zero dependencies — single main.js, no runtime deps
  • Send to Claude — select text or a file in Obsidian

https://github.com/user-attachments/assets/79c7e68f-accd-42a8-9508-6d5953aa90c4

Install

Community plugin submission is pending review.

Install with BRAT:

  1. Install BRAT from Community Plugins
  2. BRAT settings → Add Beta plugin → petersolopov/obsidian-claude-ide
  3. Enable in Settings → Community plugins → toggle on Claude Code IDE
  4. In Claude Code: run /ide → select Obsidian
Manual install
  1. Download main.js and manifest.json from the latest release
  2. Create folder claude-code-ide in your vault's .obsidian/plugins/ and put both files there
  3. Enable and connect as above

How it works

The plugin runs an MCP server over WebSocket inside Obsidian. Claude Code discovers it automatically and shows Obsidian in the /ide selector. Once connected, Claude Code can see your open files and current selection. Use the "Send to Claude" command to explicitly pass selected text as context.

Claude Code reads and edits files directly through the filesystem. The plugin provides editor context in the other direction — open files and selections. No diff view — edits appear directly in the file.

Security

  • Localhost only — WebSocket server binds to 127.0.0.1, no network exposure
  • Per-session auth — unique token via crypto.randomUUID(), verified on every connection
  • Read-only — plugin shares selections and open file names, never writes files or executes code
  • Zero runtime dependencies — single bundled main.js, no third-party code at runtime
  • No shared secrets — auth token readable only by your OS user, discarded on restart

Tips

Claude Code can call Obsidian CLI directly through the terminal — open daily notes, move and rename files with automatic link updates, search the vault, and more. This plugin handles editor context, Obsidian CLI handles the rest. Run obsidian help to see available commands.

Development

Requires Node.js 24+.

git clone https://github.com/petersolopov/obsidian-claude-ide
cd obsidian-claude-ide
npm install
npm run build
cp main.js manifest.json /path/to/vault/.obsidian/plugins/claude-code-ide/

Enable in Settings → Community plugins → toggle on Claude Code IDE.

FAQ

Why do I need this? Claude Code can already read files in my vault.

It can, and it still does. This plugin adds real-time editor context — Claude Code continuously sees which file is open and what text you selected. Instead of "I'm editing notes/project/todo.md, rewrite the second paragraph" you just say "rewrite the second paragraph".

How is this different from Obsidian CLI?

Different layers. Obsidian CLI lets Claude Code run commands — open files, search the vault, rename with automatic link updates. This plugin shares real-time editor context — which file is open, what's selected.

Is my vault data sent to Anthropic?

Yes. Claude Code sends your prompts and context to Anthropic's API — that's how it works, with or without this plugin. If your vault has personal notes you'd rather keep private, point Claude Code at a separate project vault instead.

Does it work on mobile?

No. The plugin needs Node.js APIs that only Obsidian desktop provides. Claude Code itself is a CLI tool, so desktop on both sides.

Does it work with Gemini CLI / Codex / other agents?

No. This plugin implements Claude Code's protocol only — zero dependencies, single file, instant startup. For multi-agent support (Gemini CLI, Codex, OpenCode) check out Agent Client.

More perspectives in the Reddit thread.

See also

  • claudecode.nvim — Neovim integration, protocol documentation that made this plugin possible
  • obsidian-claude-code-mcp — all-in-one alternative: embedded terminal, Claude Desktop support

License

MIT

82%
HealthExcellent
ReviewSatisfactory
About
Share Obsidian's open files and current selection with Claude Code in real time over a local WebSocket MCP bridge. Connect via Claude Code's /ide to view editor context and send selected text; connections use per-session tokens, localhost binding, read-only access, and a single zero-dependency main.js.
AIIntegrationsFiles
Details
Current version
0.2.3
Last updated
2 months ago
Created
2 months ago
Updates
5 releases
Downloads
3k
Compatible with
Obsidian 1.5.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
petersolopovpetersolopov
github.com/petersolopov
GitHubpetersolopov
  1. Community
  2. Plugins
  3. AI
  4. Claude Code IDE

Related plugins

Local REST API & MCP Server

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

Claudian

Embeds Claude Code/Codex as an AI collaborator in your vault. Your vault becomes agent's working directory, giving it full agentic capabilities: file read/write, search, bash commands, and multi-step workflows.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.

Smart Composer

AI chat with note context, smart writing assistance, and one-click edits for your vault.

WebDAV Sync

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

Google Drive Sync

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

ChatGPT MD

A seamless integration of ChatGPT, OpenRouter.ai and local LLMs via Ollama into your notes.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Recent Files

Display a list of recently opened files.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.