ModelBrain MCP server
Commit Nov 11, 2026Search your Obsidian vault and saved memories to provide context to AI assistants like Claude, ChatGPT, and Cursor.
Also known as ModelBrain/modelbrain-obsidian
- Stars
- 0
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- —
- Last commit
- Nov 11, 2026
- License
- MIT
What is ModelBrain MCP?
ModelBrain searches your Obsidian vault and saved memories to provide context to AI assistants like Claude, ChatGPT, and Cursor.
Summary generated from the project's README
About ModelBrain MCP server
Providing context to AI assistants by searching your Obsidian vault and saved memories is the primary function of this server. It acts as a window into the ModelBrain desktop application, which maintains a local index of your information on your own computer. Users can search across notes and memories simultaneously or select specific text to save as a memory that Claude, ChatGPT, and Cursor can recall later.
To use this tool, you must have the ModelBrain desktop app installed and running on macOS, Windows, or Linux. The setup requires connecting your specific vault folder through the ModelBrain menu or a terminal command on Linux. This local connection ensures that no network requests are made and your data stays on your machine. The plugin works with Obsidian version 1.13 or later and uses helper programs like mcp_server to pass requests between the environments.
This setup is unique because it creates a shared memory layer between your personal notes and various AI clients without requiring an account. It focuses on reading and retrieving information rather than modifying your files, as it never changes, creates, or deletes any notes in your vault.
What you can do with it
- 1Retrieve personal knowledge for AIAsk an AI assistant to find specific information buried within your Obsidian notes using a single search query.
- 2Create persistent AI memoriesInstruct your AI to remember a specific piece of text from a note so it can be used in future conversations.
- 3Find connections between notes and memoriesIdentify what your AI assistants already know about the specific note you are currently viewing.
Written from the project's README. Every use case is checked against a quote from it.
README
View on GitHubModelBrain for your vault
Search this vault together with everything your AI assistants have been told to remember, and save a selection as a memory that Claude, ChatGPT and Cursor can all recall.
This plugin is a window onto the ModelBrain desktop app. It does nothing without it. ModelBrain is a memory layer for AI assistants that keeps its index on your own computer. It is free for one person, with no account.
What it does
- Search panel. One search across your notes and your saved memories. A result from this vault opens the note it came from.
- Remember selection. Select text in a note, then run "Remember selection" from the command palette or the right-click menu. The text is saved as a memory, with the note's path, so any connected assistant can recall it later.
- Related memories. "Show memories related to this note" lists what your assistants already know that touches the open note.
- Status. The settings tab shows whether ModelBrain is running, its version, and whether this vault is connected.
It never changes, creates or deletes a note.
Requirements
- Obsidian 1.13 or later on macOS, Windows or Linux. Desktop only: there is no phone or tablet support, because the plugin talks to a program on your computer.
- The ModelBrain desktop app, installed and started once. Download it here.
First run
- Install and start ModelBrain.
- Enable this plugin and open its settings tab. Status should read "Connected".
- The first time the plugin talks to ModelBrain, ModelBrain may ask whether to allow Obsidian. Choose Allow.
- Connect the vault, below.
Connecting this vault
ModelBrain only reads a folder that you have chosen yourself, in its own menu or in a terminal. That is a deliberate safety rule, and this plugin does not get around it.
- macOS and Windows: open the ModelBrain menu, choose Add Vault, and pick this vault's folder. The plugin's settings tab shows the folder path to pick.
- Linux: run
connector_sync register notes /path/to/vaultin a terminal.
The first pass over a large vault takes a while. After that only changed notes are read again. See the Obsidian guide for what is read and what is skipped.
Privacy and disclosures
Obsidian asks plugins to state these plainly.
- Programs outside the vault. The plugin starts two helper programs that the ModelBrain app installed:
mcp_server, which passes requests to ModelBrain, andconnector_sync list, which reads the list of folders ModelBrain is connected to. It needs these because ModelBrain is a separate app. The plugin itself does not read or write any file outside your vault. - Network. The plugin makes no network requests. It talks to ModelBrain on the same computer through that helper program.
- What it sends to ModelBrain. The text you type into the search box; the text you select when you run "Remember selection", with the note's path; and, for related memories, the note's title and about its first 400 characters.
- Clipboard. Not used.
- Telemetry. None.
- Account and payment. None needed. ModelBrain sells optional sync between computers and team sharing. This plugin does not use or need either.
- Source. This plugin is open source under the MIT licence. The ModelBrain app it talks to is closed source.
What ModelBrain itself does with your notes is described on its privacy page.
Settings
- Results per search. How many results the panel asks for.
- Install folder. Leave empty. Set it only if ModelBrain is installed somewhere unusual.
Limits
- Plain search returns ranked results. It does not write an answer.
- A result from a connected folder other than this vault is shown but cannot be opened from here.
- Notes you have just edited take a little while to show up, because ModelBrain indexes in the background.
Development
npm install
npm run build # type-check and bundle to main.js
npm test # runs the client against a stand-in helper
npx eslint .
To try a build, copy main.js, manifest.json and styles.css into <vault>/.obsidian/plugins/modelbrain/ and enable the plugin.
Releases are built by GitHub Actions when a version tag is pushed. The workflow builds from this source, runs the tests, records a build attestation for main.js, manifest.json and styles.css, and attaches them to the release.
Licence
MIT. See LICENSE.
ModelBrain MCP questions
Can the plugin create or delete my notes?
No, the plugin is read-only regarding your notes and will never change, create, or delete them.
Does the plugin send my data over the internet?
No, the plugin makes no network requests and communicates with ModelBrain locally on your computer.
How do I connect my vault to ModelBrain?
You must add the vault folder through the ModelBrain desktop app menu or via a terminal command on Linux.