On-demand Obsidian vault access for AI coding assistants — 17 tools, 5 resources, 4 prompts.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-mlorentedev-hive-vault": {
"args": [
"hive-vault"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Your AI coding assistant forgets everything between sessions. Hive fixes that.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'hive-vault' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked hive-vault against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in productivity / search
Persistent memory using a knowledge graph
Web and local search using Brave Search API
MCP server for local codebase indexing, semantic search, and code dependency graphs.
Token efficient search for coding agents over public and private documentation.
MCP Security Weekly
Get CVE alerts and security updates for Hive Vault MCP Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Your AI coding assistant forgets everything between sessions. Hive fixes that.
Hive is an MCP server that connects your AI assistant to an Obsidian vault. Instead of loading everything upfront, it queries only what's needed — on demand.
| Metric | Without Hive | With Hive |
|---|---|---|
| Context loaded per session | ~800 lines (static) | ~50 lines (on demand) |
| Token cost for context | 100% every session | 6% average per query |
| Knowledge retained between sessions | 0% | 100% (in vault) |
Measured on a real vault with 19 projects, 200+ files. See benchmarks.
Hive runs without a vault — vault tools return a friendly error until VAULT_PATH is set, so you can install first and configure later.
# Minimal — uses default vault path ~/Projects/knowledge
claude mcp add -s user hive -- uvx --upgrade hive-vault
# With a custom vault path
claude mcp add -s user hive -e VAULT_PATH=$HOME/path/to/vault -- uvx --upgrade hive-vault
# Gemini CLI
gemini mcp add -s user -e VAULT_PATH=$HOME/path/to/vault hive-vault uvx -- --upgrade hive-vault
Default vault path:
~/Projects/knowledge. Override withVAULT_PATH(orHIVE_VAULT_PATH) as shown above.
For Codex CLI, GitHub Copilot, Cursor, Windsurf, and other clients, see Getting Started.
Then ask your assistant: "Use vault_list to see my vault"
Hive degrades gracefully — every recommended or optional dependency reveals more capability without breaking the baseline.
Required
00_meta / 10_projects / 50_work / 80_agents is optional — without it, vault tools still operate but the scope routing is flat.Recommended
git initialised inside the vault. Without it, vault_write / vault_patch still write to disk; they just skip the per-write commit (and vault_commit reports the working tree as untracked).vault_write(commit=False) / vault_patch(commit=False) to push the git workload off the synchronous tool path; see Recommended configuration below.Optional
qwen2.5-coder:7b (or compatible) for local, free delegate_task / capture_lesson worker calls.OPENROUTER_API_KEY) as a free-tier and paid fallback worker.Per ADR-006 (commit policy), the recommended pairing for write-heavy flows is: