Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 81
  • 79 stars
  • 1k a week
  • MIT
  • Updated

Install obsidian-sync-mcp

Built from the published package, never by AI.

claude mcp add obsidian-sync-mcp -- npx -y obsidian-sync-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install obsidian-sync-mcp in Claude Code

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
SettingNeededWhat it is
VAULT_PATHEnvironment variableOptionalPath to your Obsidian vault directory (filesystem mode)
COUCHDB_URLEnvironment variableOptionalCouchDB server URL (CouchDB mode)
COUCHDB_USEREnvironment variableOptionalCouchDB username
COUCHDB_PASSWORDEnvironment variable, secretOptionalCouchDB password (required in CouchDB mode)
COUCHDB_DATABASEEnvironment variableOptionalCouchDB database name
COUCHDB_PASSPHRASEEnvironment variable, secretOptionalLiveSync E2E encryption passphrase (must match plugin setting)
COUCHDB_OBFUSCATE_PROPERTIESEnvironment variableOptionalSet to 'true' if 'Obfuscate Properties' is enabled in LiveSync (obfuscates file paths, sizes, dates)
VAULT_NAMEEnvironment variableOptionalVault name for deep links and index storage
MCP_AUTH_TOKENEnvironment variable, secretOptionalPassword for OAuth authentication
BASE_URLEnvironment variableOptionalPublic URL for OAuth callbacks (required when using a tunnel)
PORTEnvironment variableOptionalHTTP 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 →
Supabase supabase
97

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.

AAA Local and remote 172k/wk
ArcadeDB MCP Server ArcadeData
94

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.

AAA Local 1.3k
DBHubbytebase
94

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.

AAA Local 343k/wk
MCP Toolbox for Databasesgoogleapis
94

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.

AAA Local 17k
MCP Toolbox for Databasesgoogleapis
94

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.

AAA Local 17k
mongodb-mcp-servermongodb-js
94

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.

AAA Local 203k/wk

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.

obsidian-sync-mcp Install

Add to stack

Loading.