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

mybrain.ai

mybrain.ai85 downloads

Sync your Obsidian vault into mybrain.ai. Notes and links become a searchable, lasting personal knowledge asset you can query and build on.

Add to Obsidian
mybrain.ai screenshot
mybrain.ai screenshot
mybrain.ai screenshot
mybrain.ai screenshot
mybrain.ai screenshot
mybrain.ai screenshot
mybrain.ai screenshot
mybrain.ai screenshot
mybrain.ai screenshot
  • Overview
  • Scorecard
  • Updates6

This official plugin, maintained by the mybrain.ai team, connects your Obsidian vault to your MyBrain account. Your notes and the links between them sync automatically, and MyBrain turns them into knowledge sources you can search, chat with, and build on alongside everything else you know — so your second brain becomes a lasting personal asset instead of information that sits still in a folder.

The MyBrain connectors page, where you connect Obsidian and other services

Note: A MyBrain account is required — the plugin does nothing without a bearer token issued by your account.

Features

  • Automatic, continuous sync — after the first full-vault sync, new notes, edits, renames, and deletes flow to MyBrain as you work. No manual exports.
  • You decide what syncs — choose which vault folders sync at all, then pick per note which ones MyBrain actually uses. Folders outside the scope never leave your machine.
  • Notes become queryable knowledge — synced notes join your other sources in MyBrain's search, chat, and knowledge graph, so you can query, combine, and reuse what you already know.
  • Works on mobile — runs on Obsidian Mobile, with attachment uploads off by default to protect cellular data.
  • Update notices, never auto-updates — the plugin tells you when a new version exists but never changes files itself.
  • Transparent by design — every request the plugin makes is documented under What the plugin sends.

Install

In Obsidian: Settings → Community plugins → Browse → search for "mybrain.ai" → Install → Enable.

The plugin's directory listing is at community.obsidian.md/plugins/mybrain-ai.

Connect your vault

  1. In the MyBrain web app, open the connectors page and connect Obsidian. A dialog appears with an Open in Obsidian button and, as a manual fallback, a bearer token (shown only once) with a Copy button.
  2. Click Open in Obsidian — a confirmation inside Obsidian shows exactly which settings will change (token masked) before anything is written. Or paste the token manually into the Bearer token field in the plugin's settings tab.
  3. Click Test connection.
  4. Click Resync full vault to send your existing notes. New edits sync automatically.

Selecting which notes are active in MyBrain

Receiving notes is not the same as using them. After the plugin syncs your vault, the MyBrain web app gives you two levels of control:

  • Sync scope — in the web app, choose which vault folders sync at all. The choice is pushed to the plugin over the WebSocket and applied immediately; folders outside the scope are never sent from your machine.
  • Per-file selector — of the notes that did sync, pick which ones are actually used in search / chat / the knowledge graph. Unselected notes stay in your account (so toggling them back on is instant) but are excluded from anything MyBrain reasons over.

Skip rules

  • Files under the vault's config folder (.obsidian by default; respects a custom configDir) are always skipped.
  • Non-.md files are skipped as standalone sources. Binary attachments are uploaded only when referenced from a note.
  • Folders outside the sync scope you set in the MyBrain web app are skipped.

Update notifications

Once connected, the plugin asks your MyBrain endpoint for the latest published release about once a day (and on demand via Check for updates in plugin settings). When a newer version exists, it shows a notice and a dialog with the release notes and update instructions. The plugin never installs updates itself — updating happens through Obsidian's community-plugin updater. Each new version can be skipped per device; a skipped version stays silent until the next release ships, but the Plugin version row in settings keeps showing that an update is available.

Mobile

The plugin runs on Obsidian Mobile. Attachment uploads on cellular can be expensive, so they're off by default on mobile — you can enable them under Sync attachments on mobile in plugin settings.

What the plugin sends

The plugin connects only to MyBrain's ingest endpoint. All traffic is over HTTPS / WSS to that single host. No other hosts are contacted from your machine, and no data is shared with third parties.

HTTP endpoints

  • POST /manifest — the full vault listing: for every markdown file, the relative path, basename, content, frontmatter, modification time, size, and SHA-256 content hash. Sent on first connect (initial vault scan) and whenever the server asks for a refresh via the WebSocket below.
  • POST /ingest — incremental vault deltas. For each changed file: the same fields as /manifest, plus extracted wikilink and standard-markdown-link targets, plus references (hash + path) to any non-markdown files the note embeds. Triggered (with a short debounce) by Obsidian's create/modify/delete/rename vault events.
  • POST /attachments — binary contents of attachment files referenced by ![[file.ext]] or ![alt](path) in notes. Only sent when the server reports it doesn't already have a copy (content-hash deduplication).
  • GET /ping — health check, sent when you click Test connection in plugin settings.
  • GET /latest-release — the latest published plugin version and its release notes, used for update notifications. At most once a day, plus when you click Check for updates. MyBrain's servers source this from the plugin's GitHub releases — your machine never contacts GitHub.

