Skip to content
aliasunder avatar

Vault Cortex

aliasunder/vault-cortex

Obsidian vault access over MCP: hybrid search, note and task editing, structured memory, and file reads.

CCM score
88 of 100
GitHub stars
41
tools
33
auth
Secret needed
transport
HTTP
env vars
24
last updated
Nov 29, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Reads and searches notes with vault_read_note, vault_search, vault_search_by_tag, and vault_list_tasks, with filters on tags, folders, properties, and dates
  • Edits notes with vault_write_note, vault_patch_note, vault_replace_span, and vault_move_note; deletion goes through vault_delete_note and respects the vault's trash setting
  • Requires a Docker container with the vault folder mounted, or a remote deployment secured with OAuth 2.1; Obsidian does not need to be running
  • Designed for Obsidian users who want AI agents to search, reason over, and write back to their notes from desktop or mobile clients

Tools

33 tools

Public tool metadata for what this MCP can expose to an agent.

vault_read_noteRead a note — full body, properties, outline, or a section

Read a note — full body, properties, outline, or a section

No parameter schema in public metadata yet.

vault_write_noteCreate a note (fails if it already exists; set `overwrite` to replace)

Create a note (fails if it already exists; set `overwrite` to replace)

No parameter schema in public metadata yet.

vault_patch_noteHeading-targeted edit (append, prepend, replace with `include_children` guard, insert)

Heading-targeted edit (append, prepend, replace with `include_children` guard, insert)

No parameter schema in public metadata yet.

vault_replace_in_noteFind-and-replace text in a note (first match or `replace_all_occurrences`)

Find-and-replace text in a note (first match or `replace_all_occurrences`)

No parameter schema in public metadata yet.

vault_delete_spanDelete a block of lines by short anchors, no full re-quote

Delete a block of lines by short anchors, no full re-quote

No parameter schema in public metadata yet.

vault_replace_spanReplace a block of lines by short anchors with new content

Replace a block of lines by short anchors with new content

No parameter schema in public metadata yet.

vault_insert_at_anchorInsert content before or after a line identified by a short anchor

Insert content before or after a line identified by a short anchor

No parameter schema in public metadata yet.

vault_list_notesList notes with optional glob/folder filter

List notes with optional glob/folder filter

No parameter schema in public metadata yet.

vault_delete_noteDelete a note, honoring the vault's trash setting (protected paths enforced)

Delete a note, honoring the vault's trash setting (protected paths enforced)

No parameter schema in public metadata yet.

vault_move_noteMove or rename a note, rewriting links across the vault

Move or rename a note, rewriting links across the vault

No parameter schema in public metadata yet.

vault_searchHybrid search with tag/folder/property/date filters

Hybrid search with tag/folder/property/date filters

No parameter schema in public metadata yet.

vault_search_by_tagFind notes by tag, including the tags nested under it

Find notes by tag, including the tags nested under it

No parameter schema in public metadata yet.

vault_search_by_folderBrowse notes in a folder with metadata

Browse notes in a folder with metadata

No parameter schema in public metadata yet.

vault_recent_notesRecently modified or created notes

Recently modified or created notes

No parameter schema in public metadata yet.

vault_list_tagsAll tags with usage counts

All tags with usage counts

No parameter schema in public metadata yet.

vault_list_tasksVault-wide task index with sub-task depth — Kanban-aware, date/priority/heading filters

Vault-wide task index with sub-task depth — Kanban-aware, date/priority/heading filters

No parameter schema in public metadata yet.

vault_create_taskCreate a correctly-formatted task — dates, priority, recurrence, on_completion, sub-tasks, block_id

Create a correctly-formatted task — dates, priority, recurrence, on_completion, sub-tasks, block_id

No parameter schema in public metadata yet.

vault_update_taskEdit any task field in one call — completing a recurring task creates its next occurrence

Edit any task field in one call — completing a recurring task creates its next occurrence

No parameter schema in public metadata yet.

vault_get_memoryRead structured memory (file, section, or all)

Read structured memory (file, section, or all)

No parameter schema in public metadata yet.

vault_update_memoryAppend a dated entry to a memory section

Append a dated entry to a memory section

No parameter schema in public metadata yet.

vault_delete_memoryRemove a specific memory entry by date

Remove a specific memory entry by date

