Compute, decode and verify the Italian codice fiscale; codici catastali of every era.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Compute the Italian codice fiscale (tax code) of a person from surname, name, sex, birth date and birth place, with the D.M. 23/12/1976 rules. The place can be a comune ('Roma', 'Castro (LE)'), a foreign state ('Francia') or a codice catastale ('H501'); the code valid on the birth date is used. Returns the 16 characters and why each group has its value. The Agenzia delle Entrate may assign an omocodic variant: only it confirms a code.
M or F.
Given name(s) (nome), all of them.
Surname (cognome), as on the document.
Birth date, YYYY-MM-DD (DD/MM/YYYY accepted).
Comune (with province if ambiguous), foreign state, or codice catastale / Z-code.
Compute the Italian codice fiscale (tax code) of a person from surname, name, sex, birth date and birth place, with the D.M. 23/12/1976 rules. The place can be a comune ('Roma', 'Castro (LE)'), a foreign state ('Francia') or a codice catastale ('H501'); the code valid on the birth date is used. Returns the 16 characters and why each group has its value. The Agenzia delle Entrate may assign an omocodic variant: only it confirms a code.
| Argument | Type | Description |
|---|---|---|
| sex* | string | M or F. |
| name* | string | Given name(s) (nome), all of them. |
| surname* | string | Surname (cognome), as on the document. |
| birth_date* | string | Birth date, YYYY-MM-DD (DD/MM/YYYY accepted). |
| birth_place* | string | Comune (with province if ambiguous), foreign state, or codice catastale / Z-code. |
{
"type": "object",
"required": [
"surname",
"name",
"sex",
"birth_date",
"birth_place"
],
"properties": {
"sex": {
"enum": [
"M",
"F"
],
"type": "string",
"example": "M",
"description": "M or F."
},
"name": {
"type": "string",
"example": "Mario",
"description": "Given name(s) (nome), all of them."
},
"surname": {
"type": "string",
"example": "Rossi",
"description": "Surname (cognome), as on the document."
},
"birth_date": {
"type": "string",
"example": "1985-12-10",
"description": "Birth date, YYYY-MM-DD (DD/MM/YYYY accepted)."
},
"birth_place": {
"type": "string",
"example": "Roma",
"description": "Comune (with province if ambiguous), foreign state, or codice catastale / Z-code."
}
},
"additionalProperties": false
}Read back a codice fiscale: sex, birth date (one or two possible centuries), birth comune or foreign state valid on that date, the consonant codes of surname and name, and omocodia. The full name cannot be recovered from a code. Fails with the reason when the format or the check character is wrong.
| Argument | Type | Description |
|---|---|---|
| code* | string | Codice fiscale, 16 characters (spaces and lowercase accepted). |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"example": "RSSMRA85T10H501O",
"description": "Codice fiscale, 16 characters (spaces and lowercase accepted)."
}
},
"additionalProperties": false
}Search the 15,000 comuni of every era and the foreign states of the ANPR archive by name or by code (codice catastale like H501, Z-code like Z110). Returns up to 20 places with their province and the dates their code was valid. Give a date to keep only the places valid on it.
| Argument | Type | Description |
|---|---|---|
| q* | string | Name ('Roma', 'Sant Angelo') or code ('H501', 'Z110'). |
| date | string | Optional date YYYY-MM-DD: only places valid on that day. |
{
"type": "object",
"required": [
"q"
],
"properties": {
"q": {
"type": "string",
"example": "Pola",
"description": "Name ('Roma', 'Sant Angelo') or code ('H501', 'Z110')."
},
"date": {
"type": "string",
"example": "1940-06-02",
"description": "Optional date YYYY-MM-DD: only places valid on that day."
}
},
"additionalProperties": false
}Check that a codice fiscale is well formed, layer by layer: format, check character, a real birth date, a place code valid on that date, and optionally the surname and name letters. It says whether the code is written correctly, not whether the Agenzia delle Entrate has assigned it (only its own service does).
| Argument | Type | Description |
|---|---|---|
| code* | string | Codice fiscale, 16 characters (spaces and lowercase accepted). |
| name | string | Optional name to match against characters 4-6. |
| surname | string | Optional surname to match against characters 1-3. |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"example": "RSSMRA85T10H501O",
"description": "Codice fiscale, 16 characters (spaces and lowercase accepted)."
},
"name": {
"type": "string",
"example": "Mario",
"description": "Optional name to match against characters 4-6."
},
"surname": {
"type": "string",
"example": "Rossi",
"description": "Optional surname to match against characters 1-3."
}
},
"additionalProperties": false
}