# Marginrule pricing agent MCP server

Pricing math for Etsy, Shopify, Payhip, Gumroad, Ko-fi, Notion Marketplace and Square. US sellers.

## Facts

- Endpoint: https://mcp.marginrule.com/mcp (MCP, Streamable HTTP)
- Sign-in: none (open)
- Security grade: B (88/100, scanned 2026-12-01) · report https://gateturbo.com/report/91c2549d-6208-493c-9f23-267ef5e48047
- Tools: 6
- Category: Docs & AI · source: registry
- Repository: https://github.com/marginrule/marginrule-mcp
- Last probed: 2026-11-20 · first listed: 2026-11-18
- Directory page: https://gateturbo.com/mcp/marginrule-pricing-agent · this document: https://gateturbo.com/mcp/marginrule-pricing-agent.md · JSON: https://gateturbo.com/api/directory/servers/marginrule-pricing-agent

## Tools (6)

- `price_for_margin`: 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", "
- `fees_breakdown`: 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 a
- `discount_impact`: 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 dis
- `compare_plans`: 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, a
- `list_platforms`: Every platform and plan this server knows (Etsy, Shopify Basic, Payhip Free/Plus/Pro, Gumroad direct/Discover, Ko-fi Shop, Notion Marketplac
- `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 ci

## Connect

Two routes. Through gate you get one gateway URL for every server you pick, a sign-in screen that asks which agent you are, allow / ask-me-first / block per action, argument rules, a log of every call, and an off-switch. Direct puts this server's URL straight into the agent's config.

### Through gate (Claude Code shown; any MCP client works the same way)

One gateway URL carries every server you pick.

1. Connect Marginrule pricing agent to your gate (https://gateturbo.com/login?next=/discovery?connect=marginrule-pricing-agent).
2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.

```bash
claude mcp add --transport http gate https://gateturbo.com/api/mcp
```

Other agents through gate: Claude → https://gateturbo.com/mcp/marginrule-pricing-agent/claude · Claude Desktop → https://gateturbo.com/mcp/marginrule-pricing-agent/claude-desktop · ChatGPT → https://gateturbo.com/mcp/marginrule-pricing-agent/chatgpt · Codex → https://gateturbo.com/mcp/marginrule-pricing-agent/codex · Cursor → https://gateturbo.com/mcp/marginrule-pricing-agent/cursor · Windsurf → https://gateturbo.com/mcp/marginrule-pricing-agent/windsurf · VS Code → https://gateturbo.com/mcp/marginrule-pricing-agent/vscode · Gemini CLI → https://gateturbo.com/mcp/marginrule-pricing-agent/gemini-cli · OpenClaw → https://gateturbo.com/mcp/marginrule-pricing-agent/openclaw · n8n → https://gateturbo.com/mcp/marginrule-pricing-agent/n8n · A script or server → https://gateturbo.com/mcp/marginrule-pricing-agent/script

### Direct: Claude Code

Add Marginrule pricing agent to Claude Code with one command.

1. Run the command in your terminal.
2. Restart Claude Code; the tools appear in every session.
3. No sign-in needed.

```bash
claude mcp add --transport http marginrule-pricing-agent https://mcp.marginrule.com/mcp
```

### Direct: Cursor

Add Marginrule pricing agent to Cursor's MCP config.

1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
2. Cursor picks it up without a restart.
3. No sign-in needed.

```json
{
  "mcpServers": {
    "marginrule-pricing-agent": {
      "url": "https://mcp.marginrule.com/mcp"
    }
  }
}
```

### Direct: VS Code

Add Marginrule pricing agent to VS Code for Copilot agent mode.

1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
2. Open the Copilot chat in agent mode; the server starts on demand.
3. No sign-in needed.

```json
{
  "servers": {
    "marginrule-pricing-agent": {
      "type": "http",
      "url": "https://mcp.marginrule.com/mcp"
    }
  }
}
```

### Direct: Codex

Add Marginrule pricing agent to Codex.

1. Add this to ~/.codex/config.toml.
2. Start a new Codex session.
3. No sign-in needed.

```toml
[mcp_servers.marginrule_pricing_agent]
url = "https://mcp.marginrule.com/mcp"
```

### Direct: Claude

Add Marginrule pricing agent as a custom connector in Claude.

1. Open claude.ai → Settings → Connectors → Add custom connector.
2. Name it "Marginrule pricing agent" and paste the URL below.
3. Save; the tools appear in new chats.

```
https://mcp.marginrule.com/mcp
```

### Direct: ChatGPT

Add Marginrule pricing agent as a connector in ChatGPT.

1. Open ChatGPT → Settings → Connectors → enable Developer mode under Advanced.
2. Create a connector named "Marginrule pricing agent" with the URL below.
3. Set authentication to none.

```
https://mcp.marginrule.com/mcp
```

## For agents reading this

- Search the directory from inside a conversation: add the directory MCP server https://gateturbo.com/api/directory/mcp (no sign-in) and call `search_servers`, `get_server`, `how_to_connect`.
- JSON: https://gateturbo.com/api/directory/search?q=<terms> · https://gateturbo.com/api/directory/servers/<slug>
- How to get access to a human's gateway on your own: https://gateturbo.com/agents.md
- Always keep a human in the loop: gate's sign-in, approvals and off-switch exist so the person stays in control.
