Vault Health MCP logo

Vault Health MCP

Obsidian vault structural health: broken links, orphans, missing frontmatter, safe auto-repair.

Install Vault Health 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": {
    "vault-health-mcp": {
      "command": "uvx",
      "args": [
        "vault-health-mcp"
      ]
    }
  }
}

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

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 vault-health-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

Tools6

What Vault Health MCP lets your agent do. Expand a tool for its parameters.

Self-reported~97 tokens of context

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.

15/15 checks healthy over the last 83d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · vault-health-mcp (PyPI)

Adoption & maintenance

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

Last commit7mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed6Callable tools this server registers over MCP.

From the project README

vault-health-mcp

MCP server for Obsidian vault structural health checks.

Find broken wikilinks, orphaned notes, and missing frontmatter — then auto-repair them. Works with any Obsidian vault, no plugins required.

Install

Terminal
pip install vault-health-mcp

Usage

Claude Code

Terminal
claude mcp add vault-health -- vault-health-mcp --vault ~/my-vault

Claude Desktop

config.json
{
  "mcpServers": {
    "vault-health": {
      "command": "uvx",
      "args": ["vault-health-mcp", "--vault", "/path/to/vault"]
    }
  }
}

MCP Tools

ToolTierDescription
configure_vaultFreePoint the server at a vault at runtime
check_vault_healthFreeFull structural scan: broken links, orphans, missing frontmatter
find_orphansFreeList all structurally disconnected leaf notes
find_broken_linksFreeList all wikilinks pointing to non-existent files
vault_statisticsFreeFile count, link count, orphan %, frontmatter coverage
repair_vaultProAuto-fix safe issues (add-only, never deletes)

How auto-repair works (Pro)

repair_vault only makes additive changes:

  • Broken [[links]] → replaced with plain text (the link text is preserved)
  • Missing frontmatter → adds a default YAML block with title and type

It never deletes files, removes content, or modifies existing frontmatter values.

Pro tier

The free tier detects every category of vault rot. The Pro tier unlocks repair_vault — one call to fix the safe categories automatically.

License activation — any one of these works:

server.ts
# 1. Environment variable
export VAULT_HEALTH_LICENSE="eyJhbGc..."

# 2. CLI flag
vault-health-mcp --license-key "eyJhbGc..." --vault ~/my-vault

# 3. Config file
echo "eyJhbGc..." > ~/.vault-health-mcp/license.jwt

Licenses are verified fully offline — no phone-home, no activation server. Get a license: [coming soon — Dodo Payments storefront in verification].

Requirements

  • Python 3.10+
  • An Obsidian vault (any size)

License

MIT

Reviews

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

Frequently Asked Questions about Vault Health MCP

vault-health-mcp is an MCP server that checks Obsidian vault structure for broken wikilinks, orphaned notes, and missing frontmatter. It can scan vault health, report statistics, and, in Pro, safely repair supported issues. It works with any Obsidian vault without plugins and can be configured with a vault path at startup or runtime.

Install vault-health-mcp with pip, then configure it with an Obsidian vault path using Claude Code, Claude Desktop, or the configure_vault tool at runtime. The package requires Python 3.10 or newer.

vault-health-mcp checks broken wikilinks, orphaned notes, and missing frontmatter. Its tools also provide file counts, link counts, orphan percentages, and frontmatter coverage through vault_statistics.

The Pro repair_vault tool automatically fixes supported issues using additive changes only. It replaces broken wikilinks with preserved plain-text link text and adds default YAML frontmatter containing a title and type; it does not delete files, remove content, or modify existing frontmatter values.

Activate the Pro license with the VAULT_HEALTH_LICENSE environment variable, the --license-key CLI option, or the ~/.vault-health-mcp/license.jwt configuration file. License verification happens fully offline, without a phone-home or activation server.

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