Long-term memory for a coding agent: searches your Obsidian vault and cites path:line.
Maintain this server? Claim it
This server only runs locally, from a package. Install it with the instructions on this page to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add vault-mcp \ -e VAULT_PATH=YOUR_VAULT_PATH \ -- npx -y @andreymudri/[email protected]
Environment
VAULT_PATH (required): Absolute path to the root folder of the Obsidian vault to serve. Required; the server exits with a message on stderr without it.VAULT_LANG (optional, not in the config above): Language the server speaks in tool descriptions and errors: 'en' (default) or 'pt'. It never changes what is written into the vault — commit subjects and section names follow the vault.VAULT_AUTO_PUSH (optional, not in the config above): Set to 1 to git push after each write's commit. Off by default: it is the only thing this server does that leaves the machine. A failed push is reported as a warning, never rolled back.VAULT_READ_ONLY (optional, not in the config above): Set to 1 to publish only the read tools: nothing in the vault can be written, moved or deleted through this server. A value that is neither a yes nor a no is treated as 1.VAULT_DISABLED_TOOLS (optional, not in the config above): Tool names not to publish, separated by commas or spaces, e.g. vault_delete,vault_move.VAULT_LOG_LEVEL (optional, not in the config above): How much the server writes to stderr, one JSON object per line: silent, error, warn (default), info or debug. The same events reach the client through the MCP logging capability.VAULT_MAX_NOTE_BYTES (optional, not in the config above): Files larger than this many bytes are left out of the index and reported as a diagnostic. Default 5242880 (5 MB).VAULT_LOCK_TIMEOUT_MS (optional, not in the config above): How long a write waits for another process writing the same vault before it is refused. Default 30000.VAULT_SCAN_TTL_MS (optional, not in the config above): How long a scan of the vault is reused before the files are looked at again, in milliseconds. Unset is adaptive: never for a small vault, up to 2000 for a large one. 0 scans on every call.We don't run packages, so we can't list this server's tools.