MCP server safety grade
eu.ansvar/swedish-law-mcp
Query 750+ Swedish statutes, EU cross-references, case law, and preparatory works
npx -y @ansvar/swedish-law-mcp · npm @ansvar/swedish-law-mcp 1.2.5 · score 65/100 · scanned 2026-12-05
What it can do
- Not seen: Network access
- Not seen: Writes or deletes files
- Not seen: Runs programs or shell commands
- Yes: Reads environment variables
- Not seen: Runs code built at runtime
These are normal for many MCP servers. They tell you what the server could do with the access you give it.
Risk signals
- Runs a script automatically when installed (postinstall)
package.jsontest -d dist || npm run build || true
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2026-02-13 |
| This version published | 2026-04-11 |
| Versions | 6 |
| Maintainers | 1 |
| Licence | Apache-2.0 |
| Source repository | github.com/Ansvar-Systems/swedish-law-mcp |
| Runs scripts on install | postinstall |
| Files in package | 161 (400 KB) |
| Web addresses in code | ansvar.ai ansvar.eu data.riksdagen.se eur-lex.europa.eu lagen.nu |
| 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 |
Where we saw each capability (3 examples)
- Reads environment variables (where API keys usually live)
dist/http-server.js:21const PORT = parseInt(process.env.PORT || '3000', 10);
- Reads environment variables (where API keys usually live)
dist/http-server.js:25if (process.env[DB_ENV_VAR])
- Reads environment variables (where API keys usually live)
dist/http-server.js:26return process.env[DB_ENV_VAR];
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/eu-ansvar-swedish-law-mcp)
The badge updates when we re-grade a new release from the registry.
Automated scan of the published package, not a security audit. A good grade means we found none of the patterns we check for (method). Think we got it wrong? Email hello@primemoverindustries.com and we re-check within 2 days.
Need a package that isn't here checked, or a fresh check of an unreleased version? Check any npm or PyPI package (US$9).
This grade as JSON (free, for agents).