Connect your Obsidian vault to Claude and ChatGPT
An Obsidian vault is a folder of Markdown files, which is exactly what Notedigit serves. Keep the vault in a private Git repository, connect that repository to Notedigit, and Claude, ChatGPT or any other MCP client can search and read your notes from wherever you use them — not only on the computer the vault lives on.
Before you start
- Notedigit is running on your server.
- An account on a git host your server can reach over SSH: GitHub, GitLab, Bitbucket or your own.
- Your vault on a desktop computer with Git installed.
The endpoint looks like this
https://notes.your-company.com/mcp/<repository-id>
-
Step 1: Put the vault in a private repository
Create an empty private repository on your git host. Then turn the vault folder into a Git repository and push it. Leave out Obsidian’s per-device workspace files so every device does not keep changing them.
cd ~/Documents/MyVault git init printf '.obsidian/workspace*.json\n.trash/\n' > .gitignore git add . git commit -m "Vault" git remote add origin git@github.com:you/vault.git git push -u origin main -
Step 2: Keep it in sync from Obsidian
Install the Git community plugin (obsidian-git) in Obsidian and turn on automatic commit-and-sync every few minutes. Your edits then reach the repository without you running Git by hand.
The plugin’s own documentation calls its mobile support very unstable and without SSH, so commit from a desktop, or use a separate sync app on your phone.
-
Step 3: Connect the repository to Notedigit
In Notedigit, add the repository’s SSH address. Notedigit generates a read-only deploy key; add its public key on your git host and run Check connection.
Assign yourself to the repository. If others should read the vault, assign them too — each person’s assistant sees only the repositories assigned to them.
-
Step 4: Add it to your assistant
Copy the repository’s MCP endpoint and add it to your assistant as a custom connector. The Claude, ChatGPT, Claude Code and Cursor guides walk through each one; the sign-in is the same OAuth approval in Notedigit.
-
Step 5: What the assistant sees
Notedigit serves the vault’s Markdown notes through three read-only tools: search, read_file and list_files. Wikilinks come through as plain text, and the assistant can look up the linked note with search. Images, PDFs and other attachments are not served.
A new session reads the branch as it is on your git host, so the latest pushed notes are what the next answer uses. The assistant cannot edit or delete anything in the vault.