italy-legislation-mcp-server

v0.2.4 pre-1.0

Search Italian state legislation in Normattiva, resolve citations, read articles in force on any date, and trace amendments via MCP. STDIO or Streamable HTTP.

italy-legislation.caseyjhand.com/mcp
claude mcp add --transport http italy-legislation-mcp-server https://italy-legislation.caseyjhand.com/mcp
codex mcp add italy-legislation-mcp-server --url https://italy-legislation.caseyjhand.com/mcp
{
  "mcpServers": {
    "italy-legislation-mcp-server": {
      "url": "https://italy-legislation.caseyjhand.com/mcp"
    }
  }
}
gemini mcp add --transport http italy-legislation-mcp-server https://italy-legislation.caseyjhand.com/mcp
{
  "mcpServers": {
    "italy-legislation-mcp-server": {
      "command": "bunx",
      "args": [
        "mcp-remote",
        "https://italy-legislation.caseyjhand.com/mcp"
      ]
    }
  }
}
{
  "mcpServers": {
    "italy-legislation-mcp-server": {
      "type": "http",
      "url": "https://italy-legislation.caseyjhand.com/mcp"
    }
  }
}
curl -X POST https://italy-legislation.caseyjhand.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"curl","version":"1.0.0"}}}'

Tools

7

italylaw_search_acts

open-world

Search Italian state acts by Italian words in titles or article text, act type, enactment or publication dates, and number. Results follow publication order. Use the returned GU coordinates with italylaw_get_act or italylaw_get_provision.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "italylaw_search_acts",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "query": {
      "description": "Italian words in titles or article text. With only type and/or year filters, all words must match and quotes group a phrase. With any other filter, individual words can match and quotes do not enforce phrases.",
      "type": "string"
    },
    "title_words": {
      "description": "Italian words in titles only. Individual words can match and quotes do not enforce phrases.",
      "type": "string"
    },
    "type": {
      "description": "Act type code or Italian name, e.g. PLE or LEGGE.",
      "type": "string"
    },
    "number": {
      "description": "Annual act number.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "year": {
      "description": "Year of enactment.",
      "type": "integer",
      "minimum": 1,
      "maximum": 9999
    },
    "month": {
      "description": "Month of enactment, 1–12.",
      "type": "integer",
      "minimum": 1,
      "maximum": 12
    },
    "day": {
      "description": "Day of the month of enactment.",
      "type": "integer",
      "minimum": 1,
      "maximum": 31
    },
    "enacted_from": {
      "description": "First enactment date, inclusive.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "enacted_to": {
      "description": "Last enactment date, inclusive.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "published_from": {
      "description": "First Gazzetta Ufficiale publication date, inclusive.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "published_to": {
      "description": "Last Gazzetta Ufficiale publication date, inclusive.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "in_force_on": {
      "description": "Match acts that entered into force by this date, including repealed acts. Use italylaw_get_provision for text in force on a date.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "status": {
      "description": "Normattiva consolidation class, applied independently of in_force_on.",
      "type": "string",
      "enum": [
        "unamended",
        "amended",
        "repealed"
      ]
    },
    "facets": {
      "description": "Include selected match breakdowns by type, enactment year, or issuer. Omit or pass an empty array for no breakdowns.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "type",
          "year",
          "issuer"
        ]
      }
    },
    "sort": {
      "default": "newest",
      "description": "Publication order, newest or oldest.",
      "type": "string",
      "enum": [
        "newest",
        "oldest"
      ]
    },
    "offset": {
      "default": 0,
      "description": "Zero-based offset into the result set.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "limit": {
      "default": 25,
      "description": "Requested acts per page, up to 500.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "sort",
    "offset",
    "limit"
  ],
  "additionalProperties": false
}
view source ↗

italylaw_lookup_citation

open-world

Resolve Italian statutory citations, code abbreviations, URN:NIR, ELI, and Normattiva links to publication coordinates. Up to 25 citations are processed per call. For italylaw_get_provision, pass act_ref as act, provision as an item in provisions, and the returned date selection as as_of or original. For the current act or its lifecycle, pass act_ref to italylaw_get_act or italylaw_list_versions. Resubmit any unprocessed citations.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "italylaw_lookup_citation",
    "arguments": {
      "citations": "<citations>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "citations": {
      "description": "Ordered citations such as art. 3-bis della L. 241/1990 or art. 2043 c.c.",
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "citations"
  ],
  "additionalProperties": false
}
view source ↗

italylaw_get_provision

open-world

