nomos-mcp
v1.6.1NOMOS MCP server: ask a sealed authority whether an action may proceed, and query published authorities on the NOMOS Exchange.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
verify_decision
Check whether an AI decision is allowed, denied, or needs escalation according to a sealed NOMOS governance artifact. Always returns `allowed` (boolean) — that field is safe to read regardless of which artifact type answered. The rest of the shape genuinely differs by artifact type, because it proxies two different underlying endpoints: pub_ demo artifacts return a flat shape (`outcome`: auto_approved/auto_rejected/escalated, `rule_applied`, `rule_reference`, flat `confidence` and `audit_hash`); your own sealed artifacts from Studio return a nested shape (`verdict`: approved/rejected/escalat…
| Parameter | Type | Description |
|---|---|---|
artifact_id * | string | Sealed artifact ID to evaluate against. Use pub_lending_v1, pub_refund_v1, pub_fraud_v1, pub_hr_leave_v1, or pub_kyc_v1 for public demos. Use your own artifact ID from Studio for custom governance. |
decision * | string | The action or decision being checked, as a verb phrase (e.g. "approve_loan", "process_refund", "approve_leave"). Should match an action defined in the artifact. |
inputs * | object | Key/value input fields for rule evaluation (e.g. {"amount": 5000, "credit_score": 720}). Fields must match the artifact's declared data contract. |
api_key | string | NOMOS API key (nmk_live_...). Not required for pub_ artifacts. |
domain_id | number | Your NOMOS domain ID. Required for custom artifacts created in Studio. Not needed for pub_ artifacts. |
generate_governance
Convert one or more policy documents into a sealed NOMOS governance artifact (.nomos). Extracts executable rules using Claude, detects contradictions between rules, computes an Autonomy Readiness Index (ARI) score (0–1), and cryptographically seals the result. Returns an artifact_id you can use with verify_decision immediately. Optionally accepts historical behavioral decision logs to add a behavioral evidence layer and reach CERTIFIED confidence tier.
| Parameter | Type | Description |
|---|---|---|
documents * | array | Policy documents to extract rules from. Each item must have filename and content (plain text). |
name * | string | Human-readable name for the governance artifact (e.g. "Loan Approval Policy v2", "HR Leave Rules"). |
organization * | string | Name of the organization this artifact governs (e.g. "Acme Bank", "HealthCorp"). |
api_key | string | NOMOS API key (nmk_live_...). |
behavioral_logs | array | Optional historical decision records (CSV rows as objects) for behavioral triangulation. Minimum 10 rows recommended. |
domain | string | Industry or domain hint (e.g. "lending", "hr", "e-commerce", "healthcare", "insurance"). Improves extraction accuracy. |
detect_contradictions
Analyze policy documents (and optional behavioral decision logs) to detect contradictions, hidden rules, and gaps between declared policy and observed behavior. Stateless — no artifact is created and nothing is persisted. Returns contradictions of three types: rule_collision (two rules that apply to the same case with different decisions where the policy does not settle it soundly, each with that case and what the policy would do), ghost_term (an undefined standard such as "reasonable" in a rule's own text), and layer_divergence (a policy rule and a rule of practice that one case meets with…
| Parameter | Type | Description |
|---|---|---|
documents * | array | Policy documents to analyze for contradictions. |
api_key | string | NOMOS API key (nmk_live_...). |
behavioral_logs | array | Optional historical decision records. Enables layer_divergence detection — surfaces behavioral patterns that deviate from written policy. |
ask_authority
Query a published authority on the NOMOS Exchange marketplace — a different system from verify_decision's own sealed policies. Every public authority (e.g. eu-ai-act.nomos) is queryable with no key. Returns the authority's own verdict (AUTHORIZED/DENIED/ESCALATED), the exact rule and reason, and a permanent, cryptographically-bound transcript (query_id + url) — replayable evidence, not just a reply. Nothing is invented or paraphrased: the verdict is the authority's sealed rules evaluated against your inputs. The default response is a short, curated summary (verdict, matched rule, source ci…
| Parameter | Type | Description |
|---|---|---|
authority * | string | The Exchange artifact's standard name — its short slug, optionally ".nomos"-suffixed (e.g. "eu-ai-act" or "eu-ai-act.nomos"), or its raw artifact ID. Browse the catalog at https://www.nomosprotocol.… |
inputs * | object | Key/value facts to evaluate against the authority's rules (e.g. {"untargeted_facial_image_scraping": true}). Fields must match the authority's vocabulary — see the atlas endpoint or the artifact's c… |
action | string | Optional label for what this query represents, for the caller's own transcript record (e.g. "pre-deployment check"). Purely descriptive — does not affect the verdict. |
acts_for | string | Optional organisation the agent acts for. Recorded as declared; when an Exchange key is used, the key's account is recorded instead. |
agent_id | string | Optional stable name for the agent asking (e.g. "acme-credit-agent"). Recorded on the transcript and shown in the authority's public history as who relies on it. |
exchange_api_key | string | Exchange API key (nxk_...). Optional for free/public queries. Required only for metered access to licensed (paid) authorities beyond their free allotment. |
include_evaluation_trace | boolean | Set true to receive the full rule-by-rule evaluation trace (every rule checked, every missing field) instead of the default curated summary. Most callers never need this. |
purpose | string | Set "test" for test or evaluation queries: they are answered and sealed, but kept out of the authority's public history and counts. Defaults to production. |
ask_by_context
Ask whether an action is allowed WITHOUT choosing the law yourself (NOMOS-SPEC-014). Describe where the act happens and who it involves; NOMOS works out from its signed registrar log which laws govern it, asks every one, and combines strictly: any deny denies, a yes needs every law. Prefer this over ask_authority whenever you do not already know which law applies: naming one law leaves out the others. Each law's own answer is a permanent, signed transcript (members[].query_id). If a fact that decides which law applies is missing, the answer is INSUFFICIENT_DATA with open_facts naming it: ask t…
| Parameter | Type | Description |
|---|---|---|
context * | object | The facts that decide which law applies. Codes: EU (an EU member state), QA (Qatar), AE (the UAE outside free zones with their own data law), DIFC, ADGM, QFC, US, SA, and so on. |
action | string | Optional label for what is being done (e.g. "share_customer_data_with_analytics_vendor"), recorded on each transcript. |
acts_for | string | Optional organisation the agent acts for. |
agent_id | string | Optional stable name for the agent asking, recorded on each transcript. |
exchange_api_key | string | Exchange API key (nxk_...). Optional; needed only for licensed (paid) authorities. |
inputs | object | Facts about the action itself, evaluated by every law that applies (e.g. {"processing_fair_and_transparent": true}). A law that needs a fact you did not give holds the answer open and names it. |
purpose | string | Set "test" for test or evaluation queries: answered and sealed, but kept out of public history and counts. |
find_authority
Find which published authorities on the NOMOS Exchange govern something you are about to do, from a plain description (e.g. "deploy a recruitment model in the EU"). No name needed. Returns the matching authorities ranked, and for each the facts it reads that match your description (what to pass to ask_authority as inputs) and its most relevant rules with where they come from in the source. Also returns authorities others have requested that are not listed yet. Matches by words and by meaning (a small multilingual model on the server, so questions in Arabic and other languages work); it only ch…
| Parameter | Type | Description |
|---|---|---|
description * | string | What you are about to do, in plain words. |
jurisdiction | string | Optional jurisdiction tag to restrict to, e.g. "EU" or "AE". |
limit | number | Maximum authorities to return (default 10). |
request_authority
Ask for an authority (a law, regulation, standard or policy) to be added to the NOMOS Exchange when find_authority finds nothing. Requests are public and ranked by how many asked; they decide what is compiled next. Repeated requests from one caller count once. This never creates an authority: only its issuer, or NOMOS compiling the public text, can.
| Parameter | Type | Description |
|---|---|---|
title * | string | The authority by its usual name, e.g. "UAE Personal Data Protection Law (Federal Decree-Law 45/2021)". |
jurisdiction | string | Optional jurisdiction, e.g. "AE". |
source_url | string | Optional link to the official text. |
act
Take an action at a system that requires NOMOS authority (an Act). Give the system's URL and the action. The tool discovers what the system accepts, fetches the policy it acts under, gathers signed facts from that policy's witnesses, submits the Act, and if the policy needs a person to approve, waits for their approval (returning the approval link if they have not approved in time). Returns committed (with the receipt), denied (with the rule), incomplete (with exactly which facts are missing and why), or escalated. When a law has intake questions, incomplete lists them under `questions` in pla…
| Parameter | Type | Description |
|---|---|---|
action * | object | |
to * | string | The system that makes the change: its origin or any URL on it, e.g. https://shop.example |
answers | object | Answers to the laws' intake questions, by question name: true or false. False ("no") settles every fact the question covers. Only questions whose source is presenter or action. |
approval_timeout_seconds | number | How long to wait for a person to approve. Default 300. |
authority | string | Which authority to act under, if the system accepts several for this action type |
presenter_facts | object | Facts the agent itself supplies, only for inputs the policy declares as presenter-supplied |