{"score":65,"grade":"C","scannedAt":"2026-12-05T23:03:09.639Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@ansvar/swedish-law-mcp","version":"1.2.5","license":"Apache-2.0","repository":"https://github.com/Ansvar-Systems/swedish-law-mcp","firstPublished":"2026-02-13T04:21:12.860Z","lastPublished":"2026-04-11T05:23:36.411Z","versions":6,"maintainers":1,"deprecated":"Ansvar MCP servers are now distributed as source from github.com/Ansvar-Systems/swedish-law-mcp under Apache 2.0. Self-hosting instructions: see the repo README. Hosted gateway: ansvar.eu","files":161,"bytes":409483,"hosts":["ansvar.ai","ansvar.eu","data.riksdagen.se","eur-lex.europa.eu","lagen.nu"]},"capabilities":{"network":false,"files":false,"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/http-server.js","line":21,"snippet":"const PORT = parseInt(process.env.PORT || '3000', 10);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/http-server.js","line":25,"snippet":"if (process.env[DB_ENV_VAR])"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/http-server.js","line":26,"snippet":"return process.env[DB_ENV_VAR];"}],"vulns":[],"installScripts":["postinstall"],"server":{"name":"eu.ansvar/swedish-law-mcp","description":"Query 750+ Swedish statutes, EU cross-references, case law, and preparatory works","repository":"https://github.com/Ansvar-Systems/swedish-law-mcp","version":"1.2.5"}}