{"_id":"@ansvar/norwegian-standards-mcp","_rev":"2-ce9fb8a8d9a0eef21bcc66fba47451f1","name":"@ansvar/norwegian-standards-mcp","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@ansvar/norwegian-standards-mcp","version":"0.1.0","keywords":["mcp","norwegian","norway","nsm","digdir","cybersecurity","compliance","standards"],"author":{"name":"Ansvar Systems","email":"hello@ansvar.eu"},"license":"Apache-2.0","_id":"@ansvar/norwegian-standards-mcp@0.1.0","maintainers":[{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"}],"homepage":"https://github.com/Ansvar-Systems/norwegian-standards-mcp#readme","bugs":{"url":"https://github.com/Ansvar-Systems/norwegian-standards-mcp/issues"},"bin":{"norwegian-standards-mcp":"dist/index.js"},"dist":{"shasum":"11cb0bca7653f8aa19d3fe504f1ee4e4d35761b2","tarball":"https://registry.npmjs.org/@ansvar/norwegian-standards-mcp/-/norwegian-standards-mcp-0.1.0.tgz","fileCount":89,"integrity":"sha512-VQz7B/+l5W1iNSx9ohlYvVrNU7OhFZMbyMYMyJPuM5V0UcbxLchm9i7/cEhmlyGtoOba733h5s3C0FlKpaY71A==","signatures":[{"sig":"MEYCIQCwVt4o3nmvh/hn0Kl45MAsQbUMVfNPjivMMMdv6C7W2gIhAOFYhSobPb2sIhNl+rLsw/72bDmtyv5+m9uP1CrvRFhC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ansvar%2fnorwegian-standards-mcp@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":543329},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"gitHead":"eba8622ec28c950f7fc79160cfe8199d5cf29f07","scripts":{"dev":"tsx src/index.ts","lint":"tsc --noEmit","test":"vitest run","build":"tsc","clean":"rm -rf dist && find . -name '*.tsbuildinfo' -delete","start":"node dist/index.js","prepare":"test -f dist/index.js || npm run build","build:db":"node --import tsx scripts/build-db.ts","dev:http":"tsx src/http-server.ts","ingest:all":"npm run ingest:nsm-ikt && npm run ingest:nsm-styring && npm run ingest:nsm-fysisk && npm run ingest:nsm-teknisk && npm run ingest:nsm-kryptering && npm run ingest:nsm-sfraad && npm run ingest:digdir && npm run ingest:digdir-rammeverk && npm run ingest:sikkerhetsloven && npm run ingest:virksomhetsikkerhetsforskriften && npm run ingest:nis2 && npm run ingest:normen && npm run ingest:normen-faktaark && npm run ingest:datatilsynet && npm run ingest:norsis && npm run ingest:finanstilsynet && npm run ingest:nve && npm run ingest:nkom && npm run ingest:ns5830","ingest:nve":"node --import tsx scripts/ingest-nve-kraftikt.ts","start:http":"node dist/http-server.js","test:watch":"vitest","ingest:full":"npm run ingest:all && npm run build:db && npm run coverage:update","ingest:nis2":"node --import tsx scripts/ingest-nis2-norsk.ts","ingest:nkom":"node --import tsx scripts/ingest-nkom-ekomsikkerhet.ts","ingest:digdir":"node --import tsx scripts/ingest-digdir-veiledning.ts","ingest:normen":"node --import tsx scripts/ingest-normen-helse.ts","ingest:norsis":"node --import tsx scripts/ingest-norsis-grunnpakke.ts","ingest:ns5830":"node --import tsx scripts/ingest-ns5830-serien.ts","test:contract":"vitest run __tests__/contract/","ingest:nsm-ikt":"node --import tsx scripts/ingest-nsm-grunnprinsipper.ts","coverage:update":"node --import tsx scripts/update-coverage.ts","coverage:verify":"node --import tsx scripts/verify-coverage.ts","freshness:check":"node --import tsx scripts/check-freshness.ts","ingest:nsm-fysisk":"node --import tsx scripts/ingest-nsm-fysisk-sikkerhet.ts","ingest:nsm-sfraad":"node --import tsx scripts/ingest-nsm-sikkerhetsfaglig-raad.ts","ingest:nsm-styring":"node --import tsx scripts/ingest-nsm-sikkerhetsstyring.ts","ingest:nsm-teknisk":"node --import tsx scripts/ingest-nsm-tekniske-tiltak.ts","ingest:datatilsynet":"node --import tsx scripts/ingest-datatilsynet.ts","ingest:finanstilsynet":"node --import tsx scripts/ingest-finanstilsynet-ikt.ts","ingest:nsm-kryptering":"node --import tsx scripts/ingest-nsm-kryptering.ts","ingest:normen-faktaark":"node --import tsx scripts/ingest-normen-faktaark.ts","ingest:sikkerhetsloven":"node --import tsx scripts/ingest-nsm-sikkerhetsloven.ts","ingest:digdir-rammeverk":"node --import tsx scripts/ingest-digdir-rammeverk.ts","ingest:virksomhetsikkerhetsforskriften":"node --import tsx scripts/ingest-virksomhetsikkerhetsforskriften.ts"},"_npmUser":{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"},"repository":{"url":"git+https://github.com/Ansvar-Systems/norwegian-standards-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Norwegian government cybersecurity standards MCP -- 19 frameworks, 524 controls. NSM (IKT, fysisk, styring, tekniske tiltak, kryptering, sikkerhetsfaglig raad), Sikkerhetsloven + forskrifter, NIS2 norsk, Digdir, Normen (helse), Datatilsynet, NorSIS, Finan","directories":{},"_nodeVersion":"20.20.0","dependencies":{"zod":"^3.24.0","@ansvar/mcp-sqlite":"^1.0.3","@modelcontextprotocol/sdk":"^1.25.3"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","vitest":"^3.0.0","typescript":"^5.9.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/norwegian-standards-mcp_0.1.0_1773312940623_0.46727288169431014","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Ansvar MCP servers are now distributed as source from github.com/Ansvar-Systems/norwegian-standards-mcp under Apache 2.0. Self-hosting instructions: see the repo README. Hosted gateway: ansvar.eu"}},"time":{"created":"2026-03-12T10:55:40.502Z","modified":"2026-05-02T05:48:04.718Z","0.1.0":"2026-03-12T10:55:40.771Z"},"bugs":{"url":"https://github.com/Ansvar-Systems/norwegian-standards-mcp/issues"},"author":{"name":"Ansvar Systems","email":"hello@ansvar.eu"},"license":"Apache-2.0","homepage":"https://github.com/Ansvar-Systems/norwegian-standards-mcp#readme","keywords":["mcp","norwegian","norway","nsm","digdir","cybersecurity","compliance","standards"],"repository":{"url":"git+https://github.com/Ansvar-Systems/norwegian-standards-mcp.git","type":"git"},"description":"Norwegian government cybersecurity standards MCP -- 19 frameworks, 524 controls. NSM (IKT, fysisk, styring, tekniske tiltak, kryptering, sikkerhetsfaglig raad), Sikkerhetsloven + forskrifter, NIS2 norsk, Digdir, Normen (helse), Datatilsynet, NorSIS, Finan","maintainers":[{"name":"ansvar","email":"jeffrey.von.rotz@ansvar.eu"}],"readme":"# Norwegian Standards MCP\n\n[![npm version](https://img.shields.io/npm/v/@ansvar/norwegian-standards-mcp)](https://www.npmjs.com/package/@ansvar/norwegian-standards-mcp)\n[![CI](https://github.com/Ansvar-Systems/norwegian-standards-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Ansvar-Systems/norwegian-standards-mcp/actions/workflows/ci.yml)\n[![License](https://img.shields.io/badge/license-Apache--2.0-blue)](LICENSE)\n[![MCP Registry](https://img.shields.io/badge/MCP%20Registry-ansvar.ai%2Fmcp-blue)](https://ansvar.ai/mcp)\n\nStructured access to Norwegian government cybersecurity standards: NSM Grunnprinsipper for IKT-sikkerhet, NSM Sikkerhetsstyring, Digdir Digital Security Guidelines, Sikkerhetsloven, Normen for helse- og omsorgssektoren, and Datatilsynets veiledning. Bilingual Norwegian/English with FTS search, ISO 27002:2022 cross-references, and sector-based filtering.\n\nPart of the [Ansvar MCP Network](https://ansvar.ai/mcp) -- specialist MCP servers for compliance and security intelligence.\n\n---\n\n## Quick Start\n\n### Remote endpoint (no installation)\n\nAdd to your MCP client config:\n\n```json\n{\n  \"mcpServers\": {\n    \"norwegian-standards\": {\n      \"url\": \"https://norwegian-standards-mcp.vercel.app/mcp\"\n    }\n  }\n}\n```\n\n### Local (stdio via npx)\n\n**Claude Desktop** -- edit `~/Library/Application Support/Claude/claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"norwegian-standards\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@ansvar/norwegian-standards-mcp\"]\n    }\n  }\n}\n```\n\n**Cursor** -- edit `.cursor/mcp.json` in your project:\n\n```json\n{\n  \"mcpServers\": {\n    \"norwegian-standards\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@ansvar/norwegian-standards-mcp\"]\n    }\n  }\n}\n```\n\n**VS Code / GitHub Copilot** -- add to `.vscode/mcp.json`:\n\n```json\n{\n  \"servers\": {\n    \"norwegian-standards\": {\n      \"type\": \"stdio\",\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@ansvar/norwegian-standards-mcp\"]\n    }\n  }\n}\n```\n\n---\n\n## What's Included\n\n| Source | Authority | Items | Language | Refresh |\n|--------|-----------|-------|----------|---------|\n| NSM Grunnprinsipper for IKT-sikkerhet | NSM | 108 controls | NO+EN | Annual |\n| NSM Grunnprinsipper for sikkerhetsstyring | NSM | 40 controls | NO+EN | Annual |\n| Digdir Digital Security Guidelines | Digdir | 31 guidelines | NO+EN | Annual |\n| Sikkerhetsloven krav | NSM / Justisdepartementet | 30 requirements | NO+EN | Manual |\n| Normen for helse- og omsorgssektoren | Direktoratet for e-helse | 32 requirements | NO | Annual |\n| Datatilsynets veiledning | Datatilsynet | 21 measures | NO+EN | Annual |\n\n**Total:** 262 controls and requirements across 6 frameworks.\n\nFor full coverage details, see [COVERAGE.md](COVERAGE.md).\n\n---\n\n## What's NOT Included\n\n| Gap | Status |\n|-----|--------|\n| NSM Cloud Security Guidelines | Planned for v1.1 -- published separately, requires additional extraction |\n| Nasjonal sikkerhetsstrategi | Not planned -- high-level strategy document, not a control catalog |\n| ISO/IEC 27001:2022 full text | Excluded -- commercial ISO license; ISO cross-references available via `get_iso_mapping` |\n\nFor the complete gap list, see [COVERAGE.md -- What's NOT Included](COVERAGE.md#whats-not-included).\n\n---\n\n## Available Tools\n\n| Tool | Category | Description |\n|------|----------|-------------|\n| `search_controls` | Search | Full-text search across all 6 frameworks. Returns controls ranked by FTS5 relevance. |\n| `search_by_sector` | Search | Returns frameworks for a sector (`government`, `healthcare`, `energy`, etc.), optionally filtered by keyword. |\n| `get_control` | Lookup | Full record for a single control: bilingual description, implementation guidance, ISO mapping. |\n| `get_framework` | Lookup | Metadata for a framework: issuing body, version, control count, category breakdown. |\n| `list_controls` | Lookup | All controls in a framework, filterable by category. Paginated. |\n| `compare_controls` | Comparison | Side-by-side comparison of the same topic across 2-4 frameworks. |\n| `get_iso_mapping` | Comparison | All Norwegian controls mapped to a given ISO 27002:2022 control reference. |\n| `list_frameworks` | Meta | Lists all frameworks in the database with summary stats. |\n| `about` | Meta | Server version, build date, and coverage statistics. |\n| `list_sources` | Meta | Data provenance: authority, standard name, retrieval method, license for each source. |\n| `check_data_freshness` | Meta | Per-source freshness status against the expected refresh schedule. |\n\nFor full parameter documentation, return formats, and examples, see [TOOLS.md](TOOLS.md).\n\n---\n\n## Data Sources & Freshness\n\n| Source | Last Refresh | Refresh Schedule |\n|--------|-------------|-----------------|\n| NSM Grunnprinsipper IKT | 2026-03-12 | Annual |\n| NSM Sikkerhetsstyring | 2026-03-12 | Annual |\n| Digdir Veiledning | 2026-03-12 | Annual |\n| Sikkerhetsloven | 2026-03-12 | Manual |\n| Normen (healthcare) | 2026-03-12 | Annual |\n| Datatilsynet | 2026-03-12 | Annual |\n\nTo check freshness at runtime, call `check_data_freshness`. Full source provenance and licenses: [sources.yml](sources.yml).\n\n---\n\n## Security\n\nThis repository runs 6-layer automated security scanning on every push and weekly:\n\n| Layer | Tool | What it checks |\n|-------|------|----------------|\n| Static analysis | CodeQL | Code vulnerabilities |\n| SAST | Semgrep | Security anti-patterns |\n| Container / dependency scan | Trivy | Known CVEs in dependencies |\n| Secret detection | Gitleaks | Leaked credentials |\n| Supply chain | OSSF Scorecard | Repository security posture |\n| Dependency updates | Dependabot | Automated dependency PRs |\n\n---\n\n## Disclaimer\n\n**THIS TOOL IS NOT PROFESSIONAL ADVICE.**\n\nThis MCP provides structured access to Norwegian cybersecurity standards sourced from authoritative publications. It is provided for informational and research purposes only.\n\n- Verify critical compliance decisions against the original standards\n- Data is a snapshot -- sources update, and there may be a delay between upstream changes and database refresh\n- See [DISCLAIMER.md](DISCLAIMER.md) for the full disclaimer and no-warranty statement\n\n---\n\n## Ansvar MCP Network\n\nThis server is part of the [Ansvar MCP Network](https://ansvar.ai/mcp) -- 149 specialist MCP servers covering legislation, compliance frameworks, and cybersecurity standards.\n\n| Category | Servers | Coverage |\n|----------|---------|----------|\n| Law MCPs | 108 | 119 countries, 668K+ laws |\n| EU Regulations | 1 | 61 regulations, 4,054 articles |\n| Security frameworks | 1 | 262 frameworks, 1,451 SCF controls |\n| Domain-specific | ~48 | CVE, STRIDE, sanctions, OWASP, healthcare, financial, and more |\n\nBrowse the full directory at [ansvar.ai/mcp](https://ansvar.ai/mcp).\n\n---\n\n## Development\n\n### Branch strategy\n\n`feature-branch -> PR to dev -> verify on dev -> PR to main -> deploy`\n\nNever push directly to `main`. `main` triggers npm publish and Vercel deployment.\n\n### Setup\n\n```bash\ngit clone https://github.com/Ansvar-Systems/norwegian-standards-mcp.git\ncd norwegian-standards-mcp\nnpm install\nnpm run build\nnpm test\n```\n\n### Ingestion\n\n```bash\n# Build database from extracted data\nnpm run build:db\n\n# Individual framework ingestion\nnpx tsx scripts/ingest-nsm-grunnprinsipper.ts\nnpx tsx scripts/ingest-nsm-sikkerhetsstyring.ts\nnpx tsx scripts/ingest-digdir-veiledning.ts\nnpx tsx scripts/ingest-nsm-sikkerhetsloven.ts\nnpx tsx scripts/ingest-normen-helse.ts\nnpx tsx scripts/ingest-datatilsynet.ts\n\n# Check freshness\nnpm run freshness:check\n```\n\n### Pre-deploy verification\n\n```bash\nnpm run build            # Gate 1: build\nnpm run lint             # Gate 2: TypeScript strict\nnpm test                 # Gate 3: unit tests\nnpm run test:contract    # Gate 4: golden contract tests\nsqlite3 data/standards.db \"PRAGMA integrity_check;\"   # Gate 5: DB integrity\nnpm run coverage:verify  # Gate 6: coverage consistency\n```\n\n---\n\n## License & Data Licenses\n\n**Code:** [Apache-2.0](LICENSE)\n\n**Data licenses by source:**\n\n| Source | License |\n|--------|---------|\n| NSM Grunnprinsipper (IKT + Styring) | Public sector publication |\n| Digdir Digital Security Guidelines | Public sector publication |\n| Sikkerhetsloven | Public law (Lovdata) |\n| Normen (healthcare) | Public sector publication |\n| Datatilsynet Veiledning | Public sector publication |\n\nAll data is extracted from publicly available authoritative publications. Zero AI-generated content in the database. See [sources.yml](sources.yml) for complete provenance.\n","readmeFilename":"README.md"}