Obsidian is a powerful knowledge management tool built on local markdown files. Claude Code is Anthropic's AI coding agent for the terminal. By connecting them, you get an AI assistant that can search your notes, create new ones, and link ideas across your vault — all from the command line.
This guide covers three integration approaches, from zero-config file access to a full MCP bridge with real-time vault interaction.
Why connect them?
- Instant context — point Claude at your notes and it understands your domain
- Automated note creation — generate meeting notes, project docs, or daily summaries
- Cross-reference discovery — Claude finds connections between notes you might miss
- Code + knowledge in one flow — reference your design docs while building features
Prerequisites
- Claude Code installed (
npm install -g @anthropic-ai/claude-code) - An Obsidian vault (any version)
- Node.js 18+ for MCP server methods
Method A: Direct vault access (zero config)
The simplest approach: launch Claude Code from your vault directory. Since Obsidian vaults are just folders of markdown files, Claude can read and edit them directly.
CLAUDE.md file to your vault root explaining your folder structure, tagging conventions, and templates. Claude reads this automatically and adapts to your system.
Method B: Obsidian MCP Server
The obsidian-claude-code-mcp server gives Claude structured access to your vault through the Model Context Protocol. This enables searching by tags, listing backlinks, and working with vault metadata — not just raw file contents.
Install the Obsidian plugin
- Open Obsidian Settings → Community Plugins → Browse
- Search for "Claude Code MCP" and install it
- Enable the plugin — it starts a local WebSocket server on port 22360
Configure Claude Code
What you can do
Method C: Claudian plugin (embedded agent)
For the deepest integration, the Claudian plugin embeds Claude Code directly inside Obsidian as an AI collaborator. Instead of switching between terminal and editor, you interact with Claude from a panel within Obsidian.
Install
- Clone the Claudian repo into your vault's
.obsidian/plugins/directory - Build the plugin:
npm install && npm run build - Enable "Claudian" in Obsidian's community plugins settings
With Claudian, Claude has full vault context and can respond to natural language commands directly in your note-taking flow.
Workflow patterns
Developer knowledge base
Keep architecture decision records (ADRs), runbooks, and debugging notes in Obsidian. When coding with Claude, it can reference these notes for context:
Research synthesis
Collect research notes in your vault, then ask Claude to synthesize them:
Meeting-to-code pipeline
Turn meeting notes into actionable tasks and code: