# Notes Vault [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/gronare/notes-vault-mcp  
**GitHub Stars:** 2  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/notes-vault

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

## Tools
Capabilities this server exposes over MCP:

- **search** — Full-text and, when on, meaning search over the index. Filters: `folder`, `status`, `tag`, `kind`, `area`, `path_prefix`, `since`, `include_archive`, `include_superseded`, `limit`.
- **context** — The session-start bundle for a `path` and `repo`; `format: "json"` answers it as data.
- **backlog** — The backlog by priority then age, filtered by `area` and `priority`.
- **list_files** — Paths only.
- **whoami** — The account a connection signs in as and whether it may write.
- **read_file** — One note, prefixed with `etag: <version>`. A superseded note carries a warning callout.
- **lint** — Reads every note and reports drift.
- **write_file** — Validates against the schema and refuses the write if it does not hold. Stamps `updated`, fills `date`. `expected_etag` makes the write conditional; `"*"` creates a note that must not exist yet. On S3 the condition travels with the PUT (`If-Match`, `If-None-Match: *`); a server that refuses conditi…
- **append_file** — Appends and bumps `updated`; the note must exist and still satisfy the schema.
- **set_status** — Changes a note's status, with `priority` and `source` for the backlog.
- **close** — Finishes a note and moves it into the archive.
- **backlog_add** — Files a backlog note.
- **log_append** — One dated line in the repo log, with the commits and the branch.
- **move_file** — Moves or renames a note; it must satisfy the schema at the destination.
- **delete_file** — Deletes for good. Prefer `close`.
- **init** — Sets up a vault without a schema: the schema of the `preset` it is given and the Bases views. On a vault with a schema it only writes the missing views.
- **obsidian_access** — Server only. Mints the WebDAV password for Obsidian's Remotely Save and shows it once.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "notes-vault": {
    "command": "uvx",
    "args": ["notes-vault-mcp"],
    "env": {
      "VAULT_PATH": ""
    }
  }
}
```

**Requires environment variables:** `VAULT_PATH` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Notes Vault does

Notes Vault gives MCP clients access to a folder of Markdown notes with YAML frontmatter. The vault can live on disk, in S3, or on a vault server. Notes remain ordinary files that can be opened in Obsidian, inspected with command-line tools, or tracked in git.

The server treats the vault schema as a contract. Required fields, allowed statuses and kinds, folder rules, tag vocabulary, and other settings determine whether a note is valid. Writes that violate the contract are rejected rather than stored.

Notes can also describe code through path metadata. Session context compares the working directory and repository with relevant notes, then reports commits made since those notes were updated.

## How it works

`init` creates the vault schema and Obsidian Bases views. It can start from the built-in layout or from the `para`, `simple`, `journal`, or `custom` presets. Existing views are retained, and an existing schema is not replaced by a normal initialization. A forced preset switch preserves the previous schema and does not move or delete notes.

The built-in layout assigns roles to folders such as Areas, Resources, Projects, Log, and Archive. Folder roles guide lifecycle operations: tasks and backlog entries go to the task folder, repository logs go to the log folder, and closed notes move to the archive folder. Custom schemas can change folders, kinds, statuses, tags, language settings, search behavior, and log formats.

The index supports full-text search with stemming, diacritic folding, and schema-defined synonyms. Meaning-based search can be enabled and runs locally with one shared model process across sessions. Changing the configured languages rebuilds the index.

## Setup and configuration

For a local vault with Claude Code, configure the MCP server with `VAULT_PATH` and launch it through `uvx`:

```sh
claude mcp add vault -s user -e VAULT_PATH=$HOME/vault -- uvx notes-vault-mcp
VAULT_PATH=$HOME/vault uvx notes-vault-mcp init
```

`VAULT_SCHEMA` can point to a local schema file that overrides the schema stored in the vault. The schema itself may define the preset, frontmatter contract, folder mappings, tag strictness, language settings, synonyms, stale-note timing, search weights, and repository log formats.

The Claude Code plugin adds session hooks and skills. The server can also run for S3 or MinIO storage, or as an HTTPS vault service with accounts and multiple vaults. `obsidian_access` creates a WebDAV password for Obsidian's Remotely Save and displays it once.

## Tools and capabilities

- `search` performs indexed full-text or optional meaning search with filters for folder, status, tag, kind, area, path prefix, date, archive inclusion, superseded notes, and result count.
- `context` returns session-start information for a path and repository; JSON format returns structured data.
- `backlog`, `backlog_add`, and `set_status` manage prioritized open work and note states.
- `read_file`, `list_files`, and `whoami` inspect notes, paths, and connection write access.
- `write_file`, `append_file`, `move_file`, and `delete_file` modify notes, with schema checks and conditional etag support where applicable.
- `close` archives completed notes, while `lint` scans the vault for drift.
- `log_append` records dated repository activity with branch and commit details.
- `init` creates or updates vault support files, and `obsidian_access` supports Remotely Save access.

## Limitations and notes

A vault without a required folder kind cannot use the lifecycle operation that depends on it; the tool reports the missing kind. Notes left in folders that a newly selected layout does not define remain searchable, but are checked against the new schema when written and reported by `lint` if they no longer fit.

`delete_file` removes a note permanently, so `close` is the safer choice for completed work. Conditional writes can require a matching etag, while `"*"` is used when creating a note that must not already exist.

_Full upstream README: https://allmcps.com/mcp/notes-vault/readme_

