PESEL/NIP/REGON Validator
Validates Polish PESEL, NIP, and REGON checksums; PESEL also decodes birth date and sex.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`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
}커뮤니티
증거