Koskamo

Marginrule Pricing Agent MCP

A free, read-only MCP server that calculates fee-accurate pricing, provides fee breakdowns, and analyzes discount impacts for platforms like Etsy, Shopify, Payhip, Gumroad, Ko-fi, Notion Marketplace, and Square for US sellers.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Marginrule Pricing Agent MCP logo, by MarginruleVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by Marginrule
MCP endpoint (Streamable HTTP)
https://mcp.marginrule.com/mcp
Vendor documentation

What its tools do

6 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

6 of 6 have a description · 6 of 6 declare behavior hints · 4 of 4 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to marginrule.com ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days

What you can do with it

  • Calculate the lowest price to maintain a target margin after platform and card fees
  • Get detailed fee breakdowns for a specific price point
  • Analyze how a discount affects profit margins

Source and maintenance

Vendor evidenceRegistry 0.3.0

Protocol and capabilities

Server
marginrule-pricing 0.3.2
MCP protocol negotiated in check
2025-11-25
Tools
6 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Marginrule pricing agent: free, read-only, fee-accurate pricing math for small online sellers (US sellers). Call list_platforms for platform ids, then price_for_margin (lowest whole-cent price that keeps a target margin after fees) or fees_breakdown (fees and take-home at a price), or discount_impact (what a percentage or dollar discount does to fees, profit and the sales needed to make up for it), or compare_plans (which selling plan keeps the most at your price and monthly sales, with break-even sales between tiers). Units: every rate and margin is a FRACTION (0.30 = 30%); money is USD. Every answer carries fees_as_of, source URLs, assumptions and a verify note: Verify on the platform's page before relying on it. Platforms change fees without notice; every rate here carries the date it was read and its source URL. Not tax or accounting advice. Not affiliated with any platform named.

Tools

6 advertised

price_for_margin — Lowest price for a target margin
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

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

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.

