PESEL/NIP/REGON Validator
Validates Polish PESEL, NIP, and REGON checksums; PESEL also decodes birth date and sex.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"pesel-nip-regon-validator": {
"url": "https://apished.com/mcp/v1/idvalidate"
}
}
}遠端端點
https://apished.com/mcp/v1/idvalidatestreamable-http它能做什麼
工具清單
工具(3)
⚪nip_validate(value)
Validates the checksum of a 10-digit Polish tax identification number (NIP). Checksum uses weights 6 5 7 2 3 4 5 6 7 over the first 9 digits; sum mod 11 must equal the 10th digit. A sum mod 11 of 10 is itself invalid.
輸入結構描述
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "digits-only identifier to validate (no spaces or dashes)"
}
},
"required": [
"value"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"valid": {
"type": "boolean"
},
"reason": {
"type": "string"
}
},
"required": [
"valid"
],
"additionalProperties": false
}⚪pesel_validate(value)
Validates the checksum of an 11-digit Polish national identification number (PESEL). Checksum uses weights 1 3 7 9 1 3 7 9 1 3 over the first 10 digits; control digit is (10 - sum mod 10) mod 10. On success also decodes the date of birth and sex embedded in the number; a checksum-valid number with an impossible calendar date (e.g. Feb 30) is still reported invalid.
輸入結構描述
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "digits-only identifier to validate (no spaces or dashes)"
}
},
"required": [
"value"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"valid": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"birthDate": {
"type": "string"
},
"sex": {
"type": "string"
}
},
"required": [
"valid"
],
"additionalProperties": false
}⚪regon_validate(value)
Validates the checksum of a 9- or 14-digit Polish business registry number (REGON). 9-digit: weights 8 9 2 3 4 5 6 7 over the first 8 digits, sum mod 11 (10 mapped to 0) must equal the 9th digit. 14-digit: the first 9 digits must themselves be a valid 9-digit REGON, and weights 2 4 8 5 0 9 7 3 6 1 2 4 8 over the first 13 digits (sum mod 11, 10 mapped to 0) must equal the 14th digit.
輸入結構描述
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "digits-only identifier to validate (no spaces or dashes)"
}
},
"required": [
"value"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"valid": {
"type": "boolean"
},
"reason": {
"type": "string"
}
},
"required": [
"valid"
],
"additionalProperties": false
}社群
證據