Credit Card Validation
live FinanceUtilityValidate credit/debit card numbers offline (keyless): Luhn checksum + card-network detection (Visa/Mastercard/Amex/Discover/JCB/Diners/UnionPay/Maestro) + length checks. Number well-formedness only.
Tools
validate_card Validate a credit/debit card number (keyless, offline): Luhn (mod-10) checksum, detected card network (Visa/Mastercard/Amex/Discover/JCB/Diners/UnionPay/Maestro), and whether the length is valid for t
No parameters required.
Try it
check_luhn Run a raw Luhn (mod-10) check-digit validation on any numeric string (cards, IMEI, national IDs, etc.). Returns whether the check digit is valid and what the correct check digit would be.
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/creditcard/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/creditcard/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"validate_card","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("validate_card", {}); // Or ask in plain English:
const answer = await px.ask("validate credit/debit card numbers offline (keyless): luhn checksum + card-network detection (visa/mastercard/amex/discover/jcb/diners/unionpay/maestro) + length checks");