neuro-vault-mcp 3.4.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -15
- package/dist/cli.d.ts +6 -4
- package/dist/cli.js +15056 -14844
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
# Neuro Vault MCP
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
> 🧠💾 **Plug your knowledge in like a USB drive.** Your Obsidian vault, available in every AI conversation — search it, query it, write to it. Same vault in Claude Code, Cursor, Windsurf — no copy-paste, no context-switching, no re-indexing.
|
|
4
|
+
|
|
5
|
+
https://github.com/user-attachments/assets/0ba43373-3f97-4dc6-ab91-4f30bdafd0bf
|
|
4
6
|
|
|
5
7
|
[](https://www.npmjs.com/package/neuro-vault-mcp)
|
|
6
8
|
[](https://nodejs.org)
|
|
7
9
|
[](LICENSE)
|
|
8
10
|
|
|
9
|
-
|
|
11
|
+
Your second brain stops being a folder you open between contexts and becomes a first-class participant in every project. Ask, recall, decide, write back — all without leaving the conversation.
|
|
12
|
+
|
|
13
|
+
> _"What did I write about that idea last month?"_ — and now your assistant can actually answer.
|
|
10
14
|
|
|
11
15
|
---
|
|
12
16
|
|
|
@@ -22,30 +26,35 @@
|
|
|
22
26
|
|
|
23
27
|
---
|
|
24
28
|
|
|
25
|
-
##
|
|
29
|
+
## 🧰 Two superpowers, one server
|
|
26
30
|
|
|
27
|
-
|
|
28
|
-
flowchart LR
|
|
29
|
-
You([You]) --> AI[AI assistant]
|
|
30
|
-
AI <-->|MCP| NV[Neuro Vault]
|
|
31
|
-
NV <--> Vault[(Obsidian vault)]
|
|
32
|
-
```
|
|
31
|
+
Most "vault MCP" servers give you one or the other. Neuro Vault gives you both, and lets your assistant pick the right one per question:
|
|
33
32
|
|
|
34
|
-
|
|
33
|
+
| | 🔭 **Semantic recall** | 🛠 **Vault operations** |
|
|
34
|
+
| ---------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
|
|
35
|
+
| **What it does** | Finds notes by meaning, not keywords. Surfaces neighbours and duplicates. | Reads, writes, edits notes; manages frontmatter, tags, daily notes. |
|
|
36
|
+
| **Best for** | _"What did I think about X?"_, fuzzy recall, exploratory research. | Structured queries, capturing decisions, updating tasks, batch reads. |
|
|
37
|
+
| **Powered by** | Smart Connections embeddings (already in your vault). | The official Obsidian CLI — Smart Connections, sync, plugins all stay in sync. |
|
|
35
38
|
|
|
36
|
-
|
|
39
|
+
The two work together: semantic search finds the right region of the vault, vault operations let the assistant actually _do something_ with what it found.
|
|
37
40
|
|
|
38
41
|
---
|
|
39
42
|
|
|
40
|
-
##
|
|
43
|
+
## ✨ What it looks like in practice
|
|
41
44
|
|
|
42
|
-
|
|
45
|
+
**Before:** _"Could you check my notes about that LangGraph experiment?"_
|
|
46
|
+
→ Assistant lists `Notes/`, opens 12 files, greps for "LangGraph", gives up halfway, you paste the relevant note manually.
|
|
43
47
|
|
|
44
|
-
|
|
48
|
+
**After:** _"Could you check my notes about that LangGraph experiment?"_
|
|
49
|
+
→ One semantic search, top-3 ranked notes back, follow-up question already grounded in your own writing.
|
|
50
|
+
|
|
51
|
+
A few more questions Neuro Vault makes one-shot:
|
|
45
52
|
|
|
46
53
|
> _"What are my active projects tagged #ai with a deadline this quarter?"_
|
|
47
|
-
> _"Show meeting notes from `Work/` from the last two weeks."_
|
|
54
|
+
> _"Show meeting notes from `Work/` from the last two weeks, newest first."_
|
|
48
55
|
> _"Find notes similar to this one I'm reading."_
|
|
56
|
+
> _"Append today's decision to the daily note."_
|
|
57
|
+
> _"What did past-me write about retrieval policy before I started building it?"_
|
|
49
58
|
|
|
50
59
|
One question, one answer. Your assistant stops being a file browser and starts being an actual second brain.
|
|
51
60
|
|
|
@@ -53,6 +62,21 @@ One question, one answer. Your assistant stops being a file browser and starts b
|
|
|
53
62
|
|
|
54
63
|
---
|
|
55
64
|
|
|
65
|
+
## 🏗 How it works
|
|
66
|
+
|
|
67
|
+
```mermaid
|
|
68
|
+
flowchart LR
|
|
69
|
+
You([You]) --> AI[AI assistant]
|
|
70
|
+
AI <-->|MCP| NV[Neuro Vault]
|
|
71
|
+
NV <--> Vault[(Obsidian vault)]
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
You ask, the assistant calls Neuro Vault, Neuro Vault reads your vault — semantic search uses embeddings already in `.smart-env/`, vault operations go through the `obsidian` CLI. No database, no background processes.
|
|
75
|
+
|
|
76
|
+
For module wiring and internal data flow, see [docs/architecture/module-structure.md](./docs/architecture/module-structure.md).
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
56
80
|
## ⚡ Quickstart
|
|
57
81
|
|
|
58
82
|
```bash
|
package/dist/cli.d.ts
CHANGED
|
@@ -13,6 +13,11 @@ interface SmartSource {
|
|
|
13
13
|
embedding: number[];
|
|
14
14
|
blocks: SmartBlock[];
|
|
15
15
|
}
|
|
16
|
+
|
|
17
|
+
interface SmartConnectionsCorpus {
|
|
18
|
+
sources: Map<string, SmartSource>;
|
|
19
|
+
}
|
|
20
|
+
|
|
16
21
|
interface BlockSearchResult {
|
|
17
22
|
path: string;
|
|
18
23
|
heading: string;
|
|
@@ -54,15 +59,12 @@ interface SearchEngine {
|
|
|
54
59
|
}
|
|
55
60
|
type PathExistsCheck = (vaultRelativePath: string) => Promise<boolean>;
|
|
56
61
|
|
|
57
|
-
interface SmartConnectionsCorpus {
|
|
58
|
-
sources: Map<string, SmartSource>;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
62
|
interface SemanticModuleDeps {
|
|
62
63
|
loadCorpus?: (smartEnvPath: string, modelKey: string) => Promise<SmartConnectionsCorpus>;
|
|
63
64
|
embeddingServiceFactory?: (modelId: string) => EmbeddingProvider;
|
|
64
65
|
searchEngine?: SearchEngine;
|
|
65
66
|
pathExists?: PathExistsCheck;
|
|
67
|
+
readNoteContent?: (vaultRelativePath: string) => Promise<string>;
|
|
66
68
|
}
|
|
67
69
|
|
|
68
70
|
type NoteIdentifier = {
|