Claude Code IDE
Obsidian plugin that shares real-time editor context such as open files and selected text with Claude Code through a local MCP bridge.
At a Glance
Obsidian plugin that shares real-time editor context with Claude Code, released under the MIT license.
Engagement
Available On
Alternatives
Listed Nov 2026
About Claude Code IDE
Claude Code IDE is an Obsidian plugin by petersolopov that connects an Obsidian vault to the Claude Code CLI. It exposes the active file, open files, and current text selection so Claude Code can work with what you are editing. It is MIT-licensed and installable from Obsidian Community Plugins.
What It Is
The plugin acts as a minimal bridge between Obsidian and Claude Code. It runs an MCP server over WebSocket inside Obsidian, and Claude Code discovers it automatically and lists Obsidian in its /ide selector. Once connected, you can refer to your current selection without naming the file or pasting text, for example by asking Claude to rewrite the second paragraph. A "Send to Claude" command passes selected text or a file explicitly.
How the Workflow Runs
Install and enable the plugin from Settings → Community plugins, then run /ide in Claude Code and choose Obsidian. Claude Code reads and edits vault files directly through the filesystem, while the plugin supplies context in the other direction. There is no diff view, so edits appear directly in the file. A new session starts with the last note as long as it is on screen, and selections are passed from editing view only, not reading view.
Security Model
The WebSocket server binds to 127.0.0.1 only. Each session uses a unique token generated with crypto.randomUUID(), verified on every connection and discarded on restart. The plugin is read-only: it shares selections and open file names and never writes files or executes code. It ships as a single bundled main.js with no runtime dependencies.
Scope and Tradeoffs
The plugin works on Obsidian desktop only and implements Claude Code's protocol only, so it does not support Gemini CLI, Codex, or other agents. The documentation notes that Claude Code sends prompts and context to Anthropic's API regardless of this plugin. It can be combined with the Obsidian CLI, which handles vault commands such as search and renaming with link updates, while this plugin handles editor context.
Community Discussions
Be the first to start a conversation about Claude Code IDE
Share your experience with Claude Code IDE, ask questions, or help others learn from your insights.
Pricing
Open Source (MIT)
Obsidian plugin that shares real-time editor context with Claude Code, released under the MIT license.
- MIT License
- Zero config and zero runtime dependencies
- Local WebSocket MCP server bound to 127.0.0.1
- Desktop only
- Requires Claude Code (external cost, not sold by this plugin)
Capabilities
Key Features
- Real-time sharing of active file, open files, and text selection with Claude Code
- Send to Claude command for selected text or a file
- Local MCP server over WebSocket
- Automatic discovery in Claude Code's /ide selector
- Localhost-only binding with per-session auth tokens
- Read-only context sharing
- Zero runtime dependencies, single main.js
