Back to MCP Servers
🧩

obsidian-sync-mcp

API key required

Give AI agents access to your Obsidian vault via local files or Self-hosted LiveSync.

To add obsidian-sync-mcp to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It needs 11 environment variables, listed below.

FilesAIDevTools

Install

npx -y obsidian-sync-mcp@0.5.2

Environment variables

VAULT_PATHSet in your MCP config
COUCHDB_URLSet in your MCP config
COUCHDB_USERSet in your MCP config
COUCHDB_PASSWORDSet in your MCP config
COUCHDB_DATABASESet in your MCP config
COUCHDB_PASSPHRASESet in your MCP config
COUCHDB_OBFUSCATE_PROPERTIESSet in your MCP config
VAULT_NAMESet in your MCP config
MCP_AUTH_TOKENSet in your MCP config
BASE_URLSet in your MCP config
PORTSet in your MCP config

Install with your client

Terminal
claude mcp add obsidian-sync --env VAULT_PATH=<YOUR_VAULT_PATH> --env COUCHDB_URL=<YOUR_COUCHDB_URL> --env COUCHDB_USER=<YOUR_COUCHDB_USER> --env COUCHDB_PASSWORD=<YOUR_COUCHDB_PASSWORD> --env COUCHDB_DATABASE=<YOUR_COUCHDB_DATABASE> --env COUCHDB_PASSPHRASE=<YOUR_COUCHDB_PASSPHRASE> --env COUCHDB_OBFUSCATE_PROPERTIES=<YOUR_COUCHDB_OBFUSCATE_PROPERTIES> --env VAULT_NAME=<YOUR_VAULT_NAME> --env MCP_AUTH_TOKEN=<YOUR_MCP_AUTH_TOKEN> --env BASE_URL=<YOUR_BASE_URL> --env PORT=<YOUR_PORT> -- npx -y obsidian-sync-mcp@0.5.2

Run this in a terminal to add the server to Claude Code.

What this does

obsidian-sync-mcp exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.

Requirements

This server needs the following environment variables to be set before it can run:

VAULT_PATH
COUCHDB_URL
COUCHDB_USER
COUCHDB_PASSWORD
COUCHDB_DATABASE
COUCHDB_PASSPHRASE
COUCHDB_OBFUSCATE_PROPERTIES
VAULT_NAME
MCP_AUTH_TOKEN
BASE_URL
PORT

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Frequently asked questions

How do I install obsidian-sync-mcp?

Run the Claude Code command in the install section to add obsidian-sync-mcp to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.

Which clients work with obsidian-sync-mcp?

This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to obsidian-sync-mcp as well.

Does obsidian-sync-mcp need an API key?

Yes. Before it can run, set these environment variables: VAULT_PATH, COUCHDB_URL, COUCHDB_USER, COUCHDB_PASSWORD, COUCHDB_DATABASE, COUCHDB_PASSPHRASE, COUCHDB_OBFUSCATE_PROPERTIES, VAULT_NAME, MCP_AUTH_TOKEN, BASE_URL, PORT. They go in the env block of your MCP config.

Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.

Is this your MCP server?

Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.

Listed on clauderules.net

Add this badge to your README

Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.

Markdown
[![Listed on clauderules.net](https://clauderules.net/api/badge/io-github-es617-obsidian-sync-mcp)](https://clauderules.net/mcp/io-github-es617-obsidian-sync-mcp)
HTML
<a href="https://clauderules.net/mcp/io-github-es617-obsidian-sync-mcp" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/io-github-es617-obsidian-sync-mcp" alt="Listed on clauderules.net" /></a>