No parameter schema in public metadata yet.

vault_list_memory_filesDiscover memory files, their sections, and each file's entry policy

Discover memory files, their sections, and each file's entry policy

No parameter schema in public metadata yet.

vault_memory_recallEntry-granular hybrid recall of a topic across memory files, oldest-first

Entry-granular hybrid recall of a topic across memory files, oldest-first

No parameter schema in public metadata yet.

vault_list_property_keysAll property keys with sample values

All property keys with sample values

No parameter schema in public metadata yet.

vault_list_property_valuesDistinct values for a property key

Distinct values for a property key

No parameter schema in public metadata yet.

vault_search_by_propertyFind notes by property key-value

Find notes by property key-value

No parameter schema in public metadata yet.

vault_update_propertiesAdd, update, or replace properties without touching the body

Add, update, or replace properties without touching the body

No parameter schema in public metadata yet.

vault_get_backlinksNotes linking to a given path

Notes linking to a given path

No parameter schema in public metadata yet.

vault_get_outgoing_linksLinks from a given note

Links from a given note

No parameter schema in public metadata yet.

vault_find_orphansNotes with no incoming links

Notes with no incoming links

No parameter schema in public metadata yet.

vault_read_fileRead a non-markdown file — images delivered as images, canvases as readable outlines

Read a non-markdown file — images delivered as images, canvases as readable outlines

No parameter schema in public metadata yet.

vault_list_filesBrowse the vault's non-markdown files with sizes and per-extension counts

Browse the vault's non-markdown files with sizes and per-extension counts

No parameter schema in public metadata yet.

vault_get_daily_noteToday's (or any date's) daily note

Today's (or any date's) daily note

No parameter schema in public metadata yet.

Configuration

MCP_AUTH_TOKEN*secret

Bearer token for MCP client authentication. Must match the Authorization header sent by clients. Generate with: openssl rand -hex 32

PUBLIC_URLdefault: http://localhost:8000

Public URL clients use to reach this server. Used as the OAuth issuer URL in discovery metadata. Override when exposing the server outside localhost or on a non-default port.

EMBEDDING_ENABLEDdefault: true

Enable or disable the embedding pipeline. When false, no ONNX model is downloaded, no vector tables are created, and search uses FTS5 only.

RERANK_MODEdefault: blended

Cross-encoder reranking mode: blended (position-aware score blending after RRF fusion) or none (skip reranking). Only takes effect when EMBEDDING_ENABLED is true.

WINDOWS_MODEdefault: false

Windows bind-mount mode: enables filesystem polling for the file watcher and rename-based moves and file creation across the Docker Desktop/WSL2 bridge. Set to true when the vault lives on a Windows drive.

MEMORY_ENABLEDdefault: true

Enable or disable the structured memory layer. When false, memory tools are hidden, bootstrap is skipped, and server metadata omits memory references.

FILE_TOOLS_ENABLEDdefault: true

Enable or disable file tools (vault_read_file, vault_write_file, vault_delete_file, vault_list_files). When false, file tools are hidden and server metadata omits file tool references.

READONLY_MODEdefault: false

Run the server read-only: every vault-writing tool is hidden, the memory folder is not auto-created, and server metadata omits write references.

DISABLED_TOOLS

Hide individual tools by name, comma-separated. Subtractive only — it cannot re-enable a tool another setting hides; an unknown tool name stops the server at startup.

MEMORY_DIRdefault: About Me

Vault folder for structured memory files (About Me-style notes). Memory tools are hidden when MEMORY_ENABLED is false, but this value still feeds the defaults for PROTECTED_PATHS and ORPHAN_EXCLUDE_FOLDERS.

DAILY_NOTES_FOLDERdefault: Daily Notes

