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.
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%20DirectiveList all NIS2 Directive controls
curl https://api.theartofservice.com/api/agent/frameworks/NIS2%20Directive/controlsMap 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-compliancenpm (MCP Server)
npx @theartofservice/compliance-mcpQuestions developers ask about the NIS2 Directive API
Is there an API for NIS2 Directive?▾
How do I access NIS2 Directive controls programmatically?▾
Can I map NIS2 Directive controls to other frameworks?▾
Does the NIS2 Directive API work with Claude, ChatGPT, or Cursor?▾
How much does the NIS2 Directive API cost?▾
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 →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.