Norma: AI Code Governance by Quality Clouds

v1.0.2
ai.qualityclouds/norma Checked 13 hours ago Published 13 days ago

AI code governance and code review for Claude Code, Copilot and Cursor.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_rules_for_ruleset Get rules for a ruleset

Returns the rules in one Norma ruleset: each rule's id, name, severity, impact area, description, fix guidance, examples and file extensions. These are the standards your code is judged against, not suggestions. ruleset_id is a value returned by get_rulesets. The rule ids returned here are the values register_applied_actions records. The answer is one page: {"rules": [...], "page", "next_page", "total_rules"}. A large ruleset has several pages. Call again with page=next_page until next_page is null, and read every page before you write code against the ruleset. remote_url is optional — th…

ParameterTypeDescription
ruleset_id *string
llm_nameThe AI model you are running as, e.g. Claude Fable, GPT-5, Cursor Composer. Optional; set it on every call.
llm_versionVersion or variant of the model you are running as, e.g. 5.1, 4, 5.4-codex. Optional; set it on every call.
pageintegerPage of the ruleset to return, from 1. Call again with the next_page value of the answer until next_page is null.
remote_url

get_rulesets List rulesets for the stack

Returns the Norma rulesets available for this repository's tech stack, detected automatically with no configuration. One ruleset per language or framework, for example typescript-norma-ruleset for TypeScript, react-norma-ruleset for React, nodejs-norma-ruleset for Node.js. Call this first in any review or governance task. The ruleset_id values returned here are the inputs accepted by get_rules_for_ruleset. Each entry carries ruleset_id, name, version and rule group ids. remote_url is optional — the workspace git remote (`git remote get-url origin`). When given, the catalog is scoped to th…

ParameterTypeDescription
llm_nameThe AI model you are running as, e.g. Claude Fable, GPT-5, Cursor Composer. Optional; set it on every call.
llm_versionVersion or variant of the model you are running as, e.g. 5.1, 4, 5.4-codex. Optional; set it on every call.
remote_url

import_repository Import repository

Imports the workspace's repository into your Norma organization — call it only after the developer explicitly agreed. get_rulesets offers this import ("import_offer" in "repository_context") when the workspace's remote matches no repository in your organization. Importing uses one of the repository imports of the plan, so ask the developer first and never call this tool on your own initiative. remote_url is required — the workspace git remote (`git remote get-url origin`). Norma imports only a repository that your organization already connected through the GitHub App or the Bitbucket int…

ParameterTypeDescription
llm_nameThe AI model you are running as, e.g. Claude Fable, GPT-5, Cursor Composer. Optional; set it on every call.
llm_versionVersion or variant of the model you are running as, e.g. 5.1, 4, 5.4-codex. Optional; set it on every call.
remote_url

live_check Livecheck files

Runs a rule-based Norma Livecheck on one or more files against your organization's rules and returns the violations found in each. For code, the same file and the same rules give the same verdict every time; for dependency manifests and lockfiles, a package's verdict follows the public registries and the published security advisories, which change over time. Norma stores the file path and a content fingerprint, never the content: each file_content is held in memory only and hashed, and the file name selects the applicable rules: its extension selects your rulesets, and the dependency checks a…

ParameterTypeDescription
files *arrayThe files to check: 1 to 20. A call with more than one file carries at most 64 KB of content in total.
llm_nameThe AI model you are running as, e.g. Claude Fable, GPT-5, Cursor Composer. Optional; set it on every call.
llm_versionVersion or variant of the model you are running as, e.g. 5.1, 4, 5.4-codex. Optional; set it on every call.
max_issues
min_severity
remote_url

get_open_issues Get open issues to fix

Returns the violations Norma recorded for this repository in its last completed scan, each with the context to fix it. These are standing violations of your organization's rules, not suggestions. Optionally pass files (exact repository-relative paths) to scope the result to those files. remote_url is required — the workspace git remote (`git remote get-url origin`). The issues returned are that repository's, resolved within your organizations. A call without remote_url, or with a remote that matches none of your organization's repositories, returns outcome "error" and no issues, instead of…

ParameterTypeDescription
cursor
files
llm_nameThe AI model you are running as, e.g. Claude Fable, GPT-5, Cursor Composer. Optional; set it on every call.
llm_versionVersion or variant of the model you are running as, e.g. 5.1, 4, 5.4-codex. Optional; set it on every call.
priority_advisor
remote_url

get_issues_by_standard Get open issues by compliance standard

Returns the open issues of this repository that affect one compliance standard, each with the context to fix it. Use this when the developer talks about a standard — "which issues break ISO 27001?", "fix the ISO 27001 issues" — instead of filtering the output of get_open_issues yourself. A rule of Norma's catalog is mapped to the controls of a standard; an issue affects the standard when its rule does. standard_code is required. control_code narrows to one control of that standard, severity to HIGH, MEDIUM or LOW, and include_ai_findings=false leaves out the AI-evaluated findings. Each i…

ParameterTypeDescription
standard_code *string
control_code
include_ai_findingsboolean
llm_nameThe AI model you are running as, e.g. Claude Fable, GPT-5, Cursor Composer. Optional; set it on every call.
llm_versionVersion or variant of the model you are running as, e.g. 5.1, 4, 5.4-codex. Optional; set it on every call.
remote_url
severity

register_applied_actions Register applied actions

Writes the outcome of a coding task into your Norma compliance audit trail. An external, timestamped record of which rules were verified, which violations were fixed, which were prevented, and which model did the work. This is the record a reviewer or auditor reads later, so register at the end of every task, not only when something was fixed. Append-only. Fields: llm_name/llm_version, plus verified_compliant / violations_fixed / violations_prevented, each item referencing a rule by rule_id from get_rules_for_ruleset. remote_url is required — the workspace git remote (`git remote get-url…

ParameterTypeDescription
applied_actions *objectStructured report of applied actions for MCP rules compliance. THE MODEL IS NAMED THE SAME WAY EVERYWHERE (QSA-1766). These two fields used to ask for a "product or family" with `claude` and `opus` a…
remote_url