Back to Home
privacy-posture icon

gdpr-mcp

Verified Safe

by privacy-posture

Overview

A local Model Context Protocol (MCP) server for augmenting LLMs with GDPR document search capabilities using hybrid trigram and vector search.

Installation

Run Command
./gdpr-mcp start

Environment Variables

  • GDPR_MCP_DB
  • OPENAI_API_KEY
  • GDPR_MCP_OPENAI

Security Notes

The server primarily operates via stdin/stdout for MCP communication, limiting direct network exposure. It uses SQLite with CGO, a standard but slightly more complex component. OpenAI API key is fetched from environment variables, which is good practice. No 'eval' or similar dynamic code execution or obfuscation is apparent. Network requests are limited to the optional OpenAI embeddings API. The 'SearchVectors' function reads all embeddings into memory for similarity calculation, which could be a denial-of-service risk for very large databases due to memory consumption, but this is an efficiency concern rather than a direct security vulnerability given the expected usage with a single GDPR document.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens20
Stars0
Forks0
Last Update2025-11-29

Tags

GDPRHybrid SearchVector SearchMCPLLM Tooling