Marginrule pricing agent
com.marginrule/pricing
MCP server OK 6 tools
What it is for
Pricing math for sellers on Etsy, Shopify, Gumroad and other platforms: `price_for_margin` finds the lowest price for a target margin, `fees_breakdown` itemises fees on a sale and `discount_impact` shows the effect of a discount.
Summary written by L’Atlas on 29 Nov 2026, rewritten only from the author’s description and the tools seen by our test. Author’s text below.
Pricing math for Etsy, Shopify, Payhip, Gumroad, Ko-fi, Notion Marketplace and Square. US sellers.
Technical sheet
- Author
- marginrule.com (registry namespace)
- Repository
- github.com/marginrule/marginrule-mcp
- Site
- marginrule.com/agent
- Version
- 0.3.4
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://mcp.marginrule.com/mcp Streamable HTTP
- Tools
- 6
- Categories
- Commerce and marketing, AI, agents and memory
- Comparisons
- MCP servers for Notion, MCP servers for Shopify
- Last updated
- 26 Nov 2026
- Published
- 26 Nov 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/com.marginrule/pricing)<a href="https://latlas.dev/en/mcp/com.marginrule/pricing"><img src="https://latlas.dev/badge/fiche/com.marginrule/pricing.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://mcp.marginrule.com/mcp
- Last result
- OK 28 Nov 2026, 11:34
- Response time
- 566 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- marginrule-pricing 0.3.4
- Tools
- 6
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 11:34 | OK | 566 ms | 6 |
Exposed tools (6, from tools/list, 28 Nov 2026)
price_for_margin
Lowest price for a target margin
Finds the lowest whole-cent price that keeps a target profit margin after a platform's fees, for a given cost per item. Use it when a US seller asks what to charge on Etsy, Shopify Basic, Payhip, Gumroad, Ko-fi, Notion Marketplace or Square to hit a margin. status is "ok", "not_possible" or "not_practical". With "ok" it returns price_usd, the fee breakdown at that price, profit_usd and the achieved margin. Do not use it for sellers outside the US, for Amazon FBA, for competitor repricing, for VAT, for shipping, or for monthly plan fees (use compare_plans for plan costs). Inputs are platform, cost, and target_margin as a FRACTION of the price (0.30 means 30%). Optional buyer_tax_rate, processor, and on Etsy offsite_ads (none, under_10k or 10k_plus). Default offsite_ads is none, which leaves ads out. Optional cross_border is none, international, currency_conversion or both. Default is none, which leaves those fees out. Rates are dated and sourced, so read assumptions and verify before quoting. US sellers only. Read-only.
| Parameter | Type | Required | Description |
|---|---|---|---|
| platform | enum: "etsy" | "shopify-basic" | "payhip-free" | "payhip-plus" | "payhip-pro" | "gumroad-direct" | "gumroad-discover" | "ko-fi-shop" … | yes | Platform and plan id from list_platforms, e.g. "etsy", "payhip-free", "gumroad-direct", "ko-fi-shop". |
| cost | number | yes | Your cost per item sold in USD (materials, labour, packaging you pay). 0 for a digital download with no per-sale cost. |
| target_margin | number | yes | Target profit margin as a FRACTION of the price: profit / price. 0.30 means 30%. Must be at least 0 and under 1. A value like 30 is rejected as a percent. Margins below 0.0001 are treated as 0. Within 0.01 of the platform's maximum (1 minus its percentage fees) the answer is status "not_practical". |
| processor | enum: "stripe" | "paypal" | no | Card processor for platforms where the seller adds their own (Payhip plans, Ko-fi Shop). "stripe" = 2.9% + $0.30 (default). "paypal" = PayPal Checkout or Guest Checkout, 3.49% + $0.49. Ignored, with a note, for platforms that charge their own processing (Etsy, Shopify, Gumroad, Notion, Square). |
| region | enum: "us" | "international" | no | Buyer location relative to a US seller. "us" (default) = domestic. "international" is only modelled with processor "paypal" (adds PayPal's 1.50% international fee, so 4.99% + $0.49); other combinations return an error rather than a guess. |
| buyer_tax_rate | number | no | Buyer's sales tax as a FRACTION, e.g. 0.07 for 7%. Default 0. Tax is never profit; it only raises card processing on platforms that charge processing on the tax-inclusive total (see each platform's tax_base). |
| processor_rate | number | no | Advanced override: your own card processor percentage as a FRACTION (0.029 = 2.9%). Only for platforms where the seller adds their own processor. Replaces the preset's rate. |
| processor_fixed_usd | number | no | Advanced override: your card processor's fixed fee per sale in USD, e.g. 0.30. Replaces the preset's fixed fee. |
| offsite_ads | enum: "none" | "under_10k" | "10k_plus" | no | Etsy only. Optional Offsite Ads flag. "none" (the default) leaves the fee out, so answers match earlier callers. "under_10k" adds 15% of the item price for a shop that has always made less than $10,000 USD in any consecutive 365-day period. "10k_plus" adds 12% for a shop that has made $10,000 USD o… |
| cross_border | enum: "none" | "international" | "currency_conversion" | "both" | no | Optional cross-border and currency-conversion fees, from official pages opened 2026-11-20. "none" (the default) leaves them out, so answers match earlier callers. "international" adds the sourced extra fee on an international card or cross-border receipt (Shopify Payments 1% on a US store, Stripe 1… |
| price_floor_usd | number | no | Lowest price to suggest, in USD. Default 1.00 (Marginrule's assumption, not a platform rule). 0 turns the floor off. |
fees_breakdown
Fees and take-home at a price
Reports the fees a platform takes from one sale at a given price, split into platform, listing and card processor parts, plus net after fees, and with an optional cost, profit and margin as a fraction. Use it when a US seller asks what they keep from a sale on Etsy, Shopify Basic, Payhip, Gumroad (including Discover), Ko-fi, Notion Marketplace or Square. Do not use it for sellers outside the US, for Amazon FBA, for competitor repricing, for VAT, for shipping, or for monthly plan costs (use compare_plans to compare plans at a monthly volume). Inputs are platform and price. Optional cost, buyer_tax_rate as a FRACTION (0.07 means 7%), processor, and on Etsy offsite_ads (none, under_10k or 10k_plus). Default offsite_ads is none, which leaves ads out. Optional cross_border is none, international, currency_conversion or both. Default is none, which leaves those fees out. Rates are dated and sourced, so read assumptions and verify before quoting. US sellers only. Read-only.
| Parameter | Type | Required | Description |
|---|---|---|---|
| platform | enum: "etsy" | "shopify-basic" | "payhip-free" | "payhip-plus" | "payhip-pro" | "gumroad-direct" | "gumroad-discover" | "ko-fi-shop" … | yes | Platform and plan id from list_platforms, e.g. "etsy", "payhip-free", "gumroad-direct", "ko-fi-shop". |
| price | number | yes | Sale price in USD before buyer sales tax, in whole cents, at least 0.01, e.g. 17. |
| cost | number | no | Optional cost per item in USD, so the answer includes profit and margin. Default 0. |
| processor | enum: "stripe" | "paypal" | no | Card processor for platforms where the seller adds their own (Payhip plans, Ko-fi Shop). "stripe" = 2.9% + $0.30 (default). "paypal" = PayPal Checkout or Guest Checkout, 3.49% + $0.49. Ignored, with a note, for platforms that charge their own processing (Etsy, Shopify, Gumroad, Notion, Square). |
| region | enum: "us" | "international" | no | Buyer location relative to a US seller. "us" (default) = domestic. "international" is only modelled with processor "paypal" (adds PayPal's 1.50% international fee, so 4.99% + $0.49); other combinations return an error rather than a guess. |
| buyer_tax_rate | number | no | Buyer's sales tax as a FRACTION, e.g. 0.07 for 7%. Default 0. Tax is never profit; it only raises card processing on platforms that charge processing on the tax-inclusive total (see each platform's tax_base). |
| processor_rate | number | no | Advanced override: your own card processor percentage as a FRACTION (0.029 = 2.9%). Only for platforms where the seller adds their own processor. Replaces the preset's rate. |
| processor_fixed_usd | number | no | Advanced override: your card processor's fixed fee per sale in USD, e.g. 0.30. Replaces the preset's fixed fee. |
| offsite_ads | enum: "none" | "under_10k" | "10k_plus" | no | Etsy only. Optional Offsite Ads flag. "none" (the default) leaves the fee out, so answers match earlier callers. "under_10k" adds 15% of the item price for a shop that has always made less than $10,000 USD in any consecutive 365-day period. "10k_plus" adds 12% for a shop that has made $10,000 USD o… |
| cross_border | enum: "none" | "international" | "currency_conversion" | "both" | no | Optional cross-border and currency-conversion fees, from official pages opened 2026-11-20. "none" (the default) leaves them out, so answers match earlier callers. "international" adds the sourced extra fee on an international card or cross-border receipt (Shopify Payments 1% on a US store, Stripe 1… |
discount_impact
What a discount does to fees and profit
Shows what a percentage or fixed-dollar discount on one item does to fees and profit at list and at the discounted price. It also reports the profit lost per sale and how many discounted sales it takes to match 100 sales at list. Use it when a US seller asks about a sale or promo code on Etsy, Shopify Basic, Payhip, Gumroad, Ko-fi, Notion Marketplace or Square. With optional target_margin it also returns the deepest discount that still keeps that margin after fees. Do not use it for sellers outside the US, for order-level discounts, free shipping offers, platform-funded promotions, VAT, Amazon FBA or competitor repricing. Inputs are platform, list_price, and either discount_rate or discount_usd. Rates and margins are FRACTIONS (0.25 means 25% off). Optional cost, target_margin, processor, and on Etsy offsite_ads (none, under_10k or 10k_plus). Default offsite_ads is none, which leaves ads out. Optional cross_border is none, international, currency_conversion or both. Default is none, which leaves those fees out. Rates are dated and sourced, so read assumptions and verify before quoting. US sellers only. Read-only.
| Parameter | Type | Required | Description |
|---|---|---|---|
| platform | enum: "etsy" | "shopify-basic" | "payhip-free" | "payhip-plus" | "payhip-pro" | "gumroad-direct" | "gumroad-discover" | "ko-fi-shop" … | yes | Platform and plan id from list_platforms, e.g. "etsy", "payhip-free", "gumroad-direct", "ko-fi-shop". |
| list_price | number | yes | Regular price in USD before the discount and before buyer sales tax, in whole cents, e.g. 20. |
| cost | number | no | Optional cost per item in USD, so profit and margin are included. Default 0. |
| discount_rate | number | no | Percentage off as a FRACTION: 0.25 means 25% off, used to 6 decimals. Send this OR discount_usd, not both. The dollar amount off is rounded to the cent, half away from zero. |
| discount_usd | number | no | Fixed dollars off per item, in whole cents, e.g. 5. Send this OR discount_rate, not both. |
| target_margin | number | no | Optional target profit margin as a FRACTION (0.30 = 30%). If sent, the answer also gives the deepest discount off list_price that still keeps it, and whether this discount keeps it. |
| processor | enum: "stripe" | "paypal" | no | Card processor for platforms where the seller adds their own (Payhip plans, Ko-fi Shop). "stripe" = 2.9% + $0.30 (default). "paypal" = PayPal Checkout or Guest Checkout, 3.49% + $0.49. Ignored, with a note, for platforms that charge their own processing (Etsy, Shopify, Gumroad, Notion, Square). |
| region | enum: "us" | "international" | no | Buyer location relative to a US seller. "us" (default) = domestic. "international" is only modelled with processor "paypal" (adds PayPal's 1.50% international fee, so 4.99% + $0.49); other combinations return an error rather than a guess. |
| buyer_tax_rate | number | no | Buyer's sales tax as a FRACTION, e.g. 0.07 for 7%. Default 0. Tax is never profit; it only raises card processing on platforms that charge processing on the tax-inclusive total (see each platform's tax_base). |
| processor_rate | number | no | Advanced override: your own card processor percentage as a FRACTION (0.029 = 2.9%). Only for platforms where the seller adds their own processor. Replaces the preset's rate. |
| processor_fixed_usd | number | no | Advanced override: your card processor's fixed fee per sale in USD, e.g. 0.30. Replaces the preset's fixed fee. |
| offsite_ads | enum: "none" | "under_10k" | "10k_plus" | no | Etsy only. Optional Offsite Ads flag. "none" (the default) leaves the fee out, so answers match earlier callers. "under_10k" adds 15% of the item price for a shop that has always made less than $10,000 USD in any consecutive 365-day period. "10k_plus" adds 12% for a shop that has made $10,000 USD o… |
| cross_border | enum: "none" | "international" | "currency_conversion" | "both" | no | Optional cross-border and currency-conversion fees, from official pages opened 2026-11-20. "none" (the default) leaves them out, so answers match earlier callers. "international" adds the sourced extra fee on an international card or cross-border receipt (Shopify Payments 1% on a US store, Stripe 1… |
compare_plans
Which plan keeps the most at my volume
Compares selling plans at a price and monthly sales volume for Payhip Free, Plus and Pro, Gumroad direct and Discover, Ko-fi Shop and Ko-fi Gold, and Shopify Basic, Grow and Advanced, each billed monthly or yearly. Use it when a US seller asks which of those plans keeps the most after per-sale fees and monthly plan cost, or where the break-even between tiers falls. Do not use it for Etsy, Notion Marketplace or Square (they have no plan choice in the fee data, so use fees_breakdown), for sellers outside the US, for international cards, for Amazon FBA, for competitor repricing, for VAT, refunds, disputes, payout fees or ads. Inputs are price and sales_per_month. Optional processor, cost, and a platforms filter. A plan without sourced numbers is left out and named. US sellers, domestic cards. Read-only.
| Parameter | Type | Required | Description |
|---|---|---|---|
| price | number | yes | Your sale price per item in USD before buyer sales tax, in whole cents, e.g. 17. |
| sales_per_month | integer | yes | How many sales you make (or expect) in a month, a whole number, e.g. 50. |
| processor | enum: "stripe" | "paypal" | no | Card processor for the plans where you add your own (Payhip plans, Ko-fi Shop and Ko-fi Gold). "stripe" = 2.9% + $0.30 (default). "paypal" = PayPal Checkout or Guest Checkout, 3.49% + $0.49. Domestic cards only. Gumroad and Shopify charge their own processing. |
| cost | number | no | Optional cost per item sold in USD, so the answer adds profit_per_month_usd and counts it in sales_to_cover_plan_cost. Default 0. |
| platforms | array<enum: "payhip" | "gumroad" | "ko-fi" | "shopify" | "payhip-free" | "payhip-plus" | "payhip-pro" | "gumroad-direct" …> | no | Optional filter: families (payhip, gumroad, ko-fi, shopify) and/or plan ids (payhip-free, payhip-plus, payhip-pro, gumroad-direct, gumroad-discover, ko-fi-shop, ko-fi-gold, shopify-basic-monthly, shopify-basic-yearly, shopify-grow-monthly, shopify-grow-yearly, shopify-advanced-monthly, shopify-adva… |
list_platforms
List platforms and fee presets
Every platform this server prices per sale is Etsy, Shopify Basic, Payhip Free, Plus and Pro, Gumroad direct and Discover, Ko-fi Shop, Notion Marketplace, and Square online or in person. It returns rates as fractions, fixed and listing fees in USD, monthly plan fee, whether it sells digital downloads, whether the seller adds their own processor, the tax-base flag, fees-as-of date, source URLs, and the card processor presets. Use it when you need valid platform ids or to read the sourced rates. Ko-fi Gold is a plan option, so it appears only in compare_plans. Shopify Grow and Advanced are plan options too, so they also appear only in compare_plans. Do not use it for price or fee math (use the other tools), for sellers outside the US, for Amazon FBA, for competitor repricing, or for VAT. It takes no inputs. US sellers only. Read-only.
No parameters.
data_version
Fee data version and sources
Returns the fee dataset version, check dates, a staleness warning, hashes, and the source URLs for every platform and card processor. The full result includes the fees-as-of date per platform and processor, the oldest check date, the latest fee changelog entry, and SHA-256 of the embedded fee data and engine. Use it to cite or cache answers, or to check whether fee rows may be stale. Do not use it for price or fee math (use the other tools), for sellers outside the US, for Amazon FBA, for competitor repricing, or for VAT. It takes no inputs. US sellers only. Read-only.
No parameters.
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://mcp.marginrule.com/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http pricing https://mcp.marginrule.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : pricing ; URL : https://mcp.marginrule.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : pricing ; Server URL : https://mcp.marginrule.com/mcp ; Create as a plugin{
"mcpServers": {
"pricing": {
"url": "https://mcp.marginrule.com/mcp"
}
}
}{
"mcpServers": {
"pricing": {
"type": "http",
"url": "https://mcp.marginrule.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"pricing": {
"url": "https://mcp.marginrule.com/mcp"
}
}
}{
"mcpServers": {
"pricing": {
"httpUrl": "https://mcp.marginrule.com/mcp"
}
}
}[mcp_servers.pricing]
url = "https://mcp.marginrule.com/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Marginrule pricing agent · L’Atlas · Tested on
[Marginrule pricing agent — L’Atlas](https://latlas.dev/en/mcp/com.marginrule/pricing)Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.