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 IDE

petersolopovpetersolopov8k downloads

Connect your vault to Claude Code and share editor context with the CLI.

Add to Obsidian
Claude Code IDE screenshot
  • Overview
  • Scorecard
  • Updates7

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

Install from Obsidian Community Plugins:

  1. Open Settings → Community plugins → Browse
  2. Search for Claude Code IDE
  3. Install and enable the plugin
  4. In Claude Code: run /ide → select Obsidian

Or install directly from the community plugin page

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

Copy main.js and manifest.json to your vault's .obsidian/plugins/claude-code-ide/ folder, or use npm run obsidian:install-plugin (requires .env with OBSIDIAN_VAULT path — see AGENTS.md).

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

HealthExcellent
ReviewSatisfactory
About
Lets Claude Code read your current editor context through a local WebSocket MCP bridge. It shares the active file, open files, and selected text in real time, so Claude can answer questions about what you are editing and receive selected text from the command palette. Connections stay local to your machine, use per-session tokens, and expose read-only context only. After enabling the plugin, choose the IDE from Claude Code's /ide menu.
AIIntegrationsFiles
Details
Current version
0.2.5
Last updated
Last month
Created
4 months ago
Updates
7 releases
Downloads
8k
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

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.

Local REST API with MCP

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

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.

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.

Gemini Scribe

Allows you to interact with Gemini and use your notes as context.

ChatGPT MD

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

Claude Sidebar

Run Claude Code in your sidebar.

Google Drive Sync

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