An Obsidian plugin that embeds Claude Code as an AI collaborator in your vault
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
{
"mcpServers": {
"claudian": {
"command": "node",
"args": ["/path/to/claudian/dist/index.js"]
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows).<placeholder> values with your API keys or paths.MCP Servers overview
# Claudian




An Obsidian plugin that embeds AI coding agents (Claude Code, Codex, and more to come) in your vault. Your vault becomes the agent's working directory — file read/write, search, bash, and multi-step workflows all work out of the box.
## Features & Usage
Open the chat sidebar from the ribbon icon or command palette. Select text and use the hotkey for inline edit. Everything works like Claude Code or Codex — talk to the agent, and it reads, writes, edits, and searches files in your vault.
**Inline Edit** — Select text or start at the cursor position + hotkey to edit directly in notes with word-level diff preview.
**Slash Commands & Skills** — Type `/` or `$` for reusable prompt templates or Skills from user- and vault-level scopes.
**`@mention`** - Type `@` to mention anything you want the agent to work with, vault files, subagents, MCP servers, or files in external directories.
**Plan Mode** — Toggle via `Shift+Tab`. The agent explores and designs before implementing, then presents a plan for approval.
**Instruction Mode (`#`)** — Refined custom instructions added from the chat input.
**MCP Servers** — Connect external tools via Model Context Protocol (stdio, SSE, HTTP). Claude manages vault MCP in-app; Codex uses its own CLI-managed MCP configuration.
**Multi-Tab & Conversations** — Multiple chat tabs, conversation history, fork, resume, and compact.
## Requirements
- **Claude provider**: [Claude Code CLI](https://code.claude.com/docs/en/overview) installed (native install recommended). Claude subscription/API or compatible provider ([Openrouter](https://openrouter.ai/docs/guides/guides/claude-code-integration), [Kimi](https://platform.moonshot.ai/docs/guide/agent-support), etc.).
- **Codex provider** (optional): [Codex CLI](https://github.com/openai/codex) installed.
- Obsidian v1.4.5+
- Desktop only (macOS, Linux, Windows)
## Installation
### From GitHub Release (recommended)
1. Download `main.js`, `manifest.json`, and `styles.css` from the [latest release](https://github.com/YishenTu/claudian/releases/latest)
2. Create a folder called `claudian` in your vault's plugins folder:
```
/path/to/vault/.obsidian/plugins/claudian/
```
3. Copy the downloaded files into the `claudian` folder
4. Enable the plugin in Obsidian:
- Settings → Community plugins → Enable "Claudian"
### Using BRAT
[BRAT](https://github.com/TfTHacker/obsidian42-brat) (Beta Reviewers Auto-update Tester) allows you to install and automatically update plugins directly from GitHub.
1. Install the BRAT plugin from Obsidian Community Plugins
2. Enable BRAT in Settings → Community plugins
3. Open BRAT settings and click "Add Beta plugin"
4. Enter the repository URL: `https://github.com/YishenTu/claudian`
5. Click "Add Plugin" and BRAT will install Claudian automatically
6. Enable Claudian in Settings → Community plugins
> **Tip**: BRAT will automatically check for updates and notify you when a new version is available.
### From source (development)
1. Clone this repository into your vault's plugins folder:
```bash
cd /path/to/vault/.obsidian/plugins
git clone https://github.com/YishenTu/claudian.git
cd claudian
```
2. Install dependencies and build:
```bash
npm install
npm run build
```
3. Enable the plugin in Obsidian:
- Settings → Community plugins → Enable "Claudian"
### Development
```bash
# Watch mode
npm run dev
# Production build
npm run build
```
> **Tip**: Copy `.env.local.example` to `.env.local` or `npm install` and setup your vault path to auto-copy files during development.
## Privacy & Data Use
- **Sent to API**: Your input, attached files, images, and tool call outputs. Default: Anthropic (Claude) or OpenAI (Codex); configurable via environment variables.
- **Local storage**: Claudian settings and session metadata in `vault/.claudian/`; Claude provider files in `vault/.claude/`; transcripts in `~/.claude/projects/` (Claude) and `~/.codex/sessions/` (Codex).
- **No telemetry**: No tracking beyond your configured API provider.
## Troubleshooting
### Claude CLI not found
If you encounter `spawn claude ENOENT` or `Claude CLI not found`, the plugin can't auto-detect your Claude installation. Common with Node version managers (nvm, fnm, volta).
**Solution**: Find your CLI path and set it in Settings → Advanced → Claude CLI path.
| Platform | Command | Example Path |
|----------|---------|--------------|
| macOS/Linux | `which claude` | `/Users/you/.volta/bin/claude` |
| Windows (native) | `where.exe claude` | `C:\Users\you\AppData\Local\Claude\claude.exe` |
| Windows (npm) | `npm root -g` | `{root}\@anthropic-ai\claude-code\cli.js` |
> **Note**: On Windows, avoid `.cmd` wrappers. Use `claude.exe` or `cli.js`.
**Alternative**: Add your Node.js bin directory to PATH in Settings → Environment → Custom variables.
### npm CLI and Node.js not in same directory
If using npm-installed CLI, check if `claude` and `node` are in the same directory:
```bash
dirname $(which claude)
dirname $(which node)
```
If different, GUI apps like Obsidian may not find Node.js.
**Solutions**:
1. Install native binary (recommended)
2. Add Node.js path to Settings → Environment: `PATH=/path/to/node/bin`
### Codex provider
Codex support is live but still needs more testing across platforms and installation methods. If you run into any bugs, please [submit a GitHub issue](https://github.com/YishenTu/claudian/issues).
## Architecture
```
src/
├── main.ts # Plugin entry point
├── app/ # Shared defaults and plugin-level storage
├── core/ # Provider-neutral runtime, registry, and type contracts
│ ├── runtime/ # ChatRuntime interface and approval types
│ ├── providers/ # Provider registry and workspace services
│ ├── security/ # Approval utilities
│ └── ... # commands, mcp, prompt, storage, tools, types
├── providers/
│ ├── claude/ # Claude SDK adaptor, prompt encoding, storage, MCP, plugins
│ └── codex/ # Codex app-server adaptor, JSON-RPC transport, JSONL history
├── features/
│ ├── chat/ # Sidebar chat: tabs, controllers, renderers
│ ├── inline-edit/ # Inline edit modal and provider-backed edit services
│ └── settings/ # Settings shell with provider tabs
├── shared/ # Reusable UI components and modals
├── i18n/ # Internationalization (10 locales)
├── utils/ # Cross-cutting utilities
└── style/ # Modular CSS
```
## Roadmap
- [x] 1M Opus and Sonnet models
- [x] Codex provider integration
- [ ] More to come!
## License
Licensed under the [MIT License](LICENSE).
## Star History
<a href="https://www.star-history.com/?repos=YishenTu%2Fclaudian&type=date&legend=top-left">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/image?repos=YishenTu/claudian&type=date&theme=dark&legend=top-left" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/image?repos=YishenTu/claudian&type=date&legend=top-left" />
<img alt="Star History Chart" src="https://api.star-history.com/image?repos=YishenTu/claudian&type=date&legend=top-left" />
</picture>
</a>
## Acknowledgments
- [Obsidian](https://obsidian.md) for the plugin API
- [Anthropic](https://anthropic.com) for Claude and the [Claude Agent SDK](https://platform.claude.com/docs/en/agent-sdk/overview)
- [OpenAI](https://openai.com) for [Codex](https://github.com/openai/codex)
What people ask about claudian
What is YishenTu/claudian?
+
YishenTu/claudian is mcp servers for the Claude AI ecosystem. An Obsidian plugin that embeds Claude Code as an AI collaborator in your vault It has 9.3k GitHub stars and was last updated 3d ago.
How do I install claudian?
+
You can install claudian by cloning the repository (https://github.com/YishenTu/claudian) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is YishenTu/claudian safe to use?
+
Our security agent has analyzed YishenTu/claudian and assigned a Trust Score of 100/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains YishenTu/claudian?
+
YishenTu/claudian is maintained by YishenTu. The last recorded GitHub activity is from 3d ago, with 76 open issues.
Are there alternatives to claudian?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy claudian to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/yishentu-claudian)<a href="https://claudewave.com/repo/yishentu-claudian"><img src="https://claudewave.com/api/badge/yishentu-claudian" alt="Featured on ClaudeWave — YishenTu/claudian" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
A collection of MCP servers.
The fastest path to AI-powered full stack observability, even for lean teams.
The all-in-one AI productivity accelerator. On device and privacy first with no annoying setup or configuration.