markdown-vault-mcp
Search, read, navigate, and modify a Markdown vault through MCP tools.
Search notes by keyword, semantic meaning, or hybrid ranking, with folder/frontmatter filters and snippet controls.
Read notes, sections, historical revisions, etags, or attachments; list documents, folders, tags, recent notes, stats, and tables of contents.
Explore links and relationships: backlinks, outlinks, broken links, orphans, most-linked notes, connection paths, similar notes, context, and citation inspection.
Run exact document queries: paginate, count, aggregate by folder/tag/month, and discover paths with literal or fuzzy matching.
Create, edit, append to, delete, rename, and move notes or folders; bulk-replace text with dry-run previews; fetch URLs into the vault.
Work with Open Knowledge Format bundles: validate, convert wikilinks, generate index.md, and seed log.md.
Inspect git history and diffs for notes, folders, or the whole vault.
Maintain search: reindex, build embeddings, check index/embedding status, and retrieve background job results.
Use interactive MCP Apps views for browsing the vault, context cards, and link-graph neighborhoods/hubs.
Integrate with Authelia for OIDC authentication to secure HTTP deployments of the MCP server.
Automatically commit and push changes to a Git repository on every write operation, with manual sync tools available.
Integrate with Keycloak for OIDC authentication to secure HTTP deployments of the MCP server.
Interact with an Obsidian vault: search, read, write, edit, and organize Markdown notes with full-text and semantic search, frontmatter-aware indexing, and attachment support.
Use Ollama for local embedding generation to enable semantic vector search across the vault.
Use OpenAI's API for embedding generation to enable semantic vector search across the vault.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@markdown-vault-mcp search for meeting notes about project planning"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Markdown Vault MCP
Generic markdown vault MCP with hybrid search
Documentation | Config wizard | PyPI | Docker
Give Claude, or any MCP client, a folder of Markdown notes to search, read and write. An Obsidian vault works as it is.
Hybrid search. Keyword search with SQLite FTS5 and, once an embedding provider is configured, search by meaning, fused by Reciprocal Rank Fusion, with the vectors kept in SQLite, files or PostgreSQL. Results are short snippets;
readfetches the whole section. See Embeddings and Choosing an embedding store.Hosted CLI reads. Search a running vault with
markdown-vault-mcp search "term" --server https://vault.example/mcp; read notes, list metadata, collect context, traverse note links and discover paths withquery path "topic" --fuzzyusing the same connection options. Usequery metadata,query bodyorquery notefor exact lexical pages,query countfor the full matching population, andquery aggregate --by tagfor buckets. Use--jsonfor native payloads or--agentfor escaped records. See the CLI reference.Quiet local reads. Local CLI reads suppress routine INFO logs while retaining warnings and errors. Use
-vfor diagnostics. See Using the terminal.Exact queries. Page through indexed notes, count every match, or group the full population with
query_documents,count_documentsandaggregate_documents. See Reader tools and the library API.Path discovery. Find literal paths or nearby ASCII spellings with
search_paths; approximate coverage and output truncation are reported separately. See Reader tools.Exact-note citations. Inspect one note with
inspect_citationsto join literal footnote labels to source records, without opening sources or judging support. Find indexed notes citing a resource withfind_citing_notes. See citation inspection.A file's etag without its body.
read(path, include_content=False)returns a note's or attachment's etag, the lowercase hex SHA-256 of its raw bytes, with its size and modification time, at any size and without sending the file. The server still reads the whole file to hash it. See Reader tools.Frontmatter as data. YAML frontmatter fields become search filters, and long notes are split at their headings. In an OKF bundle,
{"type": null}finds searchable notes without a type, leaving outindex.mdandlog.md.MARKDOWN_VAULT_MCP_EMBED_INPUTcan keep searchable fields away from the embedding provider (what reaches it). Writes preserve supplied field order, including nested mappings; edit, append and OKF verification retain surviving fields in order. The OKF provenance stamp andokf_verifychange only the fields they write and keep the rest of the header byte for byte; other writes that serialize a header may change YAML comments and formatting.Careful writes. The write tools (
write,edit,append,replace_text,delete,rename,move_folder,fetch,git_sync, theokf_*tools,create_upload_link) are on by default and hidden whenMARKDOWN_VAULT_MCP_READ_ONLY=true. Replacing a file takes the etag from reading it.replace_textmakes one literal or regular-expression change across many notes' bodies: a dry run shows the diff of every note it would change, and only the plan it returns can apply it. A rename still accepts an etag that only the server's own link rewrites made stale. Per-folder.conventions.mdrules reach the client as it writes; a folder without one falls back to the deprecated_conventions.md.Git. Optional commit per write with a delayed push, pull or webhook sync, and history and diffs; an overwritten note can be read back at the revision it replaced. Submodules and plain repositories nested in a Git-backed vault are read-only. Startup warns about uncommitted files without committing them automatically. Write results and
statsreport known problems sending or receiving changes; no report is not an all-clear. History and conflict recovery preserve carriage returns in filenames. See Git integration.Links. Backlinks, outlinks, broken links and the path between two notes, for wikilinks and Markdown links alike, with interactive views in clients that render MCP Apps. The vault explorer keeps its search field named and its context heading nonempty while loading. With
MARKDOWN_VAULT_MCP_REPORT_UNRESOLVED_LINKS=true,write,editandappendname each link they added that doesn't resolve. Markdown and reference links first resolve relative to their source; when that path is missing, the index searches the vault for the destination.Open Knowledge Format. OKF bundles are recognized, and results carry each note's type, status and recorded-review trust tier, and distinguish recorded review claims, missing or malformed evidence, and expiry observations. Malformed review records leave a note
unverified. Reads report review applicability apart from the recorded claims: supplied reviews have no snapshot binding, so applicability to current content remains unknown. Annotations and audits flag malformed provenance while notes remain readable and searchable.config://vaultreports the configured OKF write flag and whether it is effective; active bundles also report both instats.okf. The layer is effective when configured, OKF is active, and the vault is not read-only. An operator command,admin repair-log, previews and then removes the frontmatter blocks 4.1.0 stacked inlog.md, keeping the complete original (legacy log repair). See OKF.
The tools reference lists every tool. The same engine is a Python library: see the Vault API.
Does it fit?
What the server can reach, what it changes and who gets in is set out in the security model; the block below says who it serves and where it stops.
It suits one person or a small team who keep notes as Markdown files and want Claude to search them, follow their links and write back into them, on their own machine or as a shared server. It reaches the vault folder, plus only what you configure: a git remote, an embedding or summarizing model, and the URLs a fetch call names.
What it assumes:
One vault per server. Several vaults take one server each, for now (#1232); give each a
MARKDOWN_VAULT_MCP_SERVER_NAMEand advertise its note URLs.Markdown is what gets searched. Other files, such as PDFs and images, can be read and written as attachments, but their contents are not indexed yet (#1234).
The default store trades search speed for memory. With an index path the vectors live in a SQLite database and each search reads them from it: measured with 227,640 sections at 1,024 dimensions, searching added 25 MB to the server and 95 in 100 searches returned within about a second. Holding them in memory (the
numpystore) answered those searches about ten times faster, and peaked at about 1.25 GB while searching. Choosing an embedding store has the measured costs and the limits.State sits on local disk. The index and embeddings are files, and the change-tracking file sits beside the index, never inside the vault. Without
MARKDOWN_VAULT_MCP_INDEX_PATH, the index and that file stay in memory and are rebuilt at each start. For Docker, an optional search-data volume separates the index from persistent server state.A failed embedding model change reports an error. Semantic and hybrid searches retry until compatible embeddings can be saved; Common tips covers recovery.
Reach for something else for a corpus beyond the 227,640 sections it was measured at (a vector database behind a retrieval pipeline), for mostly scanned or office documents (a document management system with text recognition), or for many users who must not see each other's notes (a multi-tenant knowledge platform): every caller the server admits gets every tool it exposes.
Related MCP server: kmd
Quick start
Pick the client you use. Each line installs the released version; the Get started tutorials carry on from there.
Claude Desktop. Download the .mcpb bundle from the releases page and open it with Claude Desktop (or Settings › Extensions › Advanced settings › Install Extension…). Claude Desktop asks for the required settings itself. Tutorial.
Claude Code. Two commands inside Claude Code; the second asks for a scope. Tutorial.
/plugin marketplace add pvliesdonk/claude-plugins
/plugin install markdown-vault-mcp@pvliesdonkA client that runs a command (stdio). To register it in Claude Code, see the Claude Code tutorial.
uv tool install "markdown-vault-mcp"
markdown-vault-mcp serveA server for remote clients (streamable HTTP). A remote server connects the clients.
docker run --rm -p 8000:8000 --env-file .env ghcr.io/pvliesdonk/markdown-vault-mcp:latestA compose.yml ships at the repository root and runs as-is: copy .env.example to .env, then docker compose up -d. Deploy covers authentication, OIDC, a reverse proxy and system packages (.deb/.rpm on the releases page). The server answers /health and /health/ready outside the MCP mount, and its get_server_info tool reports the running version.
The plain package covers keyword search, the write tools and git. Search by meaning, the file watcher, the summarize tool and keeping embeddings in PostgreSQL need extras; [all] installs every one:
uv tool install "markdown-vault-mcp[all]"The Docker image, the .mcpb bundle and the Claude Code plugin already include them. Installation lists each extra.
For VS Code or Goose Desktop, use the remote vault connection examples or the local Goose configuration.
The file watcher requires watchdog 4.0.2 or later. Its mutation-only subscriptions suppress Linux read-event traffic during indexing while preserving file and directory changes; see the subscription reference.
When watching is active, external saves that replace a note from a hidden temporary file also trigger reindexing.
Configuration
Everything is configured through environment variables with the MARKDOWN_VAULT_MCP_ prefix. The ones most installs set:
Variable | Default | Required | Description |
|
| No | Path to the markdown vault directory. When it does not exist, or the server cannot access it, the server starts but every tool fails with a message saying which until it is fixed (managed git mode clones into it). Symbolic links inside the vault are followed on Python 3.13+. |
|
| No | Set to true to hide the write tools (write, edit, append, replace_text, delete, rename, move_folder, fetch, git_sync, the okf_* tools, create_upload_link) and serve a search-only vault. |
|
| No | 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. Set to false to allow blind overwrites. |
|
| No | Set to true to have write, edit and append list, under unresolved_links, the target of each link the call added that get_broken_links reports. Links the note already held are left out. Off by default, leaving those responses unchanged. |
|
| No | 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. |
| (none) | No | Embedding provider: openai, voyage, ollama, or fastembed; setting it turns on search by meaning. Unset auto-detects from the environment (never voyage), but only when EMBEDDINGS_PATH is set or EMBEDDING_STORE=postgres. Any OpenAI-compatible endpoint works with openai plus OPENAI_BASE_URL; see the embeddings guide. |
| (none) | No | 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. |
|
| No | 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. |
| (none) | No | 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. |
Every variable the server reads, the shared ones included, is in the configuration reference; .env.example lists the same surface in copy-paste form, and the config wizard writes one for your deployment.
Documentation
Security model: what the server can reach, what it changes and who gets in.
Get started: a first success with your client.
Deploy: Docker, authentication, OIDC, reverse proxy.
Use: the features, for real tasks.
Reference: configuration, tools, resources, prompts, command line.
Upgrade: release channels, and what an upgrade changes for your clients and your data.
Contribute: local development, secrets, where a fix belongs;
CONTRIBUTING.mdandSECURITY.mdat the root.
Design decisions
Document identity is the relative path with
.mdextension; frontmatter is optional by default (REQUIRED_FIELDSopts into enforcement).Hybrid search uses Reciprocal Rank Fusion over the FTS5 and vector result lists, with diversity-aware ranking capping chunks per document.
Tool semantics mirror Claude Code's Read/Write/Edit patterns, so LLM clients drive the vault with habits they already have.
The library is synchronous; the MCP layer wraps calls in
asyncio.to_thread(). File writes return after saving, while index updates run in the background. Index-dependent mutations wait for prior writes; see index freshness.Admin indexing commands report store-open failures on stderr and exit with code 1; see storage for recovery.
Indexing is hash-based: unchanged files are never re-parsed, and any change to how stored rows derive from a note's bytes bumps
INDEX_SEMANTICS_VERSIONso deployed vaults rebuild themselves once on upgrade.Skipped-note status follows refreshes:
get_index_statusreports missing required fields and malformed YAML after an index refresh, and clears repaired or removed paths.
The full decision log lives in the design document.
Links
Documentation and its llms.txt
FastMCP, which this server is built on, and fastmcp-pvl-core, whose code it folded in
fastmcp-server-template, which generated this repository
Available Tools
51 toolsaggregate_documentsAggregate NotesARead-onlyIdempotent
Group every matching indexed note into bounded frequency buckets.
Counts cover the whole population. Multi-value tag buckets can sum above
total; missing counts notes without a tag value. UTC months use YYYY-MM.
Buckets rank by count descending then key.casefold() and raw key.
Inputs: by (required), path, field, limit, +8 more. Returns: total, buckets, missing, truncated, +1 more
appendAppend to NoteA
Add text to the end of an existing note without reading it first.
Prefer it over edit when the change only adds at the end, such as a log entry. The text starts on a new line; begin it with a blank line or a heading to start a paragraph or section.
Inputs: path (required), content (required), if_match, create_if_missing. Returns: object
browse_vaultBrowse VaultARead-onlyIdempotent
Open an interactive vault explorer for the user to look through: the file tree, the link graph or one note's relationships.
It shows the vault to the user and returns nothing to read; use search, read, list_documents or get_context for content.
Inputs: path, view. Returns: object
build_embeddingsBuild EmbeddingsAIdempotent
Bring the vector index behind semantic and hybrid search up to date with the notes; returns the number of chunks embedded.
Embeddings are built automatically, so it is needed only after reindex with force, after a failed build (last_build_embeddings_error in get_index_status), or with force to rebuild them all.
Inputs: force. Returns: object
count_documentsCount NotesARead-onlyIdempotent
Count every matching indexed note without fetching content.
The exact total is independent of search result caps and counts each note once.
Inputs: path, query, scope, folder, +5 more. Returns: total, index_stale
deleteDelete NoteADestructiveIdempotent
Permanently delete a note or attachment; only git history can bring it back.
Inputs: path (required), if_match. Returns: object
editEdit NoteA
Replace text in an existing note, chosen by an exact old_text, by a range of lines, or by an old_text within a range of lines.
Read the note first for its current text. When old_text has no
exact match, a unique match after normalising Unicode, dashes, quotes and
whitespace is used and reported as match_type "normalized".
Inputs: path (required), if_match, line_end, new_text, +2 more. Returns: object
embeddings_statusEmbeddings StatusARead-onlyIdempotent
Check embedding provider and vector-index status.
Inputs: no named parameters. Returns: object
fetchFetch to VaultAIdempotent
Download a URL on the server and save it in the vault as a note or attachment; returns its path, size and final_url.
The bytes never pass through the conversation, so use it for large files and then pass the path to other tools.
Inputs: url (required), path (required), if_match, timeout_s, +1 more. Returns: object
find_citing_notesFind Citing NotesARead-onlyIdempotent
Find indexed notes whose footnote labels cite an exact source resource.
Use inspect_citations for the sources one known note cites. The resource matches exactly, with no URL normalization; plain body links do not count.
Inputs: resource (required), wait_for_pending_writes. Returns: object
get_backlinksBacklinksARead-onlyIdempotent
List the notes that link to a note.
Use get_context when you also need its outlinks or similar notes.
Inputs: path (required), limit, wait_for_pending_writes. Returns: result
get_broken_linksBroken LinksARead-onlyIdempotent
List the links whose target is missing from the vault, each with the note that holds it.
stats reports broken_link_count; a rename without update_links leaves such links behind. Links to attachments are not checked.
Inputs: folder, wait_for_pending_writes. Returns: result
get_connection_pathConnection PathARead-onlyIdempotent
Find the shortest chain of links between two notes, following links in either direction.
Inputs: source (required), target (required), max_depth, wait_for_pending_writes. Returns: object
get_contextNote ContextARead-onlyIdempotent
Return a note's metadata, backlinks, outlinks, similar notes, folder neighbours, indexed tags and applicable conventions in one call.
Use it instead of get_backlinks, get_outlinks and get_similar when you need more than one of them.
Inputs: path (required), link_limit, similar_limit, wait_for_pending_writes. Returns: object
get_conventionsFolder ConventionsARead-onlyIdempotent
Return the vault owner's authoring conventions for a note or folder, vault root first and the most specific last.
Inputs: path. Returns: object
get_diffNote DiffARead-onlyIdempotent
Return how a note or attachment changed from an earlier commit to now, as one unified diff or one per commit.
Pass exactly one of since_sha and since_timestamp; find commits with get_history. A vault without git history returns an empty diff.
Inputs: path (required), limit, since_sha, per_commit, +1 more. Returns: object
get_historyNote HistoryARead-onlyIdempotent
List the commits that touched a note, an attachment, a folder or the whole vault, newest first.
A vault without git history returns no commits.
Inputs: path, limit, since, until. Returns: object
get_index_statusIndex StatusARead-only
Report FTS index readiness, progress, and last build error.
Inputs: no named parameters. Returns: object
get_job_resultGet Job ResultARead-only
Get the status of a background job started by a long-running tool on this server; returns status (working, completed or failed) with the result or error once it finishes. Job records expire, so fetch a finished job's result promptly. On this server, background jobs come from slow summarize, reindex, and build_embeddings calls.
Inputs: job_id (required). Returns: object
get_most_linkedMost-Linked NotesARead-onlyIdempotent
List the notes with the most backlinks, most first.
Use get_backlinks for the notes that link to one of them.
Inputs: limit, wait_for_pending_writes. Returns: result
get_orphan_notesOrphan NotesARead-onlyIdempotent
List every note with no links in or out, with no limit on the count.
stats reports orphan_count; check it first on a large vault.
Inputs: wait_for_pending_writes. Returns: result
get_outlinksOutlinksARead-onlyIdempotent
List the links in a note, each with an exists flag that is false when the target is missing.
Use get_context when you also need its backlinks or similar notes.
Inputs: path (required), limit, wait_for_pending_writes. Returns: result
get_recentRecent NotesARead-onlyIdempotent
List the most recently modified notes, newest first.
Use it to pick up recent activity without a search query.
Inputs: limit, folder, wait_for_pending_writes. Returns: result
get_server_infoServer InfoARead-only
Report the version information of markdown-vault-mcp; returns server_name, server_version, the MCP protocol revisions supported and the revision and client of this connection, and, when configured, the upstream service's version. Use it when asked which version or build is running or which protocol revision is in use.
Inputs: no named parameters. Returns: object
get_similarSimilar NotesARead-onlyIdempotent
Find the notes closest in meaning to a given note; returns them ranked by similarity with their closest sections, the note itself excluded.
Needs semantic_search_available from stats. A note whose embeddings are not built yet has no similar notes.
Inputs: path (required), limit, folder, filters, +2 more. Returns: result
get_tocTable of ContentsARead-onlyIdempotent
Return the heading outline of a note, or of every note under a folder.
For a note: a list of {heading, level}, the title first as level 1. For a folder: {path, notes, truncated}, each note with its path, title and headings.
Inputs: path (required), max_level, max_notes, wait_for_pending_writes. Returns: result
inspect_citationsInspect Note CitationsARead-onlyIdempotent
Join a note's literal footnote labels to its source records.
Use this for attribution in one known note, not navigation or evidence verification. Reports unmatched labels and duplicate-ID ambiguity without opening source resources; syntax coverage is limited and reported.
Inputs: path (required). Returns: object
list_documentsList DocumentsARead-onlyIdempotent
List notes, and optionally attachments, with path, title and frontmatter but no body text.
Use search to find notes by what they say.
Inputs: folder, filters, pattern, include_attachments, +1 more. Returns: result
list_foldersList FoldersARead-onlyIdempotent
List every folder that holds notes; "" stands for the top level.
Pass one as the folder argument of search, list_documents and the other folder-scoped tools.
Inputs: wait_for_pending_writes. Returns: result
list_tagsList TagsARead-onlyIdempotent
List the distinct values one indexed frontmatter field takes across the vault.
Use the values in the filters argument of search.
Inputs: field, wait_for_pending_writes. Returns: result
move_folderMove FolderADestructive
Move a folder and everything under it to a new location, rewriting every link into it across the vault: rename for a whole folder.
Notes whose links could not be rewritten are listed in failed_links.
Inputs: new_dir (required), old_dir (required). Returns: object
okf_convert_linksOKF: Convert WikilinksADestructiveIdempotent
Rewrite wikilinks as bundle-root-absolute Markdown links, the Open Knowledge Format's recommended style; returns counts of links converted and skipped.
A wikilink whose target is not in the vault stays as it is. Running it again changes nothing already converted.
Inputs: folder. Returns: object
okf_generate_indexOKF: Generate index.mdADestructiveIdempotent
Write a folder's Open Knowledge Format index.md: a link to each note directly in it with its description, and one to each subfolder's index.md, replacing the old listing and keeping its frontmatter.
Subfolders without an index.md get one too.
Inputs: folder. Returns: object
okf_seed_logOKF: Seed log.mdA
Create a folder's Open Knowledge Format log.md from the git history of the notes under it, one dated section per day, newest first.
It never replaces an existing log.md. It covers the 100 most recent commits. A vault without git history gets an empty log.
Inputs: folder. Returns: object
okf_validateValidate OKF BundleARead-onlyIdempotent
Audit how far the vault conforms to the Open Knowledge Format, with example paths per rule; works on a vault not yet declared as a bundle.
Inputs: no named parameters. Returns: object
query_documentsQuery NotesARead-onlyIdempotent
Page through all matching indexed notes with an exact total.
Queries with text rank by keyword score then path; blank queries rank by modification time descending then path. Pages are live views, so concurrent writes can move notes between pages. Use read to retrieve full note content.
Inputs: path, limit, query, scope, +9 more. Returns: items, limit, total, offset, +2 more
readRead NoteARead-onlyIdempotent
Return a note's text, frontmatter and etag, or an attachment's bytes as base64.
Look paths up with search or list_documents first rather than guessing them.
Inputs: path (required), section, revision, include_content. Returns: object
reindexReindex VaultAIdempotent
Bring the search index up to date with files changed outside this server, such as by an editor or a sync tool; returns counts of added, modified, deleted and unchanged notes.
Writes through this server's tools update the index themselves, so do not call it after them.
Inputs: force. Returns: object
renameRename NoteA
Rename or move a note or attachment; with update_links, links to it in other notes follow it.
For a note, always pass update_links=True. Parent folders are created as needed.
Inputs: new_path (required), old_path (required), if_match, update_links. Returns: object
replace_textReplace Text Across NotesADestructive
Replace every match of one text or regular expression in the bodies of many notes; returns a preview with per-note diffs, or each note's outcome.
Use edit for one change in one note. Frontmatter is never matched. A call with dry_run true returns a plan; the same arguments with dry_run false and that plan write each note still as the dry run showed it.
Inputs: pattern (required), plan, paths, regex, +3 more. Returns: object
searchSearch VaultARead-onlyIdempotent
Search notes by keyword and meaning; returns notes ranked by score, each with its best-matching sections as snippets.
Use list_documents for a complete listing and read for a path you already know.
Inputs: query (required), mode, limit, folder, +4 more. Returns: result
search_pathsDiscover Note PathsARead-onlyIdempotent
Discover note paths with direct matches before optional typo matches.
Returns metadata without bodies. Exact paths rank first, then case-insensitive literal prefix matches, followed by other literal matches and approximate matches. Coverage describes the approximate scan; truncated independently describes omitted results. Use read with a returned path to retrieve its content.
Inputs: query (required), fuzzy, limit, folder, +2 more. Returns: items, reasons, coverage, truncated, +1 more
show_contextContext CardARead-onlyIdempotent
Open an interactive card for the user showing a note's backlinks, outlinks, similar notes, tags and frontmatter.
It shows the note to the user and returns only counts; use get_context for the data.
Inputs: path (required). Returns: object
statsVault StatsARead-onlyIdempotent
Report the vault's size, link health and capabilities: the search modes it serves and the frontmatter fields search can filter on. Also reports known problems recording changes or exchanging them with other copies of the vault; their absence does not confirm that the copies agree.
Inputs: wait_for_pending_writes. Returns: object
vault_contextVault ContextBRead-onlyIdempotent
Return the full NoteContext for a note (app-only).
Called by the SPA context card view via app.callServerTool().
Not visible to the LLM.
Inputs: path (required). Returns: object
vault_graph_hubsGraph HubsARead-onlyIdempotent
Return the most-linked notes and their connections as a graph (app-only).
Called by the SPA graph view for the hub overview. Not visible to the LLM.
Inputs: limit. Returns: object
vault_graph_neighborhoodGraph NeighborhoodARead-onlyIdempotent
Return the link neighborhood of a note as a node/edge graph (app-only).
Called by the SPA graph view via app.callServerTool().
Not visible to the LLM.
Inputs: path (required), depth, max_nodes, include_semantic. Returns: object
vault_listVault ListBRead-onlyIdempotent
List folders and notes in a vault directory (app-only).
Called by the SPA browser view via app.callServerTool().
Not visible to the LLM.
Inputs: folder. Returns: object
vault_readVault ReadARead-onlyIdempotent
Read a note's full content for preview rendering (app-only).
Called by the SPA browser view via app.callServerTool().
Not visible to the LLM.
Inputs: path (required). Returns: result
vault_searchVault SearchBRead-onlyIdempotent
Search the vault (app-only).
Called by the SPA browser search bar via app.callServerTool().
Not visible to the LLM.
Inputs: query (required), mode, limit. Returns: result
writeWrite NoteAIdempotent
Create a note or attachment, or replace one whole; returns its path and whether it was created.
Use edit for targeted changes and append to add to the end. Parent folders are created as needed.
Inputs: path (required), content, if_match, frontmatter, +1 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 51 tools
Many tools have overlapping purposes: search, query_documents, search_paths, and vault_search all retrieve notes; read and vault_read duplicate each other; list_documents, query_documents, and vault_list overlap; get_context overlaps with get_backlinks, get_outlinks, and get_similar. The app-only tools (vault_context, vault_graph_neighborhood, vault_graph_hubs, vault_list, vault_read, vault_search) are explicitly not visible to the LLM yet duplicate LLM-facing tools, making selection harder.
Most names are snake_case, but the set mixes bare verbs (read, write, edit, append, delete, search, rename, stats, fetch) with verb_noun names (get_recent, list_documents, replace_text, build_embeddings) and multiple prefixes (vault_, okf_, get_). It is readable but not a single predictable convention.
With 51 tools, the surface is far beyond a well-scoped vault server and enters extreme-mismatch territory. Several tools are near-duplicates or app-only helpers, so many tools do not clearly earn their place.
The surface covers the vault domain comprehensively: CRUD for notes and attachments, search and querying, backlinks/outlinks/graph analysis, git history and diffs, indexing and embeddings, conventions, OKF operations, URL fetching, and job status. No obvious core lifecycle gap remains.
Maintenance
Related MCP Connectors
Hosted MCP server for Obsidian Sync vaults: read, search, edit notes. Not affiliated with Obsidian.
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
Remote MCP server for notes, tasks, kanban boards and docs - the Slates agentic workspace
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceMCP server that enables full-text search and link navigation over Markdown files as a knowledge graph.-
- AlicenseNot gradedqualityBmaintenanceMCP server for structured markdown knowledge vaults that provides validation, FTS5 search, and wikilink cross-references. Enables AI agents to prime context and search across vaults using two MCP tools and template resources.8MIT
- AlicenseAqualityCmaintenanceMCP server for local knowledge management with Markdown and PDF indexing using SQLite FTS5.511 npm2MIT
- AlicenseAqualityBmaintenanceLocal MCP server for querying and maintaining a Markdown vault. Provides full-text search, backlinks, note retrieval, and optional confined write tools, without sending the whole vault to the client context.2256 PyPI1Apache 2.0