npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@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

Readme

Norwegian Standards MCP

npm version CI License MCP Registry

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 test

Ingestion

# 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:check

Pre-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 consistency

License & 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.