Read Italian articles, commi and lettere. Provide a citation with an article or provide act and provisions separately. Select original text with original or text in force on a Rome calendar date with as_of. If no version is selected, read text in force today in Rome. Repeat a comma outline with the listed labels and follow its guidance when partial is true. Resubmit unprocessed selectors with the same act and version.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "italylaw_get_provision",
    "arguments": {
      "act": "<act>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "act": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "codice_redazionale": {
              "type": "string",
              "pattern": "^[A-Za-z0-9]+$",
              "description": "Publication code assigned by the Gazzetta Ufficiale, such as 090G0294."
            },
            "data_gu": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Gazzetta Ufficiale publication date."
            }
          },
          "required": [
            "codice_redazionale",
            "data_gu"
          ],
          "additionalProperties": false,
          "description": "Exact Gazzetta Ufficiale publication coordinates."
        },
        {
          "type": "string",
          "minLength": 1,
          "description": "Italian citation, URN:NIR, ELI, or Normattiva URL."
        }
      ],
      "description": "Publication coordinates or an Italian citation, URN:NIR, ELI, or Normattiva URL."
    },
    "provisions": {
      "description": "Ordered article selectors. Up to 10 are processed per call. Omit when act includes a provision.",
      "minItems": 1,
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "string",
            "minLength": 1,
            "description": "Italian provision selector such as art. 3-bis, comma 1, lettera a."
          },
          {
            "type": "object",
            "properties": {
              "article": {
                "type": "string",
                "description": "Numeric article label. Preserve any leading zeroes."
              },
              "suffix": {
                "description": "Italian article suffix, such as bis or ter.",
                "type": "string"
              },
              "annex": {
                "description": "Number of the annex containing the article.",
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "comma": {
                "description": "Comma label or inclusive range, such as 1-bis or 1-bis..3.",
                "type": "string"
              },
              "letter": {
                "description": "Letter within a single specified comma.",
                "type": "string"
              }
            },
            "required": [
              "article"
            ],
            "additionalProperties": false,
            "description": "Article address with separate fields for each selector."
          }
        ],
        "description": "One article address given as text or as separate fields."
      }
    },
    "as_of": {
      "description": "Read the text in force on this Rome calendar date. Mutually exclusive with original.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "original": {
      "description": "Read the text as originally published. Mutually exclusive with as_of.",
      "type": "boolean",
      "const": true
    },
    "outline": {
      "description": "Return addressable comma labels and lengths. Omit any letter selector.",
      "type": "boolean"
    }
  },
  "required": [
    "act"
  ],
  "additionalProperties": false
}
view source ↗

italylaw_get_act

open-world

Read the current consolidated act as an outline or as complete text for a selected part. Omit part for the whole outline. Use an exact outline path, an unambiguous article or section, Preambolo, or an allegato as part. For a historical article use italylaw_get_provision. Pending export tokens also work with italylaw_list_versions.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "italylaw_get_act",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "act": {
      "description": "Italian citation, URN:NIR, ELI, Normattiva URL, or exact Gazzetta Ufficiale coordinates. Mutually exclusive with job_token.",
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "codice_redazionale": {
              "type": "string",
              "pattern": "^[A-Za-z0-9]+$",
              "description": "Publication code assigned by the Gazzetta Ufficiale, such as 090G0294."
            },
            "data_gu": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Gazzetta Ufficiale publication date."
            }
          },
          "required": [
            "codice_redazionale",
            "data_gu"
          ],
          "additionalProperties": false,
          "description": "Exact Gazzetta Ufficiale publication coordinates."
        },
        {
          "type": "string",
          "minLength": 1,
          "description": "Italian citation, URN:NIR, ELI, or Normattiva URL."
        }
      ]
    },
    "job_token": {
      "description": "Resume a job from italylaw_get_act or italylaw_list_versions. Mutually exclusive with act. Tokens expire and are lost on server restart. Keep anonymous continuation tokens private.",
      "type": "string",
      "minLength": 1
    },
    "wait_seconds": {
      "default": 45,
      "description": "Poll for up to this many seconds after submission and confirmation. Zero submits and confirms without polling.",
      "type": "integer",
      "minimum": 0,
      "maximum": 45
    },
    "part": {
      "description": "Exact outline path or unambiguous Italian section, article, preamble, or annex label. Omit to outline the act.",
      "type": "string",
      "minLength": 1
    },
    "outline": {
      "description": "Return the selected part as an outline instead of legal text.",
      "type": "boolean"
    },
    "depth": {
      "description": "Maximum outline levels, starting at 1 for the returned top level or selected part. Omit for the full outline. Ignored when returning text.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "wait_seconds"
  ],
  "additionalProperties": false
}
view source ↗

italylaw_list_versions

