{"score":65,"grade":"C","scannedAt":"2026-12-05T23:03:01.678Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@ansvar/danish-law-mcp","version":"1.0.1","license":"Apache-2.0","repository":"https://github.com/Ansvar-Systems/Denmark-law-mcp","firstPublished":"2026-02-20T07:26:25.716Z","lastPublished":"2026-02-20T07:26:26.011Z","versions":1,"maintainers":1,"deprecated":"Ansvar MCP servers are now distributed as source from github.com/Ansvar-Systems/danish-law-mcp under Apache 2.0. Self-hosting instructions: see the repo README. Hosted gateway: ansvar.eu","files":143,"bytes":348569,"hosts":["api.retsinformation.dk","eur-lex.europa.eu","www.retsinformation.dk"]},"capabilities":{"network":false,"files":true,"shell":false,"env":true,"dynamicCode":false},"findings":[{"rule":"install-script","severity":"medium","title":"Runs a script automatically when installed (postinstall)","file":"package.json","snippet":"test -d dist || npm run build || true"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/index.js","line":45,"snippet":"const dbPath = process.env[DB_ENV_VAR] || getDefaultDbPath();"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/index.js","line":84,"snippet":"const dbPath = process.env[DB_ENV_VAR] || getDefaultDbPath();"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/serve.js","line":26,"snippet":"const PORT = parseInt(process.env.PORT || '8080', 10);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/serve.js","line":38,"snippet":"rmSync(lockPath, { recursive: true, force: true });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/serve.js","line":44,"snippet":"rmSync(p, { force: true });"}],"vulns":[],"installScripts":["postinstall"],"server":{"name":"eu.ansvar/danish-law-mcp","description":"Query Danish laws and regulations, EU cross-references, case law, and preparatory works","repository":"https://github.com/Ansvar-Systems/Denmark-law-mcp","version":"1.0.1"}}