mcpbeat Sign in

Markdown Vault MCP Server

local only

Markdown Vault MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 951 installs a week from pypi. Last commit 18 Sep 2026.

Generic markdown vault MCP with hybrid search

Installs per day peak 896 · avg 204 · -71% w/w
a month agotoday
951
Installs / week
pypi · markdown-vault-mcp
33
Stars
109 open issues
18 Sep 2026
Last commit
0 releases in 90 days
MIT
License
Python

What the code does

We read the source, 23 h ago · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Builds a database query by concatenation [пакет] .github/workflows/copier-update.yml:123, [пакет] src/markdown_vault_mcp/okf.py:984, src/markdown_vault_mcp/okf.py:1002 и ещё 1
      - name: Run copier update
        id: copier
        env:
          VCS_REF: ${{ steps.target.outputs.vcs_ref }}
      document.getElementById('ctx-chips').innerHTML = renderChips(data.frontmatter);

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add markdown-vault-mcp -- uvx markdown-vault-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "markdown-vault-mcp": {
      "args": [
        "markdown-vault-mcp"
      ],
      "command": "uvx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.markdown-vault-mcp]
command = "uvx"
args = ["markdown-vault-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "markdown-vault-mcp": {
      "args": [
        "markdown-vault-mcp"
      ],
      "command": "uvx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "markdown-vault-mcp": {
      "args": [
        "markdown-vault-mcp"
      ],
      "command": "uvx"
    }
  }
}

