Back to Home
freakynit icon

snippets-mcp

Verified Safe

by freakynit

Overview

An MCP server for storing, searching, and managing code snippets using AI-powered semantic search and traditional keyword matching.

Installation

Run Command
npx -y @freakynit/snippets-mcp@latest

Environment 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

Stats

Interest Score0
Security Score8
Cost ClassLow
Stars0
Forks0
Last Update2025-12-01

Tags

code snippetssemantic searchkeyword matchingAI embeddingscode management