# Creditcard

> Creditcard is a freemium MCP server for finance and payments. Offline credit card number checker: Luhn check, network detection, length rules. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $49 a month
- **Platforms:** API, CLI, Web
- **Website:** https://pipeworx.io/packs/creditcard
- **Repository:** https://github.com/pipeworx-io/mcp-creditcard
- **MCP Registry name:** io.github.pipeworx-io/creditcard
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-18

## About

The README describes this as a credit-card number validation server that runs its checks without any outside calls. Its main tool, validate_card, applies the Luhn mod-10 checksum, identifies the card network from the number, and confirms the length fits that network. Spaces and dashes in the input are ignored.

A second tool, check_luhn, runs a plain Luhn check on any numeric string, which the README suggests can be used for IMEI numbers or national ID numbers as well as cards. It reports whether the check digit is valid and what the correct check digit would be.

The README is explicit that these checks only confirm a number is well-formed. They do not show that a card is real, active or funded, which would require a payment processor. The endpoint is served through the Pipeworx gateway and also lists shared gateway tools such as ask_pipeworx alongside the pack's own tools.

## Features

- **Luhn checksum validation:** Checks a number against the mod-10 check digit rule, with spaces and dashes ignored.
- **Card network detection:** Identifies the network from the number, covering Visa, Mastercard, Amex, Discover, JCB, Diners, UnionPay and Maestro.
- **Length verification:** Confirms the digit count is valid for the detected card network.
- **Generic Luhn check:** Runs a raw check-digit test on any numeric string and returns the correct digit if it is wrong.
- **Keyless offline checks:** The validation tools need no API key and do not call an external service, according to the README.

## Good for

- Rejecting mistyped card numbers in a checkout form before submission
- Checking IMEI or national ID strings for a valid check digit in a data pipeline
- Adding format validation to an AI agent workflow that handles payment details
- Confirming card length and network before passing a number to a payment processor

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http creditcard https://gateway.pipeworx.io/creditcard/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://gateway.pipeworx.io/creditcard/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "creditcard": {
      "url": "https://gateway.pipeworx.io/creditcard/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "creditcard": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/creditcard/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "creditcard": {
      "serverUrl": "https://gateway.pipeworx.io/creditcard/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "creditcard": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/creditcard/mcp"
    }
  }
}
```

## Tools

- `validate_card`: Validates a credit or debit card number using the Luhn checksum, detects the card network and checks the length for that network.
- `check_luhn`: Runs a raw Luhn mod-10 check-digit validation on a numeric string and returns the correct check digit.

## FAQ

### Does this verify that a card is active or funded?

No. The README states that the tool checks only that the number is well-formed and does not verify that the card is real, active or funded, which requires a payment processor.

### Does it need an API key?

The validation tools are described as keyless. An optional Pipeworx API key raises the daily call cap for the npm bridge, and the README says calls without a key are anonymous and capped at 50 per day.

### Which card networks are detected?

Visa, Mastercard, American Express, Discover, JCB, Diners, UnionPay and Maestro.

### Can the check_luhn tool be used on non-card numbers?

Yes. The README says it works on any numeric string, such as IMEI numbers and national IDs.

### Is Creditcard free?

Creditcard has a free plan, with paid plans for more usage or features. Paid plans start at $49 a month.

### How do I add Creditcard to Claude Code?

Run this command in your terminal: claude mcp add --transport http creditcard https://gateway.pipeworx.io/creditcard/mcp

### What are the best alternatives to Creditcard?

The closest alternatives to Creditcard are SmartRetry Payment Tools, CheckDigit, Turkish IBAN, Tax Number & National ID Validation, PayCheck and Duo Data Utilities: IBAN, VAT, ISIN Validation API.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [SmartRetry Payment Tools](https://ai-powered.com/mcp/smartretry-payment-tools): SmartRetry Payment Tools is a free MCP server for finance and payments.
- [CheckDigit](https://ai-powered.com/mcp/checkdigit): CheckDigit is a free MCP server for developer tools.
- [Turkish IBAN, Tax Number & National ID Validation](https://ai-powered.com/mcp/turkish-iban-tax-number-and-national-id-validation): Turkish IBAN, Tax Number & National ID Validation is a free MCP server for finance and payments.
- [PayCheck](https://ai-powered.com/mcp/paycheck): PayCheck is a freemium MCP server for finance and payments.
- [Duo Data Utilities: IBAN, VAT, ISIN Validation API](https://ai-powered.com/mcp/duo-data-utilities-iban-vat-isin-validation-api): Duo Data Utilities: IBAN, VAT, ISIN Validation API is a paid MCP server for developer tools.
- [Ibanchecker MCP](https://ai-powered.com/mcp/ibanchecker-mcp): Ibanchecker MCP is a freemium MCP server for finance and payments.
- [PointMaxx](https://ai-powered.com/mcp/pointmaxx): PointMaxx is an open-source MCP server for finance and payments.
- [ID & Format Oracle](https://ai-powered.com/mcp/id-and-format-oracle): ID & Format Oracle is a paid MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/creditcard
