PESEL/NIP/REGON Validator
Validates Polish PESEL, NIP, and REGON checksums; PESEL also decodes birth date and sex.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"pesel-nip-regon-validator": {
"url": "https://apished.com/mcp/v1/idvalidate"
}
}
}Remote endpoints
https://apished.com/mcp/v1/idvalidatestreamable-httpWhat it can do
Tool inventory
Tools (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.
Input Schema
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "digits-only identifier to validate (no spaces or dashes)"
}
},
"required": [
"value"
],
"additionalProperties": false
}Output Schema
{
"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.
Input Schema
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "digits-only identifier to validate (no spaces or dashes)"
}
},
"required": [
"value"
],
"additionalProperties": false
}Output Schema
{
"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.
Input Schema
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "digits-only identifier to validate (no spaces or dashes)"
}
},
"required": [
"value"
],
"additionalProperties": false
}Output Schema
{
"type": "object",
"properties": {
"valid": {
"type": "boolean"
},
"reason": {
"type": "string"
}
},
"required": [
"valid"
],
"additionalProperties": false
}Community
Evidence