Local semantic search over your Obsidian vault - always fresh, never reindex.
Your Obsidian vault is Claude's memory. Always fresh, always local.
Every other vault-search MCP makes you re-run an index command, babysit a watch terminal, or click "Update Index" in a web UI. freshvault watches your vault from inside the MCP server: edit a note, and Claude sees it seconds later. Automatically. Forever.

bge-m3), your notes never leave your machinebge-m3 handles Korean, Japanese, and 100+ languages that English-only defaults fail onPrerequisites: Node 20+ and Ollama.
npx -y freshvault setup
That's it. The wizard detects your Obsidian vault, pulls the embedding model, builds the index, and registers with Claude Code. There is no step 2, and there is never a step 2: no index command to re-run, no watch terminal, no background service.
{
"mcpServers": {
"freshvault": {
"command": "npx",
"args": ["-y", "freshvault", "serve"],
"env": { "FRESHVAULT_VAULT": "/absolute/path/to/your/vault" }
}
}
}
Claude Code one-liner:
claude mcp add freshvault -s user -- npx -y freshvault serve
Just ask Claude about your notes:
"Search my notes for what I wrote about cache eviction strategies"
Three tools, all read-only:
| tool | what it does |
|---|---|
search_notes | semantic search + optional folder / tags / modified_after / modified_before scoping; exact-title lookups boosted; at most 2 chunks per note so one long note can't own the results (max_per_file) |
get_note_context | full note + its backlinks/outlinks from the vault link graph (path-traversal safe) |
index_status | freshness report: notes/chunks, excluded count, last sync, watcher state |
Scoped queries competitors gate behind settings or paywalls work per-query here:
"Search my notes tagged #project modified after June for the budget discussion"
Obsidian vault ──fs.watch──▶ freshvault MCP server ──search_notes──▶ Claude
(.md files) (chunks → bge-m3 embeddings (generation)
→ one JSON index, incremental)
Register one server per vault — index files are kept per-vault automatically:
claude mcp add work-vault -s user -e FRESHVAULT_VAULT=/path/to/work -- npx -y freshvault serve
claude mcp add personal-vault -s user -e FRESHVAULT_VAULT=/path/to/personal -- npx -y freshvault serve
FRESHVAULT_EMBED_API=openai FRESHVAULT_EMBED_URL=http://localhost:1234 npx -y freshvault serve
Anything speaking /v1/embeddings works; FRESHVAULT_EMBED_KEY for authenticated endpoints (never written to the config file).
Everything works with zero config after setup. Override when needed:
| Flag | Env | Default |
|---|---|---|
--vault | FRESHVAULT_VAULT | from setup |
--model | FRESHVAULT_MODEL | bge-m3 |
--ollama-url | FRESHVAULT_OLLAMA_URL | http://localhost:11434 |
--data | FRESHVAULT_DATA | platform data dir |
| — | FRESHVAULT_EMBED_API | ollama (or openai) |
| — | FRESHVAULT_EMBED_URL | http://localhost:1234 (openai mode) |
| — | FRESHVAULT_EMBED_KEY | none (openai mode, optional) |
| — | FRESHVAULT_IGNORE | none — e.g. Templates/,Daily/** (or ignore: [] in config) |
| — | FRESHVAULT_LEXICAL_GATE | on — lexical scoring for code-like query tokens; off for pure dense (or lexicalGate: false in config) |
Commands: setup · serve (default) · index (manual escape hatch) · status
Patterns follow gitignore semantics, matched against vault-relative paths:
| Pattern | Excludes |
|---|---|
Templates/ | any Templates directory at any depth — Templates/, work/Templates/ |
/Templates | only the vault-root Templates/ |
Daily/** | everything under the root-level Daily/ only — the internal slash anchors it |
**/Daily/** | everything under any Daily/, at any depth |
*.excalidraw.md | that filename at any depth |
work/wip.md | exactly that path, relative to the vault root |
* and ? never cross a /. ** crosses directories only as a whole path segment (**/x, x/**, x/**/y); glued inside a segment it collapses to a single *, as in git.Templates never matches TemplatesOld.! negation and character classes are not supported; such patterns match nothing.FRESHVAULT_IGNORE is comma-separated, so a pattern cannot contain a comma.Behaviour change since v0.3.0. v0.3.0 treated a trailing slash as a root anchor, so
Templates/excluded only the vault-rootTemplates/and silently indexed every nested one — no warning, just a quietly polluted index. Patterns shaped likeTemplates/,/Templates,**/xanda/**/bnow exclude more than before (/Templatespreviously matched nothing at all). Conversely,**glued inside a segment (Daily**md) no longer crosses/. Runfreshvault statusafter upgrading and compare the excluded count if it matters to you.
Two retrieval micro-benchmarks ship in-repo (node scripts/bench.mjs): ko-bench (30 Korean notes, 40 paraphrase queries) and id-bench (38 technical notes, 14 identifier queries). Both run under three scoring modes — dense, hybrid-always, and the shipped gated mode — and the script checks the no-regression contract itself. Results and the bge-m3-ko (85.0% top-1, 634MB) import guide in docs/ko-bench.md.
MIT © Kioko Lab
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y freshvaultMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-kioko-lab-freshvault": {
"command": "npx",
"args": [
"-y",
"freshvault"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencefreshvaultnpmio.github.KIOKO-LAB/freshvault works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.