Markdown Vault MCP logo

Markdown Vault MCP

Search, read, edit, and organize Markdown vaults with FTS5, optional semantic search, frontmatter filters, links, and Git support.

Install Markdown Vault MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "markdown-vault-mcp": {
      "command": "uvx",
      "args": [
        "markdown-vault-mcp"
      ],
      "env": {
        "MARKDOWN_VAULT_MCP_VAULT_PATH": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx markdown-vault-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Markdown Vault MCP connects an MCP client to a folder of Markdown notes, including an existing Obsidian vault, so agents can search, read, and modify it. Keyword search uses SQLite FTS5; optional embeddings add semantic results that are combined with keyword rankings. Frontmatter becomes filterable metadata, and long notes are indexed by heading while reads can retrieve complete sections. Reach for it when a person or small team needs local or shared Markdown knowledge with link navigation, controlled writes, and optional Git synchronization.

Use cases

  • Search an Obsidian vault by keywords or meaning
  • Filter notes by YAML frontmatter
  • Trace backlinks and broken links between notes
  • Edit and organize Markdown files through an agent
  • Synchronize note changes with Git

Key features

  • SQLite FTS5 keyword search
  • Optional semantic search with embeddings
  • Frontmatter indexing and filters
  • Markdown and wikilink relationship analysis
  • Read and write operations with etag checks
  • Optional Git synchronization and history

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.

13/13 checks healthy over the last 83d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · markdown-vault-mcp (PyPI)

Adoption & maintenance

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

GitHub stars42Stargazers on the source repository.
Last commit4d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Markdown Vault MCP works

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.

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 Markdown Vault MCP

Markdown Vault MCP is an MCP server that connects AI clients to a folder of Markdown notes, including Obsidian vaults. Its main tools support keyword and optional semantic search, section reads, note writes, link analysis, frontmatter filtering, and Git operations. It can run locally over stdio or remotely over streamable HTTP.

Install it with `uv tool install "markdown-vault-mcp"`, then run `markdown-vault-mcp serve`. The `[all]` extra enables additional features such as semantic search and PostgreSQL embedding storage. Docker users can run the published image or use the repository's Compose setup.

Yes. Markdown Vault MCP can use an Obsidian vault as its Markdown folder, indexing note content and YAML frontmatter for search. It also follows wikilinks and Markdown links for backlinks, outlinks, broken-link reports, and paths between notes.

Set `MARKDOWN_VAULT_MCP_READ_ONLY=true`. The server then hides write operations, including file changes, renames, moves, Git synchronization, and other write-related tools, while leaving read and search capabilities available.

Yes, but semantic search requires an embedding provider and the relevant optional installation extra. Embeddings can be kept in SQLite, files, or PostgreSQL, and semantic rankings are combined with SQLite FTS5 keyword results.

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 PreviewMarkdown Vault MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/markdown-vault-mcp?style=directory)](https://allmcps.com/mcp/markdown-vault-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/markdown-vault-mcp"><img src="https://allmcps.com/api/badge/markdown-vault-mcp?style=directory" alt="Markdown Vault MCP on AllMCPs" /></a>