Skip to content

NIS2 Directive API

Access NIS2 Directive data programmatically. 24 controls, 5 domains, and cross-framework mappings to 692 frameworks via REST API or MCP.

24
Controls
5
Domains
480+
Mappings
Free
API Price

Add to Claude Desktop or Cursor

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.

REST API Examples

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"

SDK Installation

Python (Langchain)

pip install theartofservice-compliance

npm (MCP Server)

npx @theartofservice/compliance-mcp

Frequently Asked Questions

Is there an API for NIS2 Directive?
Yes. The Art of Service provides a REST API and MCP server with full NIS2 Directive data: 24 controls across 5 domains, plus cross-framework mappings to 692 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 24 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 819,000+ control-to-control mappings. Call GET /api/agent/cross-map?source=NIS2%20Directive&target=TARGET to map NIS2 Directive controls to any of 692 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 $49/month with 10,000 calls included. No credit card required for free tier.

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.