Grove
Provides tools for searching, reading, writing, and analyzing notes in an Obsidian vault, with features like hybrid search, frontmatter validation, git versioning, and graph analysis.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Grovesearch my notes about machine learning"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Grove
Open-source MCP server that makes your Obsidian vault searchable and writable from any AI client.
Six tools, one git-backed vault, single-user. Claude, ChatGPT, Cursor, or any MCP-compatible client connects and gets structured access — search, read, write-back, graph diagnostics. Your vault stays yours: markdown files in a git repo, versioned forever.
┌─────────────────────────────────────────────────────────┐
│ MCP client (Claude / Cursor / …) │
└──────────────────────┬──────────────────────────────────┘
│ MCP — Streamable HTTP + Bearer
▼
┌─────────────────────────────────────────────────────────┐
│ grove-server │
│ 6 tools · write queue · provenance · discovery │
└──────────────────────┬──────────────────────────────────┘
│
┌──────────┼──────────┐
▼ ▼ ▼
Hybrid Vault Discovery
Search (git) worker
BM25+Vec (extract → link)About this repo. Grove was a hosted product 2026-04 → 2026-05. The repo you're looking at is the open-source cathedral that came out of it: a personal MCP layer over an Obsidian vault, single-user, self-host. The multi-tenant SaaS layer, autonomous-agent layer, encryption, trails, waitlist, and admin portal have all been stripped. See
RETROSPECTIVE.mdfor the full history.
The six tools
Tool | What it does |
| Hybrid BM25 + vector + title search with RRF fusion. Returns ranked snippets with URLs. |
| Read a note by path or title. Surfaces per-segment provenance (durable vs perishable voice). |
| Batch read via glob or comma-separated paths. |
| Create / update / soft-delete / hard-delete / move a note. Single op or batch (atomic optional). |
| List notes matching a pattern. Optional alias resolution. |
| Health, history, diagnostics, graph, lifecycle digest, discovery state, perf counters. |
Every write is a git commit. Every commit can carry provenance trailers that the read path surfaces via blame so future readers know what's the user's standing thinking vs an AI's moment-in-time synthesis.
Quick start
You need:
Node ≥ 22
A git-backed Obsidian-style markdown vault on disk
A QMD index for the vault (Grove reads BM25 + vector hits from it)
A Voyage AI API key for per-write embeddings (
voyage-4-large)
git clone https://github.com/jmilinovich/grove.git
cd grove
npm installSet the env vars:
export GROVE_VAULT=/path/to/your/vault # absolute path to the git repo
export GROVE_API_KEY=$(openssl rand -hex 32) # your bearer token — keep secret
export VOYAGE_API_KEY=... # Voyage AI key for embeddingsThen start the server:
npx tsx src/server.tsIt listens on http://127.0.0.1:8420/mcp. Point any MCP client at that URL with Authorization: Bearer <GROVE_API_KEY>.
Local-only without a token
For purely local development you can disable auth:
GROVE_AUTH=none GROVE_VAULT=/path/to/vault npx tsx src/server.tsOnly do this when the listener is bound to localhost.
Discovery worker (optional)
The discovery worker runs in the background and auto-wikilinks new notes by extracting entities from each write. It's a separate process:
GROVE_VAULT=/path/to/vault \
ANTHROPIC_API_KEY=... \
npx tsx src/discovery-worker.tsIf you don't run it, writes still work — they just don't get auto-linked. The discovery queue + cache live in ~/.grove/state.db and will resume when the worker comes back.
Env reference
Var | Required? | Default | Purpose |
| yes |
| Absolute path to the vault git repo |
| yes (unless | empty | Bearer token clients must send |
| no |
| Set to |
| no |
| HTTP listen port |
| no |
| SQLite state file (discovery queue, provenance, blame cache) |
| no |
| Prefix used when minting URLs returned by tool calls |
| for embed-on-write | — | Voyage AI key |
| for the discovery worker | — | Anthropic key for the extract→link engine |
| optional | — | Bearer for the |
What's in the box
src/
├── server.ts # MCP HTTP server, the 6 tools, bearer-auth gate
├── rest.ts # write / delete / move / batch handlers (git write-queue)
├── write-queue.ts # single-writer mutex per vault
├── hybrid-search.ts # BM25 + vector + RRF fusion over the QMD index
├── embed-single.ts # per-write embed → Voyage AI → QMD index
├── notes-validate.ts # frontmatter validation, hash, serialize/parse
├── provenance.ts # durable/perishable voice, commit trailers
├── blame.ts # per-segment authorship from git blame + trailers
├── discovery*.ts # extract → link engine (auto-wikilinking on write)
├── graph-health.ts # vault health metrics + flags
├── vault-graph.ts # wikilink graph + clusters
├── vault-stats.ts # cached stats for vault_status
├── vault-config.ts # detection + loading of the vault structure
└── db.ts # single SQLite state-db for discovery + provenance + blameCode conventions
TypeScript strict mode. No
anyexcept at untyped externals.Raw
node:http. No Express / Fastify.Node ≥ 22, ESM only, built-in
fetch+crypto.Dependencies are intentionally minimal (
@modelcontextprotocol/sdk,better-sqlite3,zod,yaml).The vault is sacred — Grove is plumbing. Never restructure or make policy decisions about vault content.
Architecture rules
The vault is the source of truth. All other state (state.db, QMD index) is derived. If they diverge, the derived state is wrong — rebuild it.
All writes are serialized via the write queue. No concurrent git operations.
Every write creates a git commit with attribution.
Search index updates synchronously on write so the agent's next call sees the change.
Keep the tool count small. Six tools today. If you're adding a tenth, stop and reconsider.
License
MIT. See LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jmilinovich/grove'
If you have feedback or need assistance with the MCP directory API, please join our Discord server