This one needs environment variables set before it will start: MARKDOWN_VAULT_MCP_KV_STORE_URL (Persistent-state backend URL shared by every pvl-core subsystem that needs state. `memory://` is in-process and lost on restart; `file:///path` persists on one server; `redis://`, `dynamodb://` and `mongodb://` each need their matching extra. When unset, defaults to `file:///data/state` (the volume family Docker images mount), or to `memory://` (with a warning) on a host where that directory is not usable.), MARKDOWN_VAULT_MCP_TOOLS_ALLOW (Comma-separated explicit tool names this instance exposes; every other tool is hidden from listings and cannot be invoked. Names matching no registered tool are inert. Mutually exclusive with `tools_deny`. Takes effect through `apply_tool_visibility`.), MARKDOWN_VAULT_MCP_TOOLS_DENY (Comma-separated explicit tool names hidden from this instance (absent from listings, cannot be invoked). Names matching no registered tool are inert. Mutually exclusive with `tools_allow`. Takes effect through `apply_tool_visibility`.), MARKDOWN_VAULT_MCP_SERVER_NAME (Rename this server instance; defaults to the project name.), MARKDOWN_VAULT_MCP_INSTANCE_DESCRIPTION (Concise routing context that distinguishes this deployment's material or responsibility.), MARKDOWN_VAULT_MCP_INSTRUCTIONS_EXTRA (Deployment-specific behavioral policy added to the generated MCP instructions.), MARKDOWN_VAULT_MCP_INSTRUCTIONS (Legacy: replaces all generated MCP instructions (deprecated; use _INSTANCE_DESCRIPTION for routing and _INSTRUCTIONS_EXTRA for policy).), FASTMCP_LOG_LEVEL (Log level for FastMCP internals and app loggers (DEBUG / INFO / WARNING / ERROR / CRITICAL). The -v CLI flag overrides to DEBUG.), FASTMCP_ENABLE_RICH_LOGGING (Set false for plain or structured JSON log output.), OLLAMA_HOST (Ollama server URL for the ollama embedding provider. Bare (not MARKDOWN_VAULT_MCP_-prefixed), matching the Ollama ecosystem convention.), OPENAI_API_KEY (OpenAI API key for the openai embedding provider, and the fallback key for the summarize tool when MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_API_KEY is unset. Bare (not MARKDOWN_VAULT_MCP_-prefixed), matching the OpenAI ecosystem convention.), VOYAGE_API_KEY (Voyage AI API key for the voyage embedding provider. Bare (not MARKDOWN_VAULT_MCP_-prefixed), matching the OPENAI_API_KEY / OLLAMA_HOST convention. Setting it never auto-selects the provider; choose it explicitly with MARKDOWN_VAULT_MCP_EMBEDDING_PROVIDER=voyage.), OPENAI_BASE_URL (Bare fallback for MARKDOWN_VAULT_MCP_OPENAI_BASE_URL (embeddings). For the summarize tool it only routes traffic when an API key already enables the feature; it never enables summarize by itself.), OPENAI_EMBEDDING_MODEL (Bare fallback for MARKDOWN_VAULT_MCP_OPENAI_EMBEDDING_MODEL.), MARKDOWN_VAULT_MCP_BUILD_TIMEOUT_S (Maximum seconds an index-backed tool or resource waits for the FTS index to become queryable during a cold-start background build before raising IndexUnavailableError(reason="timeout"). Increase for large vaults.), MARKDOWN_VAULT_MCP_DRAIN_TIMEOUT_S (Maximum seconds an index-querying read tool waits for the IndexWriter to drain when called with wait_for_pending_writes=true. On timeout the tool answers from the current index and reports index_stale=true in the response _meta.), MARKDOWN_VAULT_MCP_SOURCE_DIR (Path to the markdown vault directory. Required — the server refuses to start without it. Symbolic links inside the vault are followed on Python 3.13+.), MARKDOWN_VAULT_MCP_READ_ONLY (Set to true to hide the write tools (write, edit, append, delete, rename, move_folder, fetch, git_sync, the okf_* tools, create_upload_link) and serve a search-only vault. git_sync also needs managed git mode; create_upload_link needs an HTTP transport.), MARKDOWN_VAULT_MCP_WRITE_PROTECT_EXISTING (Set to true to refuse a write that would overwrite an existing file when no if_match etag is supplied. Deliberate replacement still works: read the file first, then pass if_match. Unaffected: edit, append, delete, rename.), MARKDOWN_VAULT_MCP_DISABLE_APPS_UI (Hide the MCP Apps UI tools (browse_vault, show_context) from the tool listing for clients that do not render MCP Apps panels.), MARKDOWN_VAULT_MCP_INDEX_PATH (Path to the SQLite FTS5 index file; unset keeps the index in memory. Set it for persistence across restarts.), MARKDOWN_VAULT_MCP_STATE_PATH (Path to the change-tracking state file. Defaults to {SOURCE_DIR}/.markdown_vault_mcp/state.json.), MARKDOWN_VAULT_MCP_EMBEDDINGS_PATH (Path to the numpy embeddings file; required to enable semantic search.), MARKDOWN_VAULT_MCP_INDEXED_FIELDS (Comma-separated frontmatter fields promoted to the tag index for structured filtering. Changing it cold-rebuilds the index once on next startup; SEARCHABLE_FIELDS inherits this value when unset.), MARKDOWN_VAULT_MCP_REQUIRED_FIELDS (Comma-separated frontmatter fields required on every document; documents missing any are excluded from the index.), MARKDOWN_VAULT_MCP_EXCLUDE (Comma-separated glob patterns excluded from scanning, e.g. .obsidian/**,.trash/**.), MARKDOWN_VAULT_MCP_TITLE_FIELD (Frontmatter field used as the document title (falls back to title, the first H1, then the filename). Changing it cold-rebuilds the index once on next startup.), MARKDOWN_VAULT_MCP_SEARCHABLE_FIELDS (Comma-separated frontmatter fields whose text values become keyword-searchable and enrich first-chunk embeddings. Inherits INDEXED_FIELDS when unset; the sentinel none means filterable but not searchable. Changing it cold-rebuilds the index and re-embeds once on next startup.), MARKDOWN_VAULT_MCP_TEMPLATES_FOLDER (Relative folder where note templates live (used by the create_from_template prompt).), MARKDOWN_VAULT_MCP_PROMPTS_FOLDER (Directory of .md prompt files that extend or override built-in prompts; a relative path is resolved against SOURCE_DIR.), MARKDOWN_VAULT_MCP_CONVENTIONS_FILE (Filename of the per-folder conventions files surfaced to clients at write time (bare .md filename without glob characters). Set to none to disable folder conventions.), MARKDOWN_VAULT_MCP_OKF_MODE (OKF (Open Knowledge Format) read semantics. With auto (the default), read annotations switch on when the vault declares an OKF version in its root index.md. Use off to disable OKF semantics entirely, or on to force them for an undeclared vault. Annotations are read-only; write behavior is never affected.), MARKDOWN_VAULT_MCP_OKF_WRITE (OKF (Open Knowledge Format) enforced write layer. When true on an OKF-active vault, the server stamps generated provenance on each write and clears any verified attestation when a note's content changes. It also keeps each written folder's log.md and index.md current, and exposes the okf_verify tool. Requires OKF_MODE to be auto or on (a true value with OKF_MODE=off is a config error). Off by default.), MARKDOWN_VAULT_MCP_OKF_VERIFY (How the okf_verify tool attributes a human review. This applies only when OKF_WRITE is on, which gates the tool. With elicit (the default), okf_verify asks the human to confirm the review through an MCP elicitation, then records the attestation only on an affirmative reply. It fails closed when the client cannot elicit or the human declines, so a model holding the human's token cannot self-attest. Set trust-auth instead to attribute to the authenticated caller with no confirmation, which is safe only when the sole caller is a human-driven UI. Set off to hide the tool, leaving attestation to external tooling. A non-default value with OKF_WRITE off is a config error.), MARKDOWN_VAULT_MCP_ATTACHMENT_EXTENSIONS (Comma-separated allowed attachment extensions (e.g. pdf,png,jpg); case and a leading dot are ignored, so PDF and .pdf name the same type. Use * to allow every non-markdown file. Unset selects the built-in allowlist. A link whose target has a listed extension is not part of the link graph; changing the list rebuilds the index once.), MARKDOWN_VAULT_MCP_MAX_ATTACHMENT_SIZE_MB (Maximum attachment size in MB returned by read / accepted by write; 0 disables the limit.), MARKDOWN_VAULT_MCP_MAX_NOTE_READ_BYTES (Maximum bytes returned by a full-document read of a note; use `read(path, section=…)` for partial reads. 0 disables the limit.), MARKDOWN_VAULT_MCP_DEFAULT_SEARCH_MODE (Mode used when a search call omits 'mode': auto, keyword, semantic, or hybrid. The default 'auto' picks hybrid when embeddings are configured and keyword when they are not. Pin 'keyword' to keep unqualified searches off the embedding provider (each hybrid or semantic search embeds the query, which costs an API call on a metered provider). A configured semantic/hybrid default also degrades to keyword without embeddings, so no setting can make a vault unsearchable; an explicit mode= argument is never downgraded.), MARKDOWN_VAULT_MCP_CHUNKS_PER_FILE (Maximum chunks returned per document in search results.), MARKDOWN_VAULT_MCP_SNIPPET_WORDS (Width of the snippet window (words) in search results; 0 returns full chunk content.), MARKDOWN_VAULT_MCP_LENGTH_DOWNWEIGHT_ALPHA (Down-weights longer chunks in ranking: score / (1 + alpha * log(chunk_count)).), MARKDOWN_VAULT_MCP_MAX_CHUNK_WORDS (Word cap per chunk; the adaptive chunker splits at deeper heading levels, then paragraph/word boundaries, to respect it. Match it to the embedding model's context. A reindex applies a new value.), MARKDOWN_VAULT_MCP_MAX_CHUNK_CHARS (Character cap enforced alongside MAX_CHUNK_WORDS to bound token-dense chunks. Unset derives min(1500, model context * 2.8). Set a positive value for an exact cap, or -1 to scale with the model's full context (can exhaust memory on long-context models). A reindex applies a new value.), MARKDOWN_VAULT_MCP_CHUNK_OVERLAP_WORDS (Words of overlap between adjacent budget-split fragments of the same heading section (0 disables). A reindex applies a new value.), MARKDOWN_VAULT_MCP_FOLDER_WEIGHTS (Folder-prefix score multipliers (`prefix:weight` pairs, comma-separated, weights > 0) applied to all search modes; the deepest matching prefix wins (sessions:0.5 demotes sessions/**).), MARKDOWN_VAULT_MCP_FTS_WEIGHTS (Per-column BM25 weights (`column:weight` pairs, comma-separated, weights >= 0) for keyword ranking. Columns: path, title, folder, heading, content, summary.), MARKDOWN_VAULT_MCP_EMBEDDING_PROVIDER (Embedding provider: openai, voyage, ollama, or fastembed. Unset auto-detects from the environment (never voyage). Any OpenAI-compatible endpoint works with openai plus OPENAI_BASE_URL; see the embeddings guide.), MARKDOWN_VAULT_MCP_OLLAMA_MODEL (Ollama embedding model name.), MARKDOWN_VAULT_MCP_OLLAMA_CPU_ONLY (Force Ollama to embed on CPU only.), MARKDOWN_VAULT_MCP_VOYAGE_MODEL (Voyage AI embedding model name.), MARKDOWN_VAULT_MCP_OPENAI_BASE_URL (OpenAI-compatible API base URL for embeddings; the bare OPENAI_BASE_URL is honoured as a fallback.), MARKDOWN_VAULT_MCP_OPENAI_EMBEDDING_MODEL (OpenAI-compatible embedding model name; the bare OPENAI_EMBEDDING_MODEL is honoured as a fallback.), MARKDOWN_VAULT_MCP_FASTEMBED_MODEL (FastEmbed model name.), MARKDOWN_VAULT_MCP_FASTEMBED_CACHE_DIR (FastEmbed model cache directory (in Docker, stored under /data/state/fastembed).), MARKDOWN_VAULT_MCP_EMBED_CONTEXT (Enrich embedding input with the note title, chunk heading, and (first chunk) searchable-field values. Flipping it re-embeds the whole vault once on next startup.), MARKDOWN_VAULT_MCP_EMBED_TIMEOUT_S (Per-request wall-clock budget in seconds for a single embedding HTTP call (OpenAI/Ollama). The local FastEmbed backend runs in-process with no network call and ignores this. CPU-only or large-model workloads may need 60-120 s; raise this if batches time out.), MARKDOWN_VAULT_MCP_EMBEDDING_BATCH_SIZE (Number of chunks sent per embedding request. Smaller batches shorten each request (useful under a tight timeout on slow models) at the cost of more round-trips.), MARKDOWN_VAULT_MCP_GIT_TOKEN (Token/password for HTTPS git auth; remotes must be HTTPS when set.), MARKDOWN_VAULT_MCP_GIT_REPO_URL (HTTPS remote URL for managed git mode: the server clones into an empty SOURCE_DIR on startup (or validates an existing origin) and enables the pull loop, auto-commit, and deferred push.), MARKDOWN_VAULT_MCP_GIT_USERNAME (Username for HTTPS git auth prompts (x-access-token for GitHub, oauth2 for GitLab, the account name for Bitbucket).), MARKDOWN_VAULT_MCP_GIT_PULL_INTERVAL_S (Seconds between git fetch + fast-forward update attempts; 0 disables periodic pull.), MARKDOWN_VAULT_MCP_GIT_PUSH_DELAY_S (Seconds of write-idle time before pushing; 0 pushes only on shutdown.), MARKDOWN_VAULT_MCP_GIT_COMMIT_NAME (Git committer name for auto-commits; set this in Docker where git config user.name is empty.), MARKDOWN_VAULT_MCP_GIT_COMMIT_EMAIL (Git committer email for auto-commits.), MARKDOWN_VAULT_MCP_GIT_COMMIT_NAME_CLAIM (OIDC claim key used as the commit author name (e.g. name); overrides GIT_COMMIT_NAME per request when an OIDC token is present. The claim is resolved when the tool call arrives and carried to the background commit, so it applies on every write. A configured claim the token does not carry is reported once at WARNING and the static identity is used.), MARKDOWN_VAULT_MCP_GIT_COMMIT_EMAIL_CLAIM (OIDC claim key used as the commit author email (e.g. email); overrides GIT_COMMIT_EMAIL per request when an OIDC token is present. Resolved and carried the same way as the name claim.), MARKDOWN_VAULT_MCP_GIT_LFS (Run git lfs pull on startup to fetch LFS-tracked attachments; set to false for repos without LFS.), MARKDOWN_VAULT_MCP_FILE_WATCHER (Watch the vault for external filesystem changes; auto-disabled when git pull is active or a webhook can deliver (HTTP/SSE transports only). Requires the file-watcher extra.), MARKDOWN_VAULT_MCP_FILE_WATCHER_DEBOUNCE_S (Seconds of quiet after the last filesystem event before reindexing.), MARKDOWN_VAULT_MCP_FILE_WATCHER_ROOT_FLOOR (Keep the non-recursive watch on the vault root; set false to register zero source-dir-rooted FSEvents streams (avoids repeated macOS access prompts on a home-rooted vault) at the cost of root-level files relying on scans.), MARKDOWN_VAULT_MCP_GITHUB_WEBHOOK_SECRET (Shared secret for the GitHub push-event webhook; when set, mounts POST /github-webhook on HTTP/SSE transports to trigger an immediate pull + reindex on push events.), MARKDOWN_VAULT_MCP_GITLAB_WEBHOOK_SIGNING_TOKEN (Signing token for the GitLab push-event webhook (GitLab 19.0+); when set, mounts POST /gitlab-webhook on HTTP/SSE transports to trigger an immediate pull + reindex on push events. GitLab generates this value; copy the `whsec_` token it shows under Generate signing token rather than inventing one. Deliveries are authenticated by HMAC-SHA256 over the webhook id, timestamp and body, and a delivery older than 5 minutes is rejected.), MARKDOWN_VAULT_MCP_GITLAB_WEBHOOK_SECRET_TOKEN (Secret token for the GitLab push-event webhook, GitLab's plain-text form and the only one below 19.0; also mounts POST /gitlab-webhook. It proves nothing about the body and cannot expire, so prefer the signing token where the GitLab version offers it. Setting both accepts either, which is how an existing webhook migrates.), MARKDOWN_VAULT_MCP_SUMMARIZE_PROVIDER (Summarization backend (only openai is recognised). Unset auto-detects: the backend activates when credentials or an explicit endpoint are present.), MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_API_KEY (API key for the OpenAI-compatible summarize endpoint; the bare OPENAI_API_KEY is honoured as a fallback. Unset works for keyless local endpoints (Ollama).), MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_BASE_URL (OpenAI-compatible endpoint base URL for the summarize tool; setting it enables the tool even without an API key. The bare OPENAI_BASE_URL routes traffic only when a key already enables the feature.), MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_MODEL (Chat model id used for summaries.), MARKDOWN_VAULT_MCP_SUMMARIZE_MAX_TOKENS (Upper bound on generated tokens per summarize call; on reasoning models this budget also covers internal reasoning tokens.), MARKDOWN_VAULT_MCP_SUMMARIZE_MAX_NOTES (Cap on the number of notes summarised in one call (subtree expansion truncates to this many).), MARKDOWN_VAULT_MCP_SUMMARIZE_MAX_INPUT_CHARS (Aggregate cap on note characters sent to the model in one call; excess is truncated with a flag on the result.), MARKDOWN_VAULT_MCP_SUMMARIZE_TIMEOUT (Per-request wall-clock budget in seconds for a single summarize backend call; keep it below the MCP client's request timeout so the server-side error wins the race.), MARKDOWN_VAULT_MCP_TRANSFER_TTL_DEFAULT_S (Link lifetime in seconds when the caller requests no explicit TTL.), MARKDOWN_VAULT_MCP_TRANSFER_TTL_MAX_S (Ceiling in seconds a caller-requested link TTL is clamped to.), MARKDOWN_VAULT_MCP_TRANSFER_GRACE_TTL_S (Post-success grace window in seconds: a served token's TTL shrinks to this so a stalled transfer can retry within it.), MARKDOWN_VAULT_MCP_TRANSFER_LEASE_S (Crashed-handler reclaim window in seconds for an in-flight reservation.), MARKDOWN_VAULT_MCP_TRANSFER_MAX_UPLOAD_BYTES (Maximum size in bytes of a single upload.), MARKDOWN_VAULT_MCP_JOBS_SOFT_DEADLINE_S (Seconds a long-running tool call may run in the foreground before it is promoted to a background job and a job handle is returned instead.), MARKDOWN_VAULT_MCP_JOBS_RESULT_TTL_S (Seconds a background-job record (working or finished) is retained for polling before it expires from the store.), MARKDOWN_VAULT_MCP_JOBS_MAX_PER_SUBJECT (Maximum live background jobs per calling subject; further promotions are rejected until older records expire.). The author declared them in the registry entry; get the values from the project itself.

Alternatives to Markdown Vault MCP

same job, measured the same way
Loreweave
by lets-order-some-fries

Durable agent memory over a markdown vault: bitemporal facts, timelines, hybrid graph search.

477 installs/wk local only
Exomem
by artexis10

Local Markdown/Obsidian knowledge substrate for MCP agents with governed memory and hybrid search.

7 753 installs/wk local only
Pulse8 AI Cortex Knowledge Vault
by synpulse8-opensource

Agent-native knowledge OS on Markdown: typed graph, hybrid search, and compiler over MCP.

71 installs/wk local only
SeekLink
by simonsysun

Local read-only semantic search for Markdown vaults through MCP.

57 installs/wk local only
Obsidian Hybrid Search
by flowing-abyss

Search Obsidian vaults with hybrid full-text, fuzzy, semantic, and graph retrieval.

674 installs/wk local only
Memory Vault
by mihaibuilds

Local-first AI memory layer with hybrid search. Postgres + pgvector. Self-hosted, MIT.

local only
trip2g
by trip2g

Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.

11 tools answering
Notes Vault
by gronare

Indexed search, schema-checked writes and session hooks for a markdown notes vault

2 458 installs/wk local only

Markdown Vault MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Markdown Vault MCP?
Markdown Vault MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package markdown-vault-mcp was installed 951 times last week.
How do I connect Markdown Vault MCP?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls markdown-vault-mcp straight from pypi; nothing to host, nothing to sign up for.
How many people use Markdown Vault MCP?
The pypi package markdown-vault-mcp was installed 951 times in the last week. Week over week that is -71%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Markdown Vault MCP open source?
Yes — it is published under the MIT licence, written in Python, 33 stars on GitHub and 109 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.