# Markdown Vault MCP [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/pvliesdonk/markdown-vault-mcp  
**GitHub Stars:** 42  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/markdown-vault-mcp

## Description
Markdown vault MCP server with FTS5 + semantic search and frontmatter indexing

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "markdown-vault-mcp": {
    "command": "uvx",
    "args": ["markdown-vault-mcp"],
    "env": {
      "MARKDOWN_VAULT_MCP_VAULT_PATH": ""
    }
  }
}
```

**Requires environment variables:** `MARKDOWN_VAULT_MCP_VAULT_PATH` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Markdown Vault MCP does

Markdown Vault MCP exposes a Markdown folder through MCP for searching, reading, and writing notes. An Obsidian vault can be used without conversion. The server indexes Markdown content and YAML frontmatter, splitting long notes at headings so searches can target sections and return compact snippets. A read operation can then retrieve the complete section.

Search supports two modes. SQLite FTS5 handles keyword queries. When an embedding provider is configured, semantic search is added and the rankings are combined with Reciprocal Rank Fusion. Embeddings can be stored in SQLite, files, or PostgreSQL, depending on the configured setup.

The server also understands wikilinks and Markdown links. Agents can inspect backlinks, outgoing links, unresolved links, and paths between notes. Open Knowledge Format bundles are recognized, with note type, status, and trust tier included in results.

## How it works

The server can run over stdio for clients that launch a local command, or as a streamable HTTP service for remote clients. A Docker image and a Compose file are available for HTTP deployment. Health endpoints are exposed at `/health` and `/health/ready` outside the MCP mount.

By default, indexing state and embeddings remain in memory and are rebuilt when the process restarts. Setting an index path persists the SQLite index and change-tracking data on local disk outside the vault. The default persistent approach uses less memory than holding vectors in memory, while the in-memory NumPy store is faster for searches.

## Setup and configuration

Install the Python package with `uv tool install "markdown-vault-mcp"`, then start it with `markdown-vault-mcp serve`. The `[all]` extra adds semantic search, file watching, summarization, and PostgreSQL embedding support. Docker users can run the published image with an environment file, or copy `.env.example` to `.env` and start the supplied Compose configuration.

Configuration uses environment variables with the `MARKDOWN_VAULT_MCP_` prefix. The vault path identifies the Markdown folder. Other settings control the index location, server name, read-only mode, unresolved-link reporting, Git behavior, embedding providers, and optional integrations.

## Tools and capabilities

Available operations include:

- Search by keywords, and optionally by meaning when embeddings are configured.
- Read note sections and fetch full content.
- Write, edit, append, delete, rename, and move files.
- Inspect backlinks, outlinks, broken links, and paths between notes.
- Synchronize with Git, including commits, delayed pushes, pulls, history, and diffs.
- Use frontmatter fields as search filters.
- Recognize Open Knowledge Format bundles.
- Generate summaries when the relevant extra is installed.

Write operations use an etag obtained during reading when replacing a file. Folder-level `_conventions.md` files can provide writing rules to the client. The write tools can be hidden by enabling read-only mode.

## Limitations and notes

One server handles one vault; multiple vaults require separate server instances. PDFs, images, and other attachments can be read and written, but their contents are not indexed. Every admitted caller receives every exposed tool, so the server is not designed for multi-tenant access where users must be isolated from one another.

The default local storage model is intended for a personal vault or small team. Larger corpora, document-heavy collections requiring text recognition, and multi-user permission boundaries call for different retrieval or knowledge-management infrastructure.

_Full upstream README: https://allmcps.com/mcp/markdown-vault-mcp/readme_

