obsidian-brain
Obsidian Brain
Obsidian MCP server: semantic search, knowledge graph, and vault editing. No plugin required.
Package Details
obsidian-brain
Runtime Arguments
Positional
-yPackage Arguments
Positional
serverEnvironment Variables
Absolute path to your Obsidian vault (or any folder of .md files).
Where to store the SQLite index + embedding cache. Defaults to $XDG_DATA_HOME/obsidian-brain or ~/.local/share/obsidian-brain.
englishPreset name: english (default, bge-small-en-v1.5), fastest, balanced, multilingual. Ignored when EMBEDDING_MODEL is set.
Power-user override: any transformers.js checkpoint or Ollama model id. Takes precedence over EMBEDDING_PRESET. Switching auto-reindexes.
transformersEmbedding backend. 'transformers' (local, default) or 'ollama' (requires a running Ollama server).
http://localhost:11434Base URL of a local Ollama server. Only used when EMBEDDING_PROVIDER=ollama.
Override the embedding dimensionality when EMBEDDING_PROVIDER=ollama. If unset, the server probes the model on startup.
Set to '1' to disable the live chokidar file watcher. Useful on SMB/NFS vaults where FSEvents/inotify don't fire reliably — fall back to running `obsidian-brain index` on a schedule (launchd/systemd).
Set to '1' to disable the startup catchup reindex that picks up edits made while the server was down.
3000Per-file reindex debounce for the live watcher, in milliseconds.
60000Graph-wide community-detection (Louvain) debounce for the live watcher, in milliseconds. Louvain is the only expensive op — batching it prevents per-edit CPU spikes.
30000Per-tool-call timeout in milliseconds. Tools exceeding this return an MCP error instead of hanging.