Business / runnable MCP tool
Run the Markup and Margin Calculator in your AI assistant
Through the free Intry MCP server, Claude, ChatGPT, or Cursor runs this exact tool and hands back its answer with the formulas it works, or says why it cannot answer, rather than a guess. Tool name: markup_and_margin.
What you get back: what the page prints: the markup on cost and the margin on selling price, the selling price, cost and profit, the cost and profit shares of the selling price, the math, then the verdict Save files, the page's Copy and the reading's link.
How it computes the answer
Computed from the figures you enter: selling price = cost x (1 + markup / 100), profit = selling price - cost, markup = profit / cost and margin = profit / selling price.
The formulas it works
Your assistant calls the same engine the interactive calculator calls, with the inputs listed under Inputs. These are the formulas that engine works.
- The markup and margin formulas
- Selling Price = Cost x (1 + Markup%/100). Profit = Selling Price - Cost. Markup% = (Profit / Cost) x 100. Margin% = (Profit / Selling Price) x 100.
The receipt also notes, apart from its formulas:
- How the figures print
- Money figures print to the cent unless a figure is a whole dollar, and the profit printed is the printed selling price less the printed cost. The markup and the margin are the printed profit over the printed cost and over the printed selling price, each to the hundredth of a percent, so a markup typed to the hundredth prints as typed; the bar's profit share is the margin printed, and its cost share is 100 less it, so the two add to 100.
Each figure is computed from your own cost and markup; nothing is looked up. Whether the markup covers your overhead and the profit you plan for is set by your own books, which have the final say.
The full receipt is on the interactive Markup and Margin Calculator.
Ask your assistant
The one rule that makes it reliable: name Intry in your question. That is what tells Claude to run the markup_and_margin tool and answer from the tool's own result, with its source where it has one. Leave Intry out and Claude may just guess from memory, which is exactly what you are trying to avoid. Type something like:
Inputs
Swipe the table sideways to see the rest of its columns. →
| Field | Required | Accepts | Range | What it is |
|---|---|---|---|---|
| cost | yes | string | Required. The job cost in dollars, your cost before markup (e.g. 3200). 100 to 500000, written as the page's link writes it: a plain decimal with no padding zero (0.5, not .5 or 00.5), no trailing zero, no exponent and no thousands separator ("3200.50" is refused; send "3200.5"). The cost is worked to the cent. | |
| markup | yes | string | Required. The markup on cost in percent (e.g. 52). 1 to 300, written as the page's link writes it: a plain decimal with no padding zero (0.5, not .5 or 00.5), no trailing zero, no exponent and no thousands separator ("52.0" is refused; send "52"). |
Add Intry to your AI
One address and your assistant can run this tool and the other tools on Intry's MCP server. On Claude, the button below fills it in; once added, the Claude phone app runs it too.
- Claude opens with the Intry connector already filled in. Click Continue, review the settings and click Continue again, choose No sign in under Authentication, and click Add.
- (If a field is blank, paste the link below into the URL field.)
- In any chat, tap + then Connectors and switch Intry on. Then name Intry in your question (“use Intry to…”) so Claude runs the tool instead of guessing.
https://www.intrysys.com/api/mcpNo login on our end and no API key, on every Claude plan. Once added, the Claude phone app runs it too.
Using another AI app?
Each one takes the same address, https://www.intrysys.com/api/mcp. Pick yours for its steps.
- ChatGPTChatGPT on the web only, on a Plus, Pro, Business, Enterprise or Edu plan.Set up ChatGPT
- GeminiThe Gemini web app in English, signed in with a personal Google Account, for people 18 or over in the US with History on. The Gemini phone app then runs it too.Set up Gemini
- GrokGrok on the web, at grok.com/connectors.Set up Grok
- PerplexityPerplexity on the web, or in its Mac app, under Plugins.Set up Perplexity
- Meta MuseMuse, which connects to Intry itself from its own cloud computer when you give it the address.Set up Meta Muse
- Your own agent or codeClaude Code, Cursor, Windsurf, VS Code and Claude Desktop, and any client that takes an MCP server.Developer setup
Each answer it computes comes with the arithmetic of the job cost and markup you enter, so you can check it. The numbers come from the same calculator we run on intrysys.com, and our automated checks run its formulas on fixed example figures and hold the answers against the same arithmetic worked by hand, for the cases the checks cover, not for every input you can enter.