WebSocket

  • wss://…/ws — a long-lived WebSocket the plugin opens after authenticating and keeps connected for the lifetime of the session. It auto-reconnects with exponential backoff and jitter if the connection drops. Its purpose is to let the server push messages at any time: a manifest_request prompts the plugin to re-send POST /manifest (e.g. after a server-side index rebuild), and a sync-scope update changes which folders sync (see above). The connection authenticates by passing the bearer token as the bearer.<token> WebSocket subprotocol.

Version reporting

Every request to your MyBrain endpoint carries two extra headers: X-MyBrain-Plugin-Version (the installed plugin version) and X-MyBrain-Device-Id (a random UUID generated per install and kept in device-local storage — it never syncs with your vault and never leaves your MyBrain endpoint). MyBrain uses them to show an update notice for your connected vault in the web app. How this data is handled is covered by the MyBrain privacy policy.

Privacy

Your data goes only between your Obsidian vault and MyBrain's ingest endpoint. The per-install id and plugin version described under Version reporting are handled per the MyBrain privacy policy. The bearer token is stored in plain text inside this vault's plugin data; avoid storing production tokens in synced or shared vaults, and rotate the token in the MyBrain web app if the vault is compromised. The plugin's source code is open at github.com/mybrain-ai/obsidian-plugin for inspection.

Development

To work on the plugin locally or test an unreleased version, sideload a development build:

  1. Clone this repo and install dependencies:
    git clone https://github.com/mybrain-ai/obsidian-plugin.git
    cd obsidian-plugin
    npm install
    
  2. Build:
    npm run build
    
    This produces main.js in the repo root; manifest.json and styles.css are already in the repo. The build bakes in the production ingest endpoint as the default — to develop against a local backend, connect through the deep link from your locally running web app, which stores the local endpoint in the plugin's settings (stored settings always beat the baked default).
  3. Find your vault's plugin directory. On macOS, Obsidian's vault registry lives at ~/Library/Application Support/obsidian/obsidian.json (%APPDATA%\obsidian\obsidian.json on Windows, ~/.config/obsidian/obsidian.json on Linux). The plugin folder inside any vault is <vault>/.obsidian/plugins/mybrain-ai/.
  4. Copy the three files into that folder, creating it if needed:
    mkdir -p "<vault>/.obsidian/plugins/mybrain-ai"
    cp main.js manifest.json styles.css "<vault>/.obsidian/plugins/mybrain-ai/"
    
  5. In Obsidian: Settings → Community plugins. If you see "Restricted mode," turn it off first. Then click Reload plugins (or restart Obsidian) and toggle mybrain.ai on under Installed plugins.
  6. Continue with Connect your vault above.

To iterate, re-run step 2 and copy the new main.js over; in Obsidian disable then re-enable the plugin (or use the "Hot reload" plugin) to pick up the change.

Support

mybrain.ai · Report an issue

License

MIT — see LICENSE.

HealthExcellent
ReviewPassed
About
mybrain.ai turns your personal knowledge into a lasting, private asset you can reuse and build on, instead of information that lives once and gets lost. This plugin connects your Obsidian vault directly to mybrain.ai: your notes and the links between them sync automatically, so your second brain becomes part of a system that understands what you already know. Once connected, mybrain.ai analyzes your notes and their connections and turns the strongest candidates into knowledge sources you can query, combine, and reuse across your work. Every note stays yours: sovereign, private, and under your control. After the first sync, updates to your vault stay in step with mybrain.ai automatically, so your notes keep compounding as a personal asset rather than sitting still in a folder.
SyncingIntegrations
Details
Current version
1.0.6
Last updated
3 weeks ago
Created
4 months ago
Updates
6 releases
Downloads
85
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
mybrain.aimybrain
  1. Community
  2. Plugins
  3. Syncing
  4. mybrain.ai

Related plugins

Self-hosted LiveSync

Sync vaults securely to self-hosted servers or WEBRTC.

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.

Google Drive Sync

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

Sync Engine

The extensible vault synchronization engine: Fast · Free · Reliable. Supports WebDAV, S3, and Google Drive.

Nutstore Sync

Sync your vault with Nutstore (坚果云) using WebDAV protocol.

OneDrive Sync

Sync your Obsidian vault with OneDrive Personal/Consumer

Remotely Save

Sync notes between local and cloud with smart conflict: S3, Dropbox, webdav, OneDrive, Google Drive, Box, pCloud, Yandex Disk, Koofr, Azure Blob Storage.

Nextcloud Sync

Bidirectional sync between Obsidian and Nextcloud using hash-based change detection.

Air Sync

Keep your vault in sync across devices without managing sync—sync only what changed, preserve conflicting edits, and use your own Google Drive, OneDrive, or Dropbox.

GitHub

Git Sync

Sync your vault across all devices using your own GitHub account. Free forever.