Agent♥︎Age
Catalog

io.github.jmshinhwa/currency-minor-unit-lint

Official

by jmshinhwa · JavaScript

Finds the money lines that send the wrong amount to a payment API: the x100 that charges 100x in JPY

io.github.jmshinhwa/currency-minor-unit-lint MCP Server

The io.github.jmshinhwa/currency-minor-unit-lint MCP server identifies “money lines” that send incorrect amounts to a payment API, specifically detecting cases where a value is multiplied by 100 and results in a 100× charge in JPY.

🛠️ Key Features

  • Detects wrong monetary amounts sent to a payment API
  • Flags the “x100” style error that changes the effective charge amount in JPY

🚀 Use Cases

  • Validate payment request payloads to ensure currency minor-unit handling is correct
  • Troubleshoot billing issues where amounts appear 100× too large in JPY

⚡ Developer Benefits

  • Helps pinpoint incorrect amount scaling before requests reach the payment API
  • Supports safer currency amount formatting by catching the x100 pattern

⚠️ Limitations

  • Description only specifies detection of the x100 amount error affecting JPY charges

Topics

compliancecursordevsecopslintermcp-serveropen-vsxvscode-extension