obsidian-sync-mcp
MCP server by es617 Community
Gives AI agents access to an Obsidian vault over MCP, from local vault files or a CouchDB database synced with Self-hosted LiveSync. Suited to people who want assistants to read, search and edit their notes, including from a cloud server.
Install obsidian-sync-mcp
Built from the published package, never by AI.
claude mcp add obsidian-sync-mcp -- npx -y obsidian-sync-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"obsidian-sync-mcp": {
"args": [
"-y",
"obsidian-sync-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"obsidian-sync-mcp": {
"args": [
"-y",
"obsidian-sync-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"obsidian-sync-mcp": {
"args": [
"-y",
"obsidian-sync-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add obsidian-sync-mcp -- npx -y obsidian-sync-mcp{
"mcpServers": {
"obsidian-sync-mcp": {
"args": [
"-y",
"obsidian-sync-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add obsidian-sync-mcp npx -y obsidian-sync-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the obsidian-sync-mcp block.
About
Obsidian Sync MCP gives AI agents access to an Obsidian vault over the Model Context Protocol. It runs in two modes. Filesystem mode reads .md files directly from a vault folder. CouchDB mode reads a vault that syncs through Self-hosted LiveSync, using livesync-commonlib, and supports E2E encryption.
The server exposes the same tools over HTTP, so any MCP-compatible agent can connect. It can run locally with npx or Docker, or deploy to an always-on server such as Fly.io so it works when your machine is off. Authentication is optional and uses a password token or an OAuth 2.1 provider. It suits people who want AI assistants to read, search and edit their Obsidian notes.
Written from the project's README and checked against it.
Tools it gives your assistant
read_noteRead a note's markdown content by path.write_noteCreate or overwrite a note, replacing the entire content.edit_noteAppend, prepend after frontmatter, or replace exact text without rewriting the note.list_foldersList all folders in the vault with note counts.list_tagsList all tags in the vault with counts.list_notesList notes with timestamps, filtered by folder, name, tag or date.search_notesSearch note text for terms and return paths with one context line each.delete_noteDelete a note.move_noteMove or rename a note across folders, creating destination folders as needed.get_note_metadataGet frontmatter, tags, outgoing links, backlinks, size and timestamps.
What you need
- Node.js for the npx setup
- Docker for the container setups
- An Obsidian vault folder for filesystem mode
- CouchDB with Self-hosted LiveSync for CouchDB mode
- A Fly.io account and flyctl for the Fly.io deploy path
| Setting | Needed | What it is |
|---|---|---|
VAULT_Environment variable | Optional | Path to your Obsidian vault directory (filesystem mode) |
COUCHDB_Environment variable | Optional | CouchDB server URL (CouchDB mode) |
COUCHDB_Environment variable | Optional | CouchDB username |
COUCHDB_Environment variable, secret | Optional | CouchDB password (required in CouchDB mode) |
COUCHDB_Environment variable | Optional | CouchDB database name |
COUCHDB_Environment variable, secret | Optional | LiveSync E2E encryption passphrase (must match plugin setting) |
COUCHDB_Environment variable | Optional | Set to 'true' if 'Obfuscate Properties' is enabled in LiveSync (obfuscates file paths, sizes, dates) |
VAULT_Environment variable | Optional | Vault name for deep links and index storage |
MCP_Environment variable, secret | Optional | Password for OAuth authentication |
BASE_Environment variable | Optional | Public URL for OAuth callbacks (required when using a tunnel) |
PORTEnvironment variable | Optional | HTTP port |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- What's in my daily note for today?
- Add a bullet point to my daily note.
- Find my notes about the MCP server and fix the typo in the second one.
Good to know
- Machine must stay on for agents to reach a local setup.
- The server never creates the CouchDB database; startup fails if it is missing.
- Search results return paths and context lines, never the full note body.
- Deep links are noted as working on Mac and iOS.
Security check
C- Downloads a script from the internet and runs itIn
README.md:curl -L https://fly.io/install.sh | sh
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to obsidian-sync-mcp
All alternatives →Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.
ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.
Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.
MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.
Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.
MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.
Compare with Supabase, ArcadeDB MCP Server or DBHub
obsidian-sync-mcp: common questions
Does it work without LiveSync?
Yes. Filesystem mode reads .md files directly from the vault folder and needs no database.
Can I use it when my computer is off?
The source describes deploying the server with CouchDB and LiveSync to an always-on server such as Fly.io, so agents can reach it when your machine is off.
How is access to the MCP server protected?
Setting MCP_AUTH_TOKEN enables authentication through a built-in OAuth 2.1 provider, or a Bearer token for non-OAuth clients. Without it, the server runs unauthenticated.
How do I install obsidian-sync-mcp?
In Claude Code run claude mcp add obsidian-sync-mcp -- npx -y obsidian-sync-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is obsidian-sync-mcp the official server?
obsidian-sync-mcp is a community project by es617, not verified by a company domain.
Is obsidian-sync-mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is obsidian-sync-mcp safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality B. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to obsidian-sync-mcp?
Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.
Does obsidian-sync-mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