fees_breakdown input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "platform",
    "price"
  ],
  "properties": {
    "cost": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0,
      "description": "Optional cost per item in USD, so the answer includes profit and margin. Default 0."
    },
    "price": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0.01,
      "description": "Sale price in USD before buyer sales tax, in whole cents, at least 0.01, e.g. 17."
    },
    "region": {
      "enum": [
        "us",
        "international"
      ],
      "type": "string",
      "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."
    },
    "platform": {
      "enum": [
        "etsy",
        "shopify-basic",
        "payhip-free",
        "payhip-plus",
        "payhip-pro",
        "gumroad-direct",
        "gumroad-discover",
        "ko-fi-shop",
        "notion-marketplace",
        "square-online",
        "square-in-person"
      ],
      "type": "string",
      "description": "Platform and plan id from list_platforms, e.g. \"etsy\", \"payhip-free\", \"gumroad-direct\", \"ko-fi-shop\"."
    },
    "processor": {
      "enum": [
        "stripe",
        "paypal"
      ],
      "type": "string",
      "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)."
    },
    "buyer_tax_rate": {
      "type": "number",
      "minimum": 0,
      "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).",
      "exclusiveMaximum": 1
    },
    "processor_rate": {
      "type": "number",
      "maximum": 0.2,
      "minimum": 0,
      "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."
    },
    "processor_fixed_usd": {
      "type": "number",
      "maximum": 5,
      "minimum": 0,
      "description": "Advanced override: your card processor's fixed fee per sale in USD, e.g. 0.30. Replaces the preset's fixed fee."
    }
  },
  "additionalProperties": false
}
fees_breakdown annotations
{
  "title": "Fees and take-home at a price",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
discount_impact — What a discount does to fees and profit
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

discount_impact input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "platform",
    "list_price"
  ],
  "properties": {
    "cost": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0,
      "description": "Optional cost per item in USD, so profit and margin are included. Default 0."
    },
    "region": {
      "enum": [
        "us",
        "international"
      ],
      "type": "string",
      "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."
    },
    "platform": {
      "enum": [
        "etsy",
        "shopify-basic",
        "payhip-free",
        "payhip-plus",
        "payhip-pro",
        "gumroad-direct",
        "gumroad-discover",
        "ko-fi-shop",
        "notion-marketplace",
        "square-online",
        "square-in-person"
      ],
      "type": "string",
      "description": "Platform and plan id from list_platforms, e.g. \"etsy\", \"payhip-free\", \"gumroad-direct\", \"ko-fi-shop\"."
    },
    "processor": {
      "enum": [
        "stripe",
        "paypal"
      ],
      "type": "string",
      "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)."
    },
    "list_price": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0.01,
      "description": "Regular price in USD before the discount and before buyer sales tax, in whole cents, e.g. 20."
    },
    "discount_usd": {
      "type": "number",
      "maximum": 1000000000,
      "description": "Fixed dollars off per item, in whole cents, e.g. 5. Send this OR discount_rate, not both.",
      "exclusiveMinimum": 0
    },
    "discount_rate": {
      "type": "number",
      "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.",
      "exclusiveMaximum": 1,
      "exclusiveMinimum": 0
    },
    "target_margin": {
      "type": "number",
      "minimum": 0,
      "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.",
      "exclusiveMaximum": 1
    },
    "buyer_tax_rate": {
      "type": "number",
      "minimum": 0,
      "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).",
      "exclusiveMaximum": 1
    },
    "processor_rate": {
      "type": "number",
      "maximum": 0.2,
      "minimum": 0,
      "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."
    },
    "processor_fixed_usd": {
      "type": "number",
      "maximum": 5,
      "minimum": 0,
      "description": "Advanced override: your card processor's fixed fee per sale in USD, e.g. 0.30. Replaces the preset's fixed fee."
    }
  },
  "additionalProperties": false
}
discount_impact annotations
{
  "title": "What a discount does to fees and profit",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
compare_plans — Which plan keeps the most at my volume
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

compare_plans input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "price",
    "sales_per_month"
  ],
  "properties": {
    "cost": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0,
      "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."
    },
    "price": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0.01,
      "description": "Your sale price per item in USD before buyer sales tax, in whole cents, e.g. 17."
    },
    "platforms": {
      "type": "array",
      "items": {
        "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"
        ],
        "type": "string"
      },
      "maxItems": 13,
      "minItems": 1,
      "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."
    },
    "processor": {
      "enum": [
        "stripe",
        "paypal"
      ],
      "type": "string",
      "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."
    },
    "sales_per_month": {
      "type": "integer",
      "maximum": 1000000,
      "minimum": 0,
      "description": "How many sales you make (or expect) in a month, a whole number, e.g. 50."
    }
  },
  "additionalProperties": false
}
compare_plans annotations
{
  "title": "Which plan keeps the most at my volume",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_platforms — List platforms and fee presets
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

list_platforms input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {},
  "additionalProperties": false
}
list_platforms annotations
{
  "title": "List platforms and fee presets",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
data_version — Fee data version and sources
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

data_version input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {},
  "additionalProperties": false
}
data_version annotations
{
  "title": "Fee data version and sources",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (26 of 26 checks answered)

  1. 2026-11-17: 1 of 1 checks answered
  2. 2026-11-18: 5 of 5 checks answered
  3. 2026-11-19: 4 of 4 checks answered
  4. 2026-11-20: 3 of 3 checks answered
  5. 2026-11-21: 4 of 4 checks answered
  6. 2026-11-22: 4 of 4 checks answered
  7. 2026-11-23: 3 of 3 checks answered
  8. 2026-11-24: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
535 ms
95th percentile latency
621 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 631 ms · metadata changed · 6 tool(s)
  • · probe · passed · 438 ms · metadata changed · 5 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http marginrule-pricing-agent-mcp https://mcp.marginrule.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add marginrule-pricing-agent-mcp --url https://mcp.marginrule.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable marginrule-pricing-agent-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "marginrule-pricing-agent-mcp": {
      "url": "https://mcp.marginrule.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "marginrule-pricing-agent-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.marginrule.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start marginrule-pricing-agent-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "marginrule-pricing-agent-mcp": {
      "type": "http",
      "url": "https://mcp.marginrule.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http marginrule-pricing-agent-mcp https://mcp.marginrule.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://mcp.marginrule.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "marginrule-pricing-agent-mcp": {
      "serverUrl": "https://mcp.marginrule.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Marginrule Pricing Agent MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run Marginrule Pricing Agent MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing