Marginrule pricing agent

Fee-accurate prices, fees and payouts for Payhip, Ko-fi, Gumroad, Etsy and more. US sellers. Free.

사용해야 할까요

품질 및 안전성

A
설명 품질
100%
스키마 완전성
77%
이름 품질
83%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~3,354토큰 (도구 정의)
~4.7 KB일반적인 응답 크기
상당한 주의 영향 (128k 컨텍스트의 2.62%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "pricing": {
      "url": "https://mcp.marginrule.com/mcp"
    }
  }
}

원격 엔드포인트

https://mcp.marginrule.com/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (6)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢price_for_margin(platform, cost, target_margin, processor, region, ...)

Lowest whole-cent price that keeps a target profit margin on a selling platform after its fees, for a given cost per item. 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. target_margin is a FRACTION of the price (0.30 = 30%). Rates are dated and sourced; read 'assumptions' and 'verify' before quoting. US sellers only. Read-only; sells nothing.

입력 스키마

{
  "type": "object",
  "properties": {
    "platform": {
      "type": "string",
      "enum": [
        "etsy",
        "shopify-basic",
        "payhip-free",
        "payhip-plus",
        "payhip-pro",
        "gumroad-direct",
        "gumroad-discover",
        "ko-fi-shop",
        "notion-marketplace",
        "square-online",
        "square-in-person"
      ],
      "description": "Platform and plan id from list_platforms, e.g. \"etsy\", \"payhip-free\", \"gumroad-direct\", \"ko-fi-shop\"."
    },
    "cost": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000,
      "description": "Your cost per item sold in USD (materials, labour, packaging you pay). 0 for a digital download with no per-sale cost."
    },
    "target_margin": {
      "type": "number",
      "minimum": 0,
      "exclusiveMaximum": 1,
      "description": "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": {
      "description": "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).",
      "type": "string",
      "enum": [
        "stripe",
        "paypal"
      ]
    },
    "region": {
      "description": "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.",
      "type": "string",
      "enum": [
        "us",
        "international"
      ]
    },
    "buyer_tax_rate": {
      "description": "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).",
      "type": "number",
      "minimum": 0,
      "exclusiveMaximum": 1
    },
    "processor_rate": {
      "description": "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.",
      "type": "number",
      "minimum": 0,
      "maximum": 0.2
    },
    "processor_fixed_usd": {
      "description": "Advanced override: your card processor's fixed fee per sale in USD, e.g. 0.30. Replaces the preset's fixed fee.",
      "type": "number",
      "minimum": 0,
      "maximum": 5
    },
    "price_floor_usd": {
      "description": "Lowest price to suggest, in USD. Default 1.00 (Marginrule's assumption, not a platform rule). 0 turns the floor off.",
      "type": "number",
      "minimum": 0,
      "maximum": 1000
    }
  },
  "required": [
    "platform",
    "cost",
    "target_margin"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢fees_breakdown(platform, price, cost, processor, region, ...)

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 (a fraction). buyer_tax_rate is a FRACTION (0.07 = 7%). US sellers only. Read-only.

입력 스키마

{
  "type": "object",
  "properties": {
    "platform": {
      "type": "string",
      "enum": [
        "etsy",
        "shopify-basic",
        "payhip-free",
        "payhip-plus",
        "payhip-pro",
        "gumroad-direct",
        "gumroad-discover",
        "ko-fi-shop",
        "notion-marketplace",
        "square-online",
        "square-in-person"
      ],
      "description": "Platform and plan id from list_platforms, e.g. \"etsy\", \"payhip-free\", \"gumroad-direct\", \"ko-fi-shop\"."
    },
    "price": {
      "type": "number",
      "minimum": 0.01,
      "maximum": 1000000000,
      "description": "Sale price in USD before buyer sales tax, in whole cents, at least 0.01, e.g. 17."
    },
    "cost": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000,
      "description": "Optional cost per item in USD, so the answer includes profit and margin. Default 0."
    },
    "processor": {
      "description": "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).",
      "type": "string",
      "enum": [
        "stripe",
        "paypal"
      ]
    },
    "region": {
      "description": "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.",
      "type": "string",
      "enum": [
        "us",
        "international"
      ]
    },
    "buyer_tax_rate": {
      "description": "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).",
      "type": "number",
      "minimum": 0,
      "exclusiveMaximum": 1
    },
    "processor_rate": {
      "description": "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.",
      "type": "number",
      "minimum": 0,
      "maximum": 0.2
    },
    "processor_fixed_usd": {
      "description": "Advanced override: your card processor's fixed fee per sale in USD, e.g. 0.30. Replaces the preset's fixed fee.",
      "type": "number",
      "minimum": 0,
      "maximum": 5
    }
  },
  "required": [
    "platform",
    "price"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢discount_impact(platform, list_price, cost, discount_rate, discount_usd, ...)

Effect of a percentage or fixed-dollar discount (a sale or promo code) on one item: discounted price, fees and profit at list and at the discounted price, the profit lost per sale, and how many discounted sales it takes to earn the same profit as 100 sales at list. With an optional target_margin it also returns the deepest discount that still keeps that margin after fees. Rates and margins are FRACTIONS (0.25 = 25% off). US sellers only. Read-only; sells nothing.

입력 스키마

{
  "type": "object",
  "properties": {
    "platform": {
      "type": "string",
      "enum": [
        "etsy",
        "shopify-basic",
        "payhip-free",
        "payhip-plus",
        "payhip-pro",
        "gumroad-direct",
        "gumroad-discover",
        "ko-fi-shop",
        "notion-marketplace",
        "square-online",
        "square-in-person"
      ],
      "description": "Platform and plan id from list_platforms, e.g. \"etsy\", \"payhip-free\", \"gumroad-direct\", \"ko-fi-shop\"."
    },
    "list_price": {
      "type": "number",
      "minimum": 0.01,
      "maximum": 1000000000,
      "description": "Regular price in USD before the discount and before buyer sales tax, in whole cents, e.g. 20."
    },
    "cost": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000,
      "description": "Optional cost per item in USD, so profit and margin are included. Default 0."
    },
    "discount_rate": {
      "description": "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.",
      "type": "number",
      "exclusiveMinimum": 0,
      "exclusiveMaximum": 1
    },
    "discount_usd": {
      "description": "Fixed dollars off per item, in whole cents, e.g. 5. Send this OR discount_rate, not both.",
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 1000000000
    },
    "target_margin": {
      "description": "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.",
      "type": "number",
      "minimum": 0,
      "exclusiveMaximum": 1
    },
    "processor": {
      "description": "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).",
      "type": "string",
      "enum": [
        "stripe",
        "paypal"
      ]
    },
    "region": {
      "description": "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.",
      "type": "string",
      "enum": [
        "us",
        "international"
      ]
    },
    "buyer_tax_rate": {
      "description": "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).",
      "type": "number",
      "minimum": 0,
      "exclusiveMaximum": 1
    },
    "processor_rate": {
      "description": "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.",
      "type": "number",
      "minimum": 0,
      "maximum": 0.2
    },
    "processor_fixed_usd": {
      "description": "Advanced override: your card processor's fixed fee per sale in USD, e.g. 0.30. Replaces the preset's fixed fee.",
      "type": "number",
      "minimum": 0,
      "maximum": 5
    }
  },
  "required": [
    "platform",
    "list_price"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢compare_plans(price, sales_per_month, processor, cost, platforms)

Compares selling plans at your price and monthly sales: Payhip Free, Plus and Pro, Gumroad direct and Discover, Ko-fi Shop and Ko-fi Gold, and Shopify Basic billed monthly or yearly. For each plan: fees per sale, monthly plan cost and what you keep a month after both. Returns the cheapest plan at your volume, the break-even sales a month between tiers (such as Payhip Plus vs Free), and which plan keeps the most at each volume. Every number comes from dated, sourced fee rows; a plan without sourced numbers is left out and named. US sellers, domestic cards. Read-only; sells nothing.

입력 스키마

{
  "type": "object",
  "properties": {
    "price": {
      "type": "number",
      "minimum": 0.01,
      "maximum": 1000000000,
      "description": "Your sale price per item in USD before buyer sales tax, in whole cents, e.g. 17."
    },
    "sales_per_month": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000,
      "description": "How many sales you make (or expect) in a month, a whole number, e.g. 50."
    },
    "processor": {
      "description": "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.",
      "type": "string",
      "enum": [
        "stripe",
        "paypal"
      ]
    },
    "cost": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000,
      "description": "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": {
      "description": "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). Leave it out to compare every plan.",
      "minItems": 1,
      "maxItems": 13,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "payhip",
          "gumroad",
          "ko-fi",
          "shopify",
          "payhip-free",
          "payhip-plus",
          "payhip-pro",
          "gumroad-direct",
          "gumroad-discover",
          "ko-fi-shop",
          "ko-fi-gold",
          "shopify-basic-monthly",
          "shopify-basic-yearly"
        ]
      }
    }
  },
  "required": [
    "price",
    "sales_per_month"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢list_platforms

Every platform and plan this server knows (Etsy, Shopify Basic, Payhip Free/Plus/Pro, Gumroad direct/Discover, Ko-fi Shop, Notion Marketplace, Square online/in person) with its 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 and source URLs. Also the card processor presets. Call this first to get valid platform ids.

입력 스키마

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢data_version

Dataset version, fees-as-of date per platform and processor, SHA-256 of the embedded fee data and engine, and every source URL. Use it to cite or cache answers.

입력 스키마

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 6개