context-vault
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., "@context-vaultSearch my vault for React Query setup"
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.
context-vault
Persistent memory for AI agents — save and search knowledge across sessions. Data stays local as markdown files.
Hosted tier — cloud sync, web dashboard, team sharing → app.context-vault.com
Quick Start
curl -fsSL https://raw.githubusercontent.com/fellanH/context-vault/main/install.sh | sh
context-vault setupNo Node required — this installs the native binary directly. Windows: irm https://raw.githubusercontent.com/fellanH/context-vault/main/install.ps1 | iex.
Already have Node? npx context-vault works too and runs the same native engine under the hood.
Setup (~2 min) detects your AI tools (Claude Code, Cursor, Codex, Windsurf, etc.), configures MCP, downloads the embedding model (~22MB), and seeds a starter entry. The server runs as a shared daemon — all AI sessions share one auto-updating process.
Then restart your AI tool (required to pick up the new MCP server) and try:
"Search my vault for getting started"
The vault lives at ~/vault/ — plain markdown files you own.
Related MCP server: haksnbot-memory
What It Does
Save — Insights, decisions, patterns, contacts. Your AI agent writes them as you work.
Search — Hybrid full-text + semantic search. Ask in natural language.
Own your data — Markdown in folders you control. Git-versioned, human-editable.
First Steps
Tell your AI | What happens |
"Save an insight: React Query's staleTime defaults to 0" | Creates |
"Search my vault for React Query" | Returns matching entries |
"List my recent decisions" | Browses entries by kind |
"Show my vault status" | Diagnostics and health |
MCP Tools
Your AI agent uses these automatically — you don't call them directly.
Core
Tool | Description |
| Search vault — hybrid full-text + semantic vector search |
| Save or update entries (insights, decisions, patterns...) |
| Browse entries with filters (kind, tags, date range) |
| Remove an entry by ID |
Ingest
Tool | Description |
| Fetch a URL, extract readable content, save as a vault entry |
| Scan a local project directory (package.json, README, git, tech stack) |
Session
Tool | Description |
| Capture a session summary + discoveries as vault entries |
| Compile vault entries on a topic into a single structured brief |
System
Tool | Description |
| Vault health — config, file counts, database size, issues |
| List entries tagged as bucket entities |
Buckets aren't a separate structure — they're a bucket:<name> tag applied to entries for
scoping (any tool filtering by buckets: [...] is filtering on this tag). ingest_project
creates an optional kind: bucket entry as a discoverable index card for one, but the tag alone
is what does the scoping — nothing enforces the two stay in sync.
Kinds: insight · decision · pattern · reference · contact — or any custom kind. Derived from vault subdirectory names.
CLI Reference
Command | Description |
| Interactive installer — detects tools, writes MCP configs |
| Web dashboard |
| Vault health, paths, entry counts |
| Rebuild search index |
| Import .md, .csv, .json, .txt |
| Export to JSON or CSV |
| Check for updates |
| Remove MCP configs |
Note:
context-mcpis an alias;context-vaultis the primary command.
Hosted Option
Cloud sync, web dashboard, and team sharing at app.context-vault.com — no Node.js required. Setup for Claude Code, Cursor, GPT Actions: docs/distribution/connect-in-2-minutes.md
Configuration
Defaults work out of the box:
Setting | Default |
Vault dir |
|
Data dir |
|
Database |
|
Config: ~/.context-mcp/config.json. Env vars: CONTEXT_VAULT_VAULT_DIR, CONTEXT_VAULT_DB_PATH, etc.
Requirements
None, via install.sh/install.ps1 — it's a native binary. npx context-vault additionally needs Node.js 18+ (see below).
Platform | Install Node.js 18+ (only needed for the npx path) |
macOS |
|
Windows |
|
Linux | nvm: |
Troubleshooting
Install fails (native modules):
npm rebuild sqlite-vecVault not found:
mkdir -p ~/vault && context-vault setupStale search results:
context-vault reindex
Feedback & Community
Questions or ideas? Discussions
Found a bug? Open an issue
Using context-vault? Show & Tell
Development
git clone https://github.com/fellanH/context-vault.git
cd context-vault
nvm use
npm install
npm run cli -- setupUse npx context-vault or npm run cli -- instead of context-vault when running from source.
License
MIT
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
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/fellanH/context-vault'
If you have feedback or need assistance with the MCP directory API, please join our Discord server