open-world

List act-level lifecycle events newest first, with linked source acts and parliamentary bills. Filter by inclusive lifecycle dates and page with offset. The dates describe the act lifecycle. For the text of an article on a particular date, use italylaw_get_provision. Pending export tokens also work with italylaw_get_act.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "italylaw_list_versions",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "act": {
      "description": "Italian citation, URN:NIR, ELI, Normattiva URL, or exact Gazzetta Ufficiale coordinates. Mutually exclusive with job_token.",
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "codice_redazionale": {
              "type": "string",
              "pattern": "^[A-Za-z0-9]+$",
              "description": "Publication code assigned by the Gazzetta Ufficiale, such as 090G0294."
            },
            "data_gu": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Gazzetta Ufficiale publication date."
            }
          },
          "required": [
            "codice_redazionale",
            "data_gu"
          ],
          "additionalProperties": false,
          "description": "Exact Gazzetta Ufficiale publication coordinates."
        },
        {
          "type": "string",
          "minLength": 1,
          "description": "Italian citation, URN:NIR, ELI, or Normattiva URL."
        }
      ]
    },
    "job_token": {
      "description": "Resume a job from italylaw_get_act or italylaw_list_versions. Mutually exclusive with act. Tokens expire and are lost on server restart. Keep anonymous continuation tokens private.",
      "type": "string",
      "minLength": 1
    },
    "wait_seconds": {
      "default": 45,
      "description": "Poll for up to this many seconds after submission and confirmation. Zero submits and confirms without polling.",
      "type": "integer",
      "minimum": 0,
      "maximum": 45
    },
    "from": {
      "description": "Start of the inclusive interval for lifecycle event dates.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "to": {
      "description": "End of the inclusive interval for lifecycle event dates.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "limit": {
      "default": 25,
      "description": "Maximum number of matching events to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "offset": {
      "default": 0,
      "description": "Zero-based starting position in the filtered event list.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "wait_seconds",
    "limit",
    "offset"
  ],
  "additionalProperties": false
}
view source ↗

italylaw_track_changes

open-world

List observed changes to consolidated Italian state acts within an inclusive Rome-date window, newest first. Omit both dates for today and the six preceding days. Each row gives one act and change date with reported modifiers and Gazzetta notice codes. To find changes reported for one modifier, pass modified_by and start the window at its Gazzetta Ufficiale publication date; filtered calls scan active change dates so later amendments do not hide earlier ones, and wide windows that hit change_window_too_expensive can be split into smaller ranges. Use italylaw_list_versions for the lifecycle of a particular act.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "italylaw_track_changes",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "from": {
      "description": "First change date, inclusive. Supply together with to.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "to": {
      "description": "Last change date, inclusive. Supply together with from.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "modified_by": {
      "description": "Act reference for the modifying publication reported by Normattiva. Filtered windows scan each active change date from its Gazzetta Ufficiale publication date onward; split wide windows if change_window_too_expensive occurs.",
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "codice_redazionale": {
              "type": "string",
              "pattern": "^[A-Za-z0-9]+$",
              "description": "Publication code assigned by the Gazzetta Ufficiale, such as 090G0294."
            },
            "data_gu": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Gazzetta Ufficiale publication date."
            }
          },
          "required": [
            "codice_redazionale",
            "data_gu"
          ],
          "additionalProperties": false,
          "description": "Exact Gazzetta Ufficiale publication coordinates."
        },
        {
          "type": "string",
          "minLength": 1,
          "description": "Italian citation, URN:NIR, ELI, or Normattiva URL."
        }
      ]
    },
    "limit": {
      "default": 25,
      "description": "Maximum number of act and change-date pairs per page.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "offset": {
      "default": 0,
      "description": "Zero-based starting offset.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "limit",
    "offset"
  ],
  "additionalProperties": false
}
view source ↗

italylaw_list_reference

open-world

Look up Italian act types and code abbreviations, Normattiva identifier and date syntax, coverage, error codes, and bulk collections. Only the collections section requires a network read.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "italylaw_list_reference",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "topic": {
      "default": "all",
      "description": "Use act_types for type and status filters, identifiers for selector syntax, codes for abbreviations, collections for bulk data, coverage for scope and numbering, errors for recovery, or all for every section.",
      "type": "string",
      "enum": [
        "all",
        "act_types",
        "identifiers",
        "codes",
        "collections",
        "coverage",
        "errors"
      ]
    }
  },
  "required": [
    "topic"
  ],
  "additionalProperties": false
}
view source ↗

Extensions

1

io.modelcontextprotocol/skills

{
  "directoryRead": true
}