Validation
Validate or generate numbers using the Modulus-11 (ISO 7064) check-digit algorithm with ISBN-10 (10..2), Norwegian-ID (3,7,6,1,8,9,4,5,2) and generic 2-7 weight schemes.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/mod11-checksum' \
-H 'Content-Type: application/json' \
-d '{"mode":"validate","scheme":"isbn-10","number":"e.g., 0306406152 (ISBN-10) — spaces/dashes ignored","length":10,"prefix":"e.g., 0306 (leading digits to lock when generating)"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/mod11-checksum| Name | Type | Required | Description |
|---|---|---|---|
| mode | select | Yes | — |
| scheme | select | Yes | — |
| number | text | Yes | Any Mod-11 number. Separators are ignored; the last digit is the check digit. |
| length | number | No | Total digit count including the check digit (generate mode). |
| prefix | text | No | Lock the leading digits of the generated number. |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-mod11-checksum": {
"name": "mod11-checksum",
"description": "Validate or generate numbers using the Modulus-11 (ISO 7064) check-digit algorithm with ISBN-10 (10..2), Norwegian-ID (3,7,6,1,8,9,4,5,2) and generic 2-7 weight schemes.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=mod11-checksum",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "mod11-checksum",
"arguments": {
"mode": "validate",
"scheme": "isbn-10",
"number": "e.g., 0306406152 (ISBN-10) — spaces/dashes ignored",
"length": 10,
"prefix": "e.g., 0306 (leading digits to lock when generating)"
}
}
}Questions or issues? Contact [email protected]
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}