Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

obsidian-web-mcp

Source: github.com/jimprosser/obsidian-web-mcp Language: Python | Status: Active (71 stars)

Secure remote MCP server for Obsidian vaults with OAuth 2.0 auth, Cloudflare Tunnel, and atomic writes safe for Obsidian Sync.

What It Does

obsidian-web-mcp makes your Obsidian vault accessible from anywhere — Claude web, mobile, and desktop — via an HTTP MCP endpoint proxied through Cloudflare Tunnel with OAuth 2.0 PKCE authentication.

Key Features

  • 9 MCP tools: read, batch read, write, frontmatter update, search, frontmatter search, list, move, soft-delete
  • Remote access via Cloudflare Tunnel + OAuth 2.0 PKCE
  • Atomic writes (write-to-temp-then-rename) safe for Obsidian Sync
  • In-memory frontmatter index with filesystem watcher for auto-updates
  • ripgrep for full-text search (falls back to Python if unavailable)
  • Path traversal protection, safety limits (1MB/file, 20 files/batch)
  • launchd plist for macOS always-on deployment

Comparison to kb-mcp

Aspectobsidian-web-mcpkb-mcp
TransportHTTP (remote via Cloudflare)stdio (local)
Searchripgrep grep (no ranking)BM25 ranked + optional vector
Vault operationsRich (batch read, move, delete, frontmatter)Focused (search, read, write, context)
AuthOAuth 2.0 PKCENone (local only)
Obsidian-specificYes (Sync-safe, .trash, frontmatter index)No (any markdown)
Token efficiencyNo equivalentkb_context (frontmatter + summary)

Relationship: Different problem domains. obsidian-web-mcp solves remote vault access; kb-mcp solves effective knowledge search. Both serve Obsidian vaults but from opposite directions.

Patterns Worth Adopting

  • Filesystem watcher — auto-reindex when files change (instead of manual reindex calls)
  • Frontmatter index — in-memory YAML index for structured queries beyond full-text search
  • HTTP transport — relevant for kb-mcp’s Phase 4 HTTP daemon mode