@ansvar/norwegian-standards-mcp
v0.1.0
Published
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
Readme
Norwegian Standards MCP
Structured 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.
Part of the Ansvar MCP Network -- specialist MCP servers for compliance and security intelligence.
Quick Start
Remote endpoint (no installation)
Add to your MCP client config:
{
"mcpServers": {
"norwegian-standards": {
"url": "https://norwegian-standards-mcp.vercel.app/mcp"
}
}
}Local (stdio via npx)
Claude Desktop -- edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"norwegian-standards": {
"command": "npx",
"args": ["-y", "@ansvar/norwegian-standards-mcp"]
}
}
}Cursor -- edit .cursor/mcp.json in your project:
{
"mcpServers": {
"norwegian-standards": {
"command": "npx",
"args": ["-y", "@ansvar/norwegian-standards-mcp"]
}
}
}VS Code / GitHub Copilot -- add to .vscode/mcp.json:
{
"servers": {
"norwegian-standards": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@ansvar/norwegian-standards-mcp"]
}
}
}What's Included
| Source | Authority | Items | Language | Refresh | |--------|-----------|-------|----------|---------| | NSM Grunnprinsipper for IKT-sikkerhet | NSM | 108 controls | NO+EN | Annual | | NSM Grunnprinsipper for sikkerhetsstyring | NSM | 40 controls | NO+EN | Annual | | Digdir Digital Security Guidelines | Digdir | 31 guidelines | NO+EN | Annual | | Sikkerhetsloven krav | NSM / Justisdepartementet | 30 requirements | NO+EN | Manual | | Normen for helse- og omsorgssektoren | Direktoratet for e-helse | 32 requirements | NO | Annual | | Datatilsynets veiledning | Datatilsynet | 21 measures | NO+EN | Annual |
Total: 262 controls and requirements across 6 frameworks.
For full coverage details, see COVERAGE.md.
What's NOT Included
| Gap | Status |
|-----|--------|
| NSM Cloud Security Guidelines | Planned for v1.1 -- published separately, requires additional extraction |
| Nasjonal sikkerhetsstrategi | Not planned -- high-level strategy document, not a control catalog |
| ISO/IEC 27001:2022 full text | Excluded -- commercial ISO license; ISO cross-references available via get_iso_mapping |
For the complete gap list, see COVERAGE.md -- What's NOT Included.
Available Tools
| Tool | Category | Description |
|------|----------|-------------|
| search_controls | Search | Full-text search across all 6 frameworks. Returns controls ranked by FTS5 relevance. |
| search_by_sector | Search | Returns frameworks for a sector (government, healthcare, energy, etc.), optionally filtered by keyword. |
| get_control | Lookup | Full record for a single control: bilingual description, implementation guidance, ISO mapping. |
| get_framework | Lookup | Metadata for a framework: issuing body, version, control count, category breakdown. |
| list_controls | Lookup | All controls in a framework, filterable by category. Paginated. |
| compare_controls | Comparison | Side-by-side comparison of the same topic across 2-4 frameworks. |
| get_iso_mapping | Comparison | All Norwegian controls mapped to a given ISO 27002:2022 control reference. |
| list_frameworks | Meta | Lists all frameworks in the database with summary stats. |
| about | Meta | Server version, build date, and coverage statistics. |
| list_sources | Meta | Data provenance: authority, standard name, retrieval method, license for each source. |
| check_data_freshness | Meta | Per-source freshness status against the expected refresh schedule. |
For full parameter documentation, return formats, and examples, see TOOLS.md.
Data Sources & Freshness
| Source | Last Refresh | Refresh Schedule | |--------|-------------|-----------------| | NSM Grunnprinsipper IKT | 2026-03-12 | Annual | | NSM Sikkerhetsstyring | 2026-03-12 | Annual | | Digdir Veiledning | 2026-03-12 | Annual | | Sikkerhetsloven | 2026-03-12 | Manual | | Normen (healthcare) | 2026-03-12 | Annual | | Datatilsynet | 2026-03-12 | Annual |
To check freshness at runtime, call check_data_freshness. Full source provenance and licenses: sources.yml.
Security
This repository runs 6-layer automated security scanning on every push and weekly:
| Layer | Tool | What it checks | |-------|------|----------------| | Static analysis | CodeQL | Code vulnerabilities | | SAST | Semgrep | Security anti-patterns | | Container / dependency scan | Trivy | Known CVEs in dependencies | | Secret detection | Gitleaks | Leaked credentials | | Supply chain | OSSF Scorecard | Repository security posture | | Dependency updates | Dependabot | Automated dependency PRs |
Disclaimer
THIS TOOL IS NOT PROFESSIONAL ADVICE.
This MCP provides structured access to Norwegian cybersecurity standards sourced from authoritative publications. It is provided for informational and research purposes only.
- Verify critical compliance decisions against the original standards
- Data is a snapshot -- sources update, and there may be a delay between upstream changes and database refresh
- See DISCLAIMER.md for the full disclaimer and no-warranty statement
Ansvar MCP Network
This server is part of the Ansvar MCP Network -- 149 specialist MCP servers covering legislation, compliance frameworks, and cybersecurity standards.
| Category | Servers | Coverage | |----------|---------|----------| | Law MCPs | 108 | 119 countries, 668K+ laws | | EU Regulations | 1 | 61 regulations, 4,054 articles | | Security frameworks | 1 | 262 frameworks, 1,451 SCF controls | | Domain-specific | ~48 | CVE, STRIDE, sanctions, OWASP, healthcare, financial, and more |
Browse the full directory at ansvar.ai/mcp.
Development
Branch strategy
feature-branch -> PR to dev -> verify on dev -> PR to main -> deploy
Never push directly to main. main triggers npm publish and Vercel deployment.
Setup
git clone https://github.com/Ansvar-Systems/norwegian-standards-mcp.git
cd norwegian-standards-mcp
npm install
npm run build
npm testIngestion
# Build database from extracted data
npm run build:db
# Individual framework ingestion
npx tsx scripts/ingest-nsm-grunnprinsipper.ts
npx tsx scripts/ingest-nsm-sikkerhetsstyring.ts
npx tsx scripts/ingest-digdir-veiledning.ts
npx tsx scripts/ingest-nsm-sikkerhetsloven.ts
npx tsx scripts/ingest-normen-helse.ts
npx tsx scripts/ingest-datatilsynet.ts
# Check freshness
npm run freshness:checkPre-deploy verification
npm run build # Gate 1: build
npm run lint # Gate 2: TypeScript strict
npm test # Gate 3: unit tests
npm run test:contract # Gate 4: golden contract tests
sqlite3 data/standards.db "PRAGMA integrity_check;" # Gate 5: DB integrity
npm run coverage:verify # Gate 6: coverage consistencyLicense & Data Licenses
Code: Apache-2.0
Data licenses by source:
| Source | License | |--------|---------| | NSM Grunnprinsipper (IKT + Styring) | Public sector publication | | Digdir Digital Security Guidelines | Public sector publication | | Sikkerhetsloven | Public law (Lovdata) | | Normen (healthcare) | Public sector publication | | Datatilsynet Veiledning | Public sector publication |
All data is extracted from publicly available authoritative publications. Zero AI-generated content in the database. See sources.yml for complete provenance.
