MCP server safety grade
eu.ansvar/us-law-mcp
US federal and state cybersecurity/privacy law MCP server with cross-state comparison
npx -y @ansvar/us-law-mcp · npm @ansvar/us-law-mcp 0.1.1 · score 85/100 · scanned 2026-12-05
What it can do
- Yes: Network access
- Yes: Writes or deletes files
- Yes: 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
None of the risk patterns we check for were found.
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2026-02-20 |
| This version published | 2026-02-22 |
| Versions | 2 |
| Maintainers | 1 |
| Licence | Apache-2.0 |
| Source repository | github.com/Ansvar-Systems/US-law-mcp |
| Runs scripts on install | No |
| Files in package | 47 (3,217 KB) |
| Web addresses in code | alisondb.legislature.state.al.us app.leg.wa.gov apps.legislature.ky.gov code.dccouncil.gov codes.ohio.gov delcode.delaware.gov docs.legis.wisconsin.gov iga.in.gov law.justia.com law.lis.virginia.gov le.utah.gov leg.colorado.gov leg.mt.gov leginfo.legislature.ca.gov legislature.idaho.gov legislature.maine.gov legislature.vermont.gov malegislature.gov mgaleg.maryland.gov nebraskalegislature.gov nmonesource.com publications.tnsosfiles.com revisor.mo.gov sdlegislature.gov statutes.capitol.texas.gov uscode.house.gov webserver.rilegislature.gov www.akleg.gov www.arkleg.state.ar.us www.azleg.gov www.capitol.hawaii.gov www.cga.ct.gov www.gencourt.state.nh.us www.ilga.gov www.ksrevisor.org www.lawserver.com www.leg.state.fl.us www.leg.state.nv.us www.legis.ga.gov www.legis.iowa.gov |
| Deprecated | Ansvar MCP servers are now distributed as source from github.com/Ansvar-Systems/us-law-mcp under Apache 2.0. Self-hosting instructions: see the repo README. Hosted gateway: ansvar.eu |
Where we saw each capability (12 examples)
- Runs shell commands or other programs
dist/scripts/build-db-free.js:22import { execFileSync } from 'child_process'; - Runs shell commands or other programs
dist/scripts/build-db-free.js:31return execFileSync('sqlite3', [dbPath, query], { - Runs shell commands or other programs
dist/scripts/build-db-free.js:45execFileSync('sqlite3', ['--version'], { encoding: 'utf-8' }); - Writes, moves or deletes files
dist/scripts/build-db-free.js:55fs.unlinkSync(FREE_DB);
- Writes, moves or deletes files
dist/scripts/build-db-free.js:61fs.unlinkSync(f);
- Writes, moves or deletes files
dist/scripts/build-db.js:13fs.unlinkSync(DB_PATH);
- Makes network requests
dist/scripts/check-uscode-updates.js:92const resp = await fetch(url, { - Reads environment variables (where API keys usually live)
dist/scripts/check-uscode-updates.js:116const outputPath = process.env.GITHUB_OUTPUT;
- Makes network requests
dist/scripts/fetch-states-lawserver.js:76const resp = await fetch(url, { - Makes network requests
dist/scripts/fetch-states.js:80const resp = await fetch(url, { - Reads environment variables (where API keys usually live)
dist/api/health.js:7const SOURCE_DB = process.env.US_LAW_DB_PATH
- Reads environment variables (where API keys usually live)
dist/src/http-server.js:13const PORT = parseInt(process.env.PORT || '3000', 10);
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/eu-ansvar-us-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).