
Connect Refinery Margin Calculator to ChatGPT and Claude
Set it up once and it works in ChatGPT, Claude, Cursor, and any other client you love. It all runs safely in the background, so you can relax and focus on what really matters. Run precise refinery economics through your AI client.
Developed, maintained, and hosted by Vinkius.
MCP VERIFIED · PRODUCTION READY · VINKIUS GUARANTEED
Waiting for input…
Works with modern AI clients that support MCP, including ChatGPT, Claude, Cursor, and more.
Your AI does the work. We keep it safe and sound.
No other AI tool gives you this. Your workflow runs in the client you already love, your account stays protected, and you decide what the agent can and cannot do. It is the whole reason to make the switch.
Each Connector lives inside our infrastructure, the same place where your workflow runs. The three things below are already part of it, working quietly in the background so you never have to think about them. Nothing to add, nothing to set up, nothing to worry about.

Each Connector runs inside its own sealed environment.
Each Connector runs inside its own sealed V8 runtime — no access to your files, your system, or other servers. A Connector never sees past its own request.
One switch stops every agent. Instantly.
One action deactivates every Connector, revokes every token, and ends every session at once. AI Governance keeps the record.
Spending limits that pause instead of surprise.
Every user keeps their own connections and credentials, isolated from everyone else. Anything that would cross your spending limit is held for your approval, not billed.
Three controls, built into the layer your AI connects through.
Curated set · 4 capabilities
We ship only the actions that matter.
01-04
4 capabilities in this set.
Part of 4 available through Refinery Economics.
- 01
Calculate crack spread
This capability calculates the crack spread for a single crude type into specific products.
- 02
Calculate gross margin
Use this to find the gross margin for a specific crude slate and product yield.
- 03
Calculate net margin
This capability determines the net margin after subtracting operating costs.
- 04
Optimize slates
This capability identifies the combination of crude and products that results in the highest net margin.
Real work
What teams actually run
Daily Margin Monitoring
Run quick checks on current crack spreads as market prices shift.
Crude Selection
Compare different crude grades to see which offers the best gross margin.
Profitability Forecasting
Calculate net margins by factoring in specific operating costs.
Yield Optimization
Find the ideal product yield mix to maximize the bottom line.
One connector, every AI
Refinery Economics works with the most popular AI clients.
These are the most popular clients, each with a step-by-step guide: one link, set up once, with governance and visibility built in. And because everything runs on the MCP standard, the same connection also works in any other compatible client — nothing to rebuild.
Claude
ChatGPT
Gemini
Perplexity
Grok
Microsoft Copilot
Cursor
VS Code
Windsurf
JetBrains
Cline
LangChain
Vercel AI SDK
Lovable
Z.ai
Raycast
Qwen Code
Kimi Code
Le ChatBuilding your own app? The connector is yours to use.
You don't need a client to put Refinery Economics to work: the same hosted connection plugs into your own applications and agent code, with the same governance on every request. Build with it, chat with it — one connection for both.
Observed, not estimated
939ms average. Fast in production.
Refinery Economics is checked daily against the live service.
- Fastest day
- 731ms
- Slowest day
- 1064ms
- 14-day trend
- Stable+3%
Connect your client
One URL. Every client.
Activate the Connector, copy your link, and paste it into the client you already use. 4 capabilities arrive ready to run.
Preview access · not provider authentication
The vk_preview_* token belongs to Vinkius preview infrastructure. It lets Claude discover and display the capabilities of Refinery Economics, so you can see the experience inside your AI.
It does not authenticate your account with Refinery Economics. Actions requiring credentials or live account data may not run until you activate the Connector and authorize the service.
Refinery Economics Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_kcMkhyqnOApI7Pww2eCvIcKnRsq0pMK3FitczMzr/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Refinery Economics capabilities are ready to use.
{
"mcpServers": {
"refinery-margin-calculator-mcp": {
"url": "https://edge.vinkius.com/vk_preview_kcMkhyqnOApI7Pww2eCvIcKnRsq0pMK3FitczMzr/mcp"
}
}
}
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Step-by-step instructions for each client are in the guide. How to connect
Guided setup for Claude? Set up Refinery Economics in Claude and other AIs
Who it's for
Built for the work Refinery Economics owners hand off.
This MCP is built for professionals managing oil refining economics and crude procurement.
- 01
Refinery Analysts
They hand off complex margin calculations to the AI to speed up reporting.
- 02
Crude Traders
They use the capability to quickly evaluate the profitability of new crude opportunities.
- 03
Operations Managers
They use slate optimization to make better decisions on crude selection.
FAQ
Questions Refinery Economics owners ask.
- 01
How do I use this MCP with my AI client?
You connect your client, such as Claude or Cursor, to Vinkius once. After that, your agent can call the refinery capabilities directly through the interface.
- 02
Can this MCP optimize my crude slate?
Yes, the optimize_slates capability finds the best combination of crude grades and product yields to maximize net margin.
- 03
Does it calculate net margin or just gross margin?
It does both. You can use calculate_gross_margin for initial profitability or calculate_net_margin to include operating costs.
- 04
What is a crack spread calculation?
The calculate_crack_spread capability calculates the difference between the price of a crude oil and the petroleum products refined from it.
- 05
Do I need to host this myself?
No, Vinkius hosts and manages the MCP for you. You just connect and start using the capabilities.
- 06
How do I calculate the net margin?
You can use the calculate_net_margin capability by providing the gross margin data and the total operating costs.
- 07
What is a crack spread?
A crack spread is the difference between the price of a barrel of crude oil and the value of the refined products produced from it. Use calculate_crack_spread to find this value.
- 08
Can I optimize my crude selection?
Yes, the optimize_slates capability evaluates different crude and product combinations to find the maximum net margin.
Explore
More in Finance
Crude Oil Assay Analysis AI Connector
Analyze crude oil properties, yield distributions, and blend compatibility.
ViewContribution Margin Calculator AI Connector
Calculate unit profitability, margin indices, and weighted product mix margins.
ViewInfra Unit Economics & Gross Margin AI Connector
Calculate gross margin, cost breakdowns, and identify margin improvement levers for infrastructure businesses.
ViewOil Field Economics Model AI Connector
Perform detailed economic analysis for oil field developments using DCF modeling.
View
Suggestions
Oil PVT Properties Calculator AI Connector
Calculates critical crude oil PVT properties like bubble point, viscosity, and formation volume factor.
ViewEIA Petroleum — Oil Market Intelligence AI Connector
Real-time oil market data: WTI and Brent crude prices, gasoline and diesel retail prices, U.S. production, ref
ViewSlop Oil Recovery System AI Connector
Technical design tool for sizing equipment and calculating economic yields for industrial slop oil treatment.
ViewCrude Oil Stabilization Engine AI Connector
Simulate crude oil stabilization and RVP reduction processes.
View
Connect Refinery Economics to Claude, Cursor, ChatGPT & more
