{"score":65,"grade":"C","scannedAt":"2026-12-05T23:03:00.308Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@ansvar/chilean-law-mcp","version":"1.0.0","license":"Apache-2.0","repository":"https://github.com/Ansvar-Systems/Chilean-law-mcp","firstPublished":"2026-02-22T15:47:19.873Z","lastPublished":"2026-02-22T15:47:20.081Z","versions":1,"maintainers":1,"deprecated":"Ansvar MCP servers are now distributed as source from github.com/Ansvar-Systems/chilean-law-mcp under Apache 2.0. Self-hosting instructions: see the repo README. Hosted gateway: ansvar.eu","files":136,"bytes":349797,"hosts":["ansvar.ai","ansvar.eu","eur-lex.europa.eu","nuevo.leychile.cl","www.bcn.cl"]},"capabilities":{"network":true,"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":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/scripts/build-db.js","line":284,"snippet":"fs.unlinkSync(DB_PATH);"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/scripts/drift-detect.js","line":28,"snippet":"const response = await fetch(hash.upstream_url, {"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/scripts/fetch-all-laws-index.js","line":59,"snippet":"const response = await fetch(url, {"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/scripts/fetch-all-laws-index.js","line":176,"snippet":"fs.writeFileSync(OUTPUT_FILE, JSON.stringify(payload, null, 2));"},{"rule":"network","severity":"info","title":"Makes network requests","file":"dist/scripts/lib/fetcher.js","line":45,"snippet":"const response = await fetch(url, {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/api/health.js","line":5,"snippet":"const SOURCE_DB = process.env[DB_ENV_VAR] || join(process.cwd(), 'data', 'database.db');"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/api/health.js","line":12,"snippet":"rmSync('/tmp/database.db.lock', { recursive: true, force: true });"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/src/index.js","line":19,"snippet":"if (process.env[DB_ENV_VAR]) {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/src/index.js","line":20,"snippet":"return process.env[DB_ENV_VAR];"}],"vulns":[],"installScripts":["postinstall"],"server":{"name":"eu.ansvar/chilean-law-mcp","description":"Chilean legislation via MCP — full-text search across statutes and provisions","repository":"https://github.com/Ansvar-Systems/Chilean-law-mcp","version":"1.0.0"}}