{"score":65,"grade":"C","scannedAt":"2026-12-05T23:03:00.799Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@ansvar/costa-rican-law-mcp","version":"1.0.1","license":"Apache-2.0","repository":"https://github.com/Ansvar-Systems/Costa-Rican-law-mcp","firstPublished":"2026-02-22T17:37:51.887Z","lastPublished":"2026-02-22T17:37:52.090Z","versions":3,"maintainers":1,"deprecated":"Ansvar MCP servers are now distributed as source from github.com/Ansvar-Systems/costa-rican-law-mcp under Apache 2.0. Self-hosting instructions: see the repo README. Hosted gateway: ansvar.eu","files":120,"bytes":265110,"hosts":["ansvar.eu","eur-lex.europa.eu","pgrweb.go.cr","www.pgrweb.go.cr"]},"capabilities":{"network":true,"files":true,"shell":true,"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":253,"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":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/scripts/lib/fetcher.js","line":6,"snippet":"import { execFile } from 'node:child_process';"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/scripts/lib/fetcher.js","line":13,"snippet":"const ENV_DELAY_MS = Number.parseInt(process.env.MCP_FETCH_DELAY_MS ?? '', 10);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/scripts/lib/fetcher.js","line":15,"snippet":"const ENV_TIMEOUT_SEC = Number.parseInt(process.env.MCP_FETCH_TIMEOUT_SEC ?? '', 10);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/scripts/lib/fetcher.js","line":17,"snippet":"const ENV_MAX_RETRIES = Number.parseInt(process.env.MCP_FETCH_MAX_RETRIES ?? '', 10);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/scripts/lib/fetcher.js","line":38,"snippet":"await fs.writeFile(cookieJar, '', 'utf-8');"},{"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 });"}],"vulns":[],"installScripts":["postinstall"],"server":{"name":"eu.ansvar/costa-rican-law-mcp","description":"Costa Rican legislation via MCP — full-text search across statutes and provisions","repository":"https://github.com/Ansvar-Systems/Costa-Rican-law-mcp","version":"1.0.1"}}