snippet-vault
Click on "Deploy 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., "@snippet-vault Save the debounce function with tag utility"
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.
snippet-vault
An MCP server that gives Claude a personal code snippet library. Save snippets during any conversation and retrieve them later — across sessions, projects, and machines.
What it does
save_snippet — save any code block with a title, language, and tags
search_snippets — search by title, language, tag, or content
get_snippet — retrieve a full snippet by ID
list_snippets — see all saved snippets
delete_snippet — remove a snippet by ID
Snippets are stored locally at ~/.snippet-vault/snippets.json — your data stays on your machine.
Related MCP server: Snippets MCP
Example prompts
"Save this debounce function to my vault with tags: utility, typescript"
"Find my auth middleware snippet"
"Show me all my Python snippets"
"List everything in my vault"
"Delete snippet abc123"
Add to Claude Desktop
{
"mcpServers": {
"snippet-vault": {
"command": "npx",
"args": ["-y", "@engineeringmatrixexplorer/snippet-vault"]
}
}
}Add to Claude Code
claude mcp add snippet-vault -- npx -y @engineeringmatrixexplorer/snippet-vaultWhere snippets are stored
Snippets live at ~/.snippet-vault/snippets.json on your machine. No cloud, no account, no tracking.
Requirements
Node.js 18+
Part of the MCP Developer Tools Bundle
This server is also available as part of a bundle with engineering-matrix-explorer and stack-advisor.
License
MIT
Available Tools
5 toolsdelete_snippetB
Delete a snippet from your vault by ID
Inputs: id (required).
get_snippetB
Get a specific snippet by its ID
Inputs: id (required).
list_snippetsA
List all saved snippets (titles and IDs only)
Inputs: no named parameters.
save_snippetB
Save a code snippet to your personal vault
Inputs: title (required), code (required), language (required), tags.
search_snippetsA
Search your saved snippets by title, language, tag, or content
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct operation (create, read, list, search, delete) with no overlap in purpose. An agent can clearly differentiate them.
All tools follow a verb_noun pattern. Minor inconsistency: 'list_snippets' uses plural noun while others use singular, but the pattern is clear and predictable.
With 5 tools, the server covers all essential operations for a snippet vault without being excessive or sparse. Each tool contributes meaningfully.
The tool surface includes create, read (by ID, list, search), and delete operations. An update operation is missing, but snippets are often immutable, so this is acceptable.
Related MCP Connectors
Your versioned prompt library: search, read, save and version prompts from Claude Code.
Shared memory for AI coding agents. Save once, reuse from Cursor, Claude Code, Codex.
Persistent memory for Claude Code and Cursor. Stop re-explaining your project every session.
Give Claude, Cursor, or another AI assistant direct access to your QuickSnip library.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables Claude to manage GitHub Gists as an intelligent code library, allowing users to save, retrieve, update, and organize code snippets from anywhere with natural language commands.-
- AlicenseNot gradedqualityDmaintenanceEnables storing, searching, and managing code snippets using hybrid semantic search and keyword matching with automatic language detection and tag-based organization.7 npm2MIT
- AlicenseNot gradedqualityDmaintenanceEnables searching and retrieving Claude Code conversation history that would otherwise expire after 30 days. Supports full-text search, semantic search, and session management with automatic backup of all conversations.28MIT
- AlicenseAqualityCmaintenancePersistent knowledge base tools for Claude Code that store project context, decisions, and patterns locally across sessions, eliminating cold starts.846 PyPIMIT