# Hatchdoor [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/BatterWorks/Hatchdoor  
**GitHub Stars:** 80  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/hatchdoor

## Description
Self-host your Obsidian vaults: a web UI for you, MCP for your AI agents. No Obsidian, no plugins.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/BatterWorks/Hatchdoor), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Start the server:

```sh
podman compose
```

2. Configure:

```sh
cp .env.example .env
```

3. Configure:

```sh
mkdir -p data/state
```

4. Configure:

```sh
chmod 700 data/state
```

5. Configure:

```sh
sudo chown 65532:65532 data/state
```

6. Configure:

```sh
podman unshare chown 65532:65532 data/state
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/hatchdoor/readme_

