validate_card
Pack: creditcard · Endpoint: https://gateway.pipeworx.io/creditcard/mcp
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 that network. Spaces/dashes are ignored. NOTE: this checks the number is well-formed — it does NOT verify the card is real/active/funded (that needs a payment processor).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
number | string | yes | The card number, e.g. “4111 1111 1111 1111”. |
Example call
curl -X POST https://gateway.pipeworx.io/creditcard/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"validate_card","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"creditcard": {
"url": "https://gateway.pipeworx.io/creditcard/mcp"
}
}
}
See Getting Started for client-specific install steps.