MCPVault

vault_get_document_map

MCP tool from Obsidian Local Rest Api by coddingtonbear

List the headings, block references, and frontmatter fields in a file

How to use it

vault_get_document_map is exposed by the Obsidian Local Rest Api MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the vault_get_document_map tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Obsidian Local Rest Api

$npm install --save-dev obsidian-local-rest-api
FULL OBSIDIAN LOCAL REST API LISTING