A Model Context Protocol (MCP) server writen in Go that provides structured, queryable access to the full text of the EU GDPR — articles, chapters, and recitals — in JSON. MIT for code, CC0 for data.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"gdpr-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
GDPR Model Context Protocol (MCP) server exposing structured GDPR content (recitals, chapters, articles, and article paragraphs) to MCP-aware clients over HTTP.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in legal
87 tools for Korean law — statutes, precedents, ordinances, interpretations | MCP Server · CLI · npm
Proof primitive for AI agents on MultiversX. Anchor file hashes on-chain as verifiable proofs.
956k Swiss court decisions: full-text search, citation graph, statute lookup (DE/FR/IT)
AFIP — Argentine tax authority, electronic invoicing (Factura Electrónica)
MCP Security Weekly
Get CVE alerts and security updates for Gdpr Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
GDPR Model Context Protocol (MCP) server exposing structured GDPR content (recitals, chapters, articles, and article paragraphs) to MCP-aware clients over HTTP.
GetArticleById(article_id)GetChapterById(chapter_id)GetRecitalById(recital_id)GetArticleParagraphsByArticleId(article_id, index)go.uber.org/diggo.uber.org/zap (with optional slog-zap bridge)github.com/modelcontextprotocol/go-sdktesting, github.com/stretchr/testifygit clone https://github.com/6022-labs/gdpr-mcp-server.git
cd gdpr-mcp-server
go mod download
Minimal env (from .env.example):
export APP_NAME="gdpr-mcp-server"
export DAL_ARTICLES_DATA_FILE_PATH="$(pwd)/data/v1/articles"
export DAL_CHAPTERS_DATA_FILE_PATH="$(pwd)/data/v1/chapters"
export DAL_RECITALS_DATA_FILE_PATH="$(pwd)/data/v1/recitals"
# Optional: API_PORT=3000 LOG_LEVEL=info STATELESS=false JSON_RESPONSE=false
You can place these in a .env file to load it at startup.
go run ./src/gdpr_mcp_server_host
# listens on :${API_PORT:-3000}
mkdir -p bin && go build -o bin/gdpr-mcp ./src/gdpr_mcp_server_host
Build the Docker image:
docker build \
-t gdpr-mcp-server:dev \
-f src/gdpr_mcp_server_host/Dockerfile \
-e APP_NAME="gdpr-mcp-server" \
-e API_PORT=3000 \
.
src/gdpr_mcp_server_host: composition, DI, logging, settings, MCP HTTP serversrc/gdpr_mcp_server: domain models + repository interfacessrc/gdpr_mcp_server_dal: JSON-backed repositoriessrc/gdpr_mcp_server_tools: MCP tool controllersdata/v1: canonical GDPR JSONRun tests:
go test ./...
src/gdpr_mcp_server_host/configurations/* and settings/*src/gdpr_mcp_server/models/* and repositories/*src/gdpr_mcp_server_tools/* for MCP tool registrationgo.mod unless discussed.gofmt -s -w . && go vet ./... && go test ./...
MIT - See LICENSE for details.