Hatchdoor logo

Hatchdoor

Self-host Markdown and Obsidian vaults with a web UI and MCP tools for agents to search, edit, link, and manage notes.

Install Hatchdoor

Run the project’s own setup commands, in order.

Setup steps from the project

Hatchdoor installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Start the server
    podman compose
    
  2. 2. Configure
    cp .env.example .env
    
  3. 3. Configure
    mkdir -p data/state
    
  4. 4. Configure
    chmod 700 data/state
    
  5. 5. Configure
    sudo chown 65532:65532 data/state
    
  6. 6. Configure
    podman unshare chown 65532:65532 data/state
    

Overview

Hatchdoor MCP server connects AI agents to self-hosted folders of Markdown notes, including Obsidian vaults, without requiring Obsidian or plugins. It combines a browser-based vault interface with MCP access for reading, keyword and semantic search, creating, editing, moving, and linking notes. Markdown files remain the source of truth while a disposable SQLite read model supports searches, backlinks, graph data, and metadata. Reach for Hatchdoor when agents and people need access to the same locally controlled vaults, with optional Git commit-and-push for writes.

Use cases

  • Serve Obsidian vaults from a homelab without running Obsidian
  • Let agents search and update shared Markdown notes
  • Manage multiple vaults from one self-hosted instance
  • Keep agent writes synchronized through optional Git commits
  • Browse backlinks, graphs, and semantic search results in a web UI

Key features

  • Web UI for Markdown and Obsidian vaults
  • MCP tools for note and attachment operations
  • Keyword, semantic, and exact-string search
  • Multi-vault serving with per-vault agent scope
  • Atomic writes with optimistic concurrency
  • Optional automatic Git commit-and-push

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

21/21 checks healthy over the last 47d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars80Stargazers on the source repository.
Last commitTodayMost recent push to the default branch.

How Hatchdoor works

What Hatchdoor does

Hatchdoor serves one or more self-hosted Markdown folders through two interfaces: a web UI for people and an MCP server for AI agents. Obsidian vaults are supported, but the files do not need to be managed by Obsidian. The original Markdown files remain authoritative, so the system can work with an ordinary folder of notes as well.

The web interface supports browsing, rendering, searching, editing, attachments, backlinks, outbound links, recent notes, statistics, and graph views. It renders GitHub-flavored Markdown, frontmatter, images, math, Mermaid diagrams, and Obsidian-style wikilinks. A writable vault can be edited in the browser using a live-preview-style editor.

One Hatchdoor instance can serve multiple vaults. Each vault can have its own source, Git synchronization settings, and agent scope. Note renames and moves update supported Obsidian wikilinks and Markdown links to keep references aligned.

How it works

Hatchdoor reads vault content directly from disk rather than depending on a running desktop application or an Obsidian plugin. It builds a disposable SQLite read model for browsing, keyword search, semantic search, graph information, links, backlinks, and metadata. Deleting that cache does not delete the notes; Hatchdoor rebuilds it from the vault.

Agent writes use the same atomic vault operations as the web UI. Optimistic concurrency helps protect changes when multiple sources edit the same content. Optional Git integration can commit and push Hatchdoor writes, identifying whether a change came from the web UI, a named agent, or an outside edit. Sync conflicts are handled through a recovery branch on the Git host.

Tools and capabilities

MCP clients can use Hatchdoor to:

  • Read notes and request compact search results suited to an agent context window.
  • Search notes by keyword or semantic meaning, or run exact-string searches that count occurrences.
  • Request an outline or selected sections from a long note.
  • Create, edit, move, and link notes.
  • Rename or delete a tag across a vault as one checked operation.
  • Transfer attachments through short-lived download and upload links.
  • Read and search Hatchdoor’s built-in documentation through read_docs and search_docs.

The server also supports saved queries expressed with fenced Obsidian Bases blocks, which can produce live tables of selected notes for both people and agents.

Setup and configuration

Hatchdoor can be deployed with Docker or Podman using a rootless, distroless container image that runs as nonroot. A fresh installation includes a setup checklist covering instance initialization, vault selection, and connecting an agent. The folder picker is intended to avoid requiring users to enter container paths manually.

The web UI and MCP access can operate against the same vault, allowing a person to inspect or edit notes while an agent works with them. PWA assets and service-worker caching support common read paths in compatible browsers.

Limitations and notes

Hatchdoor is self-hosted rather than a hosted synchronization service. It is not a multi-user collaboration platform and is not a replacement for Obsidian. Its use case is a Markdown vault controlled by the operator and served independently of the Obsidian application.

Agent access is intended for clients such as Claude, Claude Code, Codex, Cursor, and Hermes. Git synchronization is optional, and browser editing requires a writable vault mount. The SQLite data is a rebuildable read cache, not the canonical copy of the notes.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Hatchdoor

Hatchdoor is an MCP server that connects AI agents to self-hosted folders of Markdown notes, including Obsidian vaults. Its main tools let agents read, search by keyword or semantic meaning, create, edit, move, and link notes, manage tags, and move attachments through temporary transfer links.

Install Hatchdoor with Docker or Podman using its rootless, distroless container image. A first-run setup checklist guides instance initialization, vault selection, and agent connection, with a folder picker intended to avoid manual container-path entry.

Yes, Hatchdoor works without Obsidian or Obsidian plugins. It reads vaults directly from disk, and any folder containing Markdown notes can be served through its web UI and MCP interface.

Yes, one Hatchdoor instance can serve multiple vaults. Each vault has its own source, Git synchronization settings, and agent scope.

Yes, Hatchdoor names Cursor and Claude Code among its MCP clients. It also lists Claude, Codex, and Hermes as supported client examples.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHatchdoor AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hatchdoor?style=directory)](https://allmcps.com/mcp/hatchdoor)
HTML Embed
<a href="https://allmcps.com/mcp/hatchdoor"><img src="https://allmcps.com/api/badge/hatchdoor?style=directory" alt="Hatchdoor on AllMCPs" /></a>