Credit Card Validation

live FinanceUtility

Validate 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.

2 tools
0ms auth
free tier 50 calls/day

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.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/creditcard/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
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.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("validate_card", {});
ask_pipeworx
// 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");