Skip to content

NIS2 Directive API

How do I query NIS2 Directive data over an API?

Point a GET request at api.theartofservice.com/api/agent/frameworks/NIS2 Directive, or add the MCP server to Claude Desktop or Cursor with the config below. You get 8 controls, 12 domains and every cross-framework mapping this standard carries. The free tier is 10 calls a day and needs no signup or API key.

8
Controls
12
Domains
147+
Mappings
Free
API Price

Add NIS2 Directive to Claude Desktop or Cursor in one config block

Copy this config into your MCP client to start querying NIS2 Directive data with AI:

{
  "mcpServers": {
    "compliance": {
      "url": "https://api.theartofservice.com/mcp"
    }
  }
}

No API key required for up to 10 calls/day. Works with Claude Desktop, Cursor, Windsurf, and any MCP-compatible client.

Three curl calls that return NIS2 Directive data

Get NIS2 Directive details

curl https://api.theartofservice.com/api/agent/frameworks/NIS2%20Directive

List all NIS2 Directive controls

curl https://api.theartofservice.com/api/agent/frameworks/NIS2%20Directive/controls

Map NIS2 Directive to another framework

curl "https://api.theartofservice.com/api/agent/cross-map?source=NIS2%20Directive&target=SOC%202"

Install the Python or npm client

Python (Langchain)

pip install theartofservice-compliance

npm (MCP Server)

npx @theartofservice/compliance-mcp

Questions developers ask about the NIS2 Directive API

Is there an API for NIS2 Directive?
Yes. The Art of Service provides a REST API and MCP server with full NIS2 Directive data: 8 controls across 12 domains, plus cross-framework mappings to 686 other compliance frameworks. Free tier includes 10 calls/day with no signup.
How do I access NIS2 Directive controls programmatically?
Use the Compliance Intelligence API at api.theartofservice.com. Call GET /api/agent/frameworks/NIS2%20Directive/controls to retrieve all 8 controls with codes, titles, and descriptions. Supports filtering by domain.
Can I map NIS2 Directive controls to other frameworks?
Yes. The API provides cross-framework mapping with 311K+ verified control-to-control mappings. Call GET /api/agent/cross-map?source=NIS2%20Directive&target=TARGET to map NIS2 Directive controls to any of 686 frameworks.
Does the NIS2 Directive API work with Claude, ChatGPT, or Cursor?
Yes. The API is available as an MCP (Model Context Protocol) server. Add it to Claude Desktop, Cursor, or any MCP-compatible client with a single JSON config snippet. AI agents can then query NIS2 Directive data directly.
How much does the NIS2 Directive API cost?
Anonymous access is free (10 calls/day). Free accounts get 100 calls/month. Professional plans start at $149/month with 10,000 calls included. No credit card required for free tier.

What NIS2 Directive actually requires

The API returns the data. If you want the standard explained first, with its controls, domains and the frameworks it overlaps with, that is on the NIS2 Directive framework page.

NIS2 Directive controls, domains and mappings →
Written and maintained by Gerard Blokdyk, The Art of Service.Last updated .

Start using the NIS2 Directive API today

No signup required for 10 free API calls per day. Create a free account for 100 calls/month.