Back to Home
kaibruell icon

gesetze-im-internet-mcp

by kaibruell

Overview

Provides tools to download, list, and extract paragraphs from German law XML files, integrated as an MCP server.

Installation

Run Command
docker exec -i german-law-mcp-server node src/index.js

Security Notes

CRITICAL: The server is highly vulnerable to command injection. The `lawName` parameter is directly concatenated into shell commands executed via `child_process.execSync` in `mcp/src/index.js` without proper sanitization or quoting. For example, providing `estg; rm -rf /` as `lawName` will execute `rm -rf /` within the Docker container, leading to arbitrary code execution and potential data loss. This is present in `downloadLaw`, `getParagraph`, and `listContents` methods.

Similar Servers

Stats

Interest Score0
Security Score1
Cost ClassLow
Avg Tokens100
Stars0
Forks0
Last Update2025-11-18

Tags

German lawXML parsingdocument processingMCP serverlegal information