- CALCULATED
- PROMOTIONS
- REVIEWS
- LOGS
Short answer
How can I use AI to calculate product discounts?
Your AI uses the calculate_increase_by tool to determine new price points after applying percentage changes. This allows you to run bulk discount simulations or calculate final checkout prices instantly. You get exact figures for every SKU or coupon you feed it.
The results you get.
Where your price updates land.
The AI processes your pricing requests and delivers these specific results.
CALCULATED
New price points
The AI runs the math on your original prices. You get a list of the exact new values after the discount is applied.
PROMOTIONS
Coupon impact
Input your coupon percentages to see how they affect your margins. The AI calculates the reduction for each item.
REVIEWS
Human verification
The AI presents the final numbers for your review. You decide if the discounts are correct before applying them to your store.
LOGS
Price history
Keep track of the changes made. The AI provides the delta between the old and new prices for your records.
The workflow
What your AI does when the pricing data arrives.
The AI takes your raw price data and applies the logic you request.
Ingest price lists
Your agent reads your current product pricing from a sheet or database. It identifies the base prices that need adjustment.
calculate_increase_byApply reductions
The AI calculates the specific amount to subtract from each item based on your percentage rules. It handles the math for every single line item.
calculate_increase_bySimulate markups
If you need to raise prices instead of lowering them, the AI performs the inverse calculation. This helps you find the right price to hit a specific margin.
calculate_increase_byFinalize values
The AI outputs the final, rounded price points. You can then take these values and move them into your e-commerce platform.
calculate_increase_by
Try it
Copy these to start.
Use these prompts to trigger the calculation engine immediately.
Starting points
Swap out the bracketed info for your actual data sources like a Google Sheet or a CSV file.
JavaScript Math Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_ttJ13k8D00YxXRgwTrEjCYGv4nA6JgPMQz340RM2/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — JavaScript Math capabilities are ready to use.
{
"mcpServers": {
"percentage-calculation-engine-mcp": {
"url": "https://edge.vinkius.com/vk_preview_ttJ13k8D00YxXRgwTrEjCYGv4nA6JgPMQz340RM2/mcp"
}
}
}Calculate a 15% discount for all items in my 'Summer Sale' spreadsheet.
Apply a 20% price increase to the products listed in this CSV to cover shipping costs.
Using the product list from my inventory sheet, show me the new prices if I run a 10% off coupon.
Calculate the new price for the items in my Shopify export if I want to increase them by 5%.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Percentage Calculation Engine once, then ask.
Just click the link to connect the MCP to your client. Your credentials stay encrypted and you can start chatting with your data right away.
Connect Percentage Calculation Engine to your AIFAQ
How this task behaves.
- 01
Can the AI automatically update my Shopify store prices?
No. The AI calculates the new prices, but you must manually review and apply those changes to your store.
- 02
Does the AI handle tax calculations?
No. This tool is strictly for calculating percentage increases or decreases on a base price.
- 03
Can I use this for bulk price updates?
Yes. You can provide a list of many products at once and the AI will process the math for the entire set.
- 04
Will the AI delete my original price data?
No. The AI only reads your data to perform calculations. It does not have the ability to delete or overwrite your source files.
- 05
Can the AI calculate discounts based on specific categories?
Yes. If your data includes categories, you can tell the AI to only apply the percentage change to specific groups.
More questions about Percentage Calculation Engine? The Connector page answers them. See everything the Percentage Calculation Engine Connector can do
Connect JavaScript Math to Claude, Cursor, ChatGPT & more
