Skip to main content

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

pip install vault-health-mcp

Usage

Claude Code

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

Claude Desktop

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

MCP Tools

Tool Tier Description
configure_vault Free Point the server at a vault at runtime
check_vault_health Free Full structural scan: broken links, orphans, missing frontmatter
find_orphans Free List all structurally disconnected leaf notes
find_broken_links Free List all wikilinks pointing to non-existent files
vault_statistics Free File count, link count, orphan %, frontmatter coverage
repair_vault Pro Auto-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:

# 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

Metadata

Release files for vault-health-mcp 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vault-health-mcp 0.2.0
File Size Uploaded
vault_health_mcp-0.2.0.tar.gz 9.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vault-health-mcp 0.2.0
File Interpreter ABI Platform
vault_health_mcp-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.7 kB

Release files / vault_health_mcp-0.2.0.tar.gz

Download URL vault_health_mcp-0.2.0.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a806e4854ff0621c7075966c66f4c3b92c7ded12b6a61ac7f3ba63e129987463
BLAKE2b-256 checksum
How to use checksums
3321fd07d4b97aa73535ee8f90479be3476270291a11268b52e831ba585fe221
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / vault_health_mcp-0.2.0-py3-none-any.whl

Download URL vault_health_mcp-0.2.0-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c3324f5c2409b4a7c61919158cc41592dd58fb4270892b2646aea58f59398794
BLAKE2b-256 checksum
How to use checksums
4a904024a579224a5a4acf16c52be2eb9b60702873041a246f7b5f8ac77c34f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page