Vault folder for daily notes. Overrides the folder configured in Obsidian's daily-notes plugin. When unset, read from the vault's .obsidian/daily-notes.json (an empty folder there follows Obsidian's new-note location), falling back to "Daily Notes" when that file is missing or un

DAILY_NOTES_FORMATdefault: YYYY-MM-DD

Filename date format for daily notes (Moment.js tokens). Overrides the format configured in Obsidian's daily-notes plugin. When unset, read from the vault's .obsidian/daily-notes.json, falling back to "YYYY-MM-DD".

TRUST_PROXY_HOPSdefault: 0

Number of trusted reverse-proxy hops used to derive the client IP from X-Forwarded-For for OAuth rate limiting and request logs. With 0, injected forwarding headers are ignored.

TRUST_FORWARDED_HOPSdefault: 0

How many entries from the end of the RFC 7239 Forwarded header's for= list to count to reach the client IP for OAuth rate limiting and request logs. 0 ignores the header; 1 when the proxy in front writes it (e.g. AWS API Gateway) and is the only way to reach the server; 2 when a

TZdefault: UTC

IANA timezone for timestamps and daily note resolution.

LOG_LEVELdefault: info

Logging verbosity.

LOG_DIR

Directory for log files that survive container re-creation. The container's own log is always written but discarded when the container is recreated; date-stamped files under LOG_DIR persist on the data volume. Default: /data/logs (remote image), $STORAGE_ROOT/data/logs (single-vo

LOG_RETENTION_DAYSdefault: 90

Days to keep log files; cleanup runs at startup and each day. Only applies when LOG_DIR is a path.

LOG_MAX_DAILY_MBdefault: 25

Maximum MB per daily log file (1 MB = 1,000,000 bytes). Whole numbers of at least 1, or none to disable the cap. File logging pauses at the cap until midnight in TZ (UTC by default); console logging continues.

PROTECTED_PATHS

Comma-separated vault folder names blocked from vault_delete_note, vault_delete_file and vault_move_note. Default: MEMORY_DIR plus the daily notes folder, read from DAILY_NOTES_FOLDER or .obsidian/daily-notes.json (default Daily Notes; none when that setting is the vault root or

ORPHAN_EXCLUDE_FOLDERS

Comma-separated vault folder names excluded from vault_find_orphans. Default: the daily notes folder, "Templates", and MEMORY_DIR. DAILY_NOTES_FOLDER wins; otherwise .obsidian/daily-notes.json is read per query (fallback "Daily Notes"; no daily folder when that setting is the vau

SERVICE_DOCUMENTATION_URLdefault: https://github.com/aliasunder/vault-cortex

Override the OAuth service documentation URL exposed via discovery metadata.

MAX_FILE_BYTESdefault: 52428800

Largest file vault_read_file will read, in bytes. Reading a larger file returns an error instead of content.

MAX_IMAGE_OUTPUT_BYTESdefault: 49152

Byte budget for images returned by vault_read_file, in binary bytes before base64 encoding. Images exceeding the budget are downscaled/recompressed server-side to fit; raise for clients that accept larger tool responses.

Readme

Details

Repository
github.com/aliasunder/vault-cortex
Website
github.com/aliasunder/vault-cortex
Categories
Productivity & Notes, Memory & Context, Docs & Knowledge Bases
Package
ghcr.io/aliasunder/vault-cortex:1.2.1
Transport
HTTP
Auth
Required
Registry
MCP registry, active

Questions

Which category does Vault Cortex rank in on Claude Marketplaces?

Vault Cortex is listed under Productivity & Notes on Claude Marketplaces, where it ranks in the top 100. Its neighbours in that category include Task Master, Obsidian and Excel MCP Server, but Vault Cortex is the one that gives an agent hybrid search, task management and structured memory over an Obsidian vault.

What can an agent do with the Vault Cortex MCP server?

Vault Cortex exposes 33 tools that let an agent read, create, patch, move and delete Obsidian notes, search the vault with hybrid keyword and vector search, and manage tasks with Kanban-aware queries. It also reads and writes structured memory, walks the link graph with backlinks and orphan detection, and reads non-markdown files such as images and PDFs.

Does Vault Cortex need Obsidian running to work?

No, Vault Cortex is plugin-free and works directly with the .md files on disk, so Obsidian does not have to be running. Its README says it runs as one Docker container with your vault folder mounted, and that headless sync keeps the vault current.

What does Vault Cortex need before I can run it?

Vault Cortex is configured through environment variables, including MCP_AUTH_TOKEN for bearer authentication, PUBLIC_URL for the OAuth issuer and EMBEDDING_ENABLED for the search pipeline. Its server.json shows it is distributed as an OCI image on ghcr.io and runs over streamable-http, with Docker as the runtime hint.

Similar to Vault Cortex

More Productivity & Notes