Benjamin Reitzammer37 downloadsChat with Claude in the sidebar or in a tab, on desktop and mobile. The agent runs on a server you host, so your sessions keep going when your device sleeps.
Claudius Chat is a sidebar for Obsidian that lets you chat with Claude on desktop and phone. Claudius runs the agent on a server you host, so your sessions keep going when your device sleeps.

Claudius Chat puts the Claude Code agent, which can read, search and edit the notes in your vault, behind a chat UI instead of a terminal. Replies and thinking stream in, tool calls and the agent's todo list are shown, and anything destructive waits for your Allow or Deny.
claude CLI. Resume a chat in your terminal, or the other way round.This is self-hosted. It needs a small server of your own, not just a plugin install. You need:
Tailscale on the host and on every device you chat from is optional but strongly recommended.
Without the server the plugin is an empty sidebar. It cannot talk to Claude by itself.
Obsidian (desktop / phone) always-on host
┌────────────────────────┐ ws:// ┌──────────────────────────────┐
│ Claudius Chat plugin │ ──────────▶ │ Claudius Chat server │
│ (sidebar view) │ Tailscale │ (owns the sessions, runs │
└────────────────────────┘ + token │ Claude Code via Agent SDK) │
└──────────────────────────────┘
your vault ⇄ your file sync ⇄ vault copy on the host
1. Tailscale. Install it on the host and on each device and run tailscale up. On the host, note its address with tailscale ip -4. Again: This is optional, but strongly recommended.
2. Server, on the host.
git clone https://github.com/benjmin-r/obsidian-claudius-chat.git ~/projects/obsidian-claudius-chat
cd ~/projects/obsidian-claudius-chat
npm install
npm run build -w @occ/protocol && npm run build -w @occ/server
cp packages/server/occ-server.env.example ~/.config/occ-server.env
chmod 600 ~/.config/occ-server.env
Edit ~/.config/occ-server.env and set OCC_TOKEN (generate one with openssl rand -hex 32), OCC_HOST (the Tailscale address from step 1) and OCC_VAULT_CWD (the vault copy on the host). Then start it:
node --env-file="$HOME/.config/occ-server.env" packages/server/dist/index.js
# [occ] listening on ws://100.x.y.z:8765 (cwd=..., model=...)
That is enough to try it. To keep it running across reboots, set it up as a service: see docs/SERVER.md.
3. Plugin, in each vault. Until the plugin is in the community directory, install it with BRAT, a community plugin that installs plugins straight from GitHub releases and keeps them updated (it works on iOS and Android too):
benjmin-r/obsidian-claudius-chat.ws://<tailscale-ip>:8765, or your host's .ts.net name) and Bearer token (the same OCC_TOKEN).4. Check it works. Select the message icon in the ribbon (or run Claudius Chat: Open chat) and send "hello". The connection icon in the chat toolbar should show that you are connected. If it isn't, see Troubleshooting.
@ to mention a note from your vault.| Desktop | Mobile |
|---|---|
![]() |
![]() |
The agent is Claude Code: it can read, create and edit files and run shell commands, as the user the server runs as, with your vault as its working directory. It is not sandboxed to the vault.
rm, mv, a truncating >, git reset --hard, force-push, and similar) stop and ask for Allow or Deny. This is a deliberately small list of patterns, not a guarantee. Keep backups or version history of your vault.@. It writes a note into the export folder you choose when you export a conversation. The agent's file access happens on the server, inside your vault copy.packages/plugin is the Obsidian plugin and the only part bundled into main.js: it uses no Node.js APIs and runs on mobile. packages/server is a separate Node.js program that runs on your host and never inside Obsidian, so its use of Node built-ins (fs, http, ...) is expected. packages/protocol holds the message types the two share.The server uses your own Claude login and you sign in through Claude Code on your own host, whether via a subscription, API keys or 3rd party like AWS Bedrock.
As I read Anthropic's documentation, using your Claude subscription in this way is covered, and the thing it prohibits is the opposite (routing other people's requests through subscription credentials). See the note in the Agent SDK overview, Legal and compliance: authentication and credential use, and the Help Center article Use the Claude Agent SDK with your Claude plan (checked 2026-11-16). If you want to build something for other people, use API keys not a subscription.
| What you see | Likely cause and fix |
|---|---|
| "No server URL configured" or "Invalid server URL" | Set Server URL in Settings → Claudius Chat, like ws://100.x.y.z:8765. |
| "Invalid token" and no reconnecting | The token differs from OCC_TOKEN. Fix it in settings; the plugin reconnects. |
| Disconnected icon, nothing else | The server is down, Tailscale is off on the host or this device, or the address or port is wrong. On the host run tailscale status and journalctl -u occ-server -f. |
| Connects, but messages fail | Claude Code isn't signed in for the user the server runs as. Run claude as that user. |
| Chat is read-only with a lock banner | The same session is open in a terminal. Close it there, then select Reload. See docs/CLI_INTEROP.md. |
| Agent's edits don't show on another device | That is your file sync. This project doesn't sync files. |
| An old session is missing from the list | The list shows only the 50 most recently modified sessions. |
Version 0.1, used daily by its author. Expect rough edges, especially on mobile and when it comes to layout and design. Bug reports are welcome on the issue tracker.
claude CLI in the same vault