snippets-mcp
Verified Safeby freakynit
Overview
An MCP server for storing, searching, and managing code snippets using AI-powered semantic search and traditional keyword matching.
Installation
npx -y @freakynit/snippets-mcp@latestEnvironment Variables
- SNIPPETS_FILE_PATH
Security Notes
The server stores data in a local JSON file (configurable path), limiting external database exposure. It uses `@xenova/transformers` for local AI model inference, avoiding external AI API calls. No obvious hardcoded secrets or direct 'eval' usage were found. The primary risks involve the permissions granted to the MCP server process (as it has file system write access) and the integrity of the downloaded AI models and npm packages. The input validation using Zod helps prevent malformed inputs.
Similar Servers
chunkhound
Provides local-first codebase intelligence, extracting architecture, patterns, and institutional knowledge for AI assistants.
zoekt-mcp
Provides code search and content fetching capabilities using Zoekt, designed for integration with AI assistants and LLMs.
codeweaver
A code intelligence platform that provides semantically rich, context-aware code search for AI agents, aimed at reducing cognitive load and token costs for coding tasks.
viberag
Local codebase semantic search (RAG) for AI coding assistants via MCP server.