Use Refinery Economics with your AI.
Connect your account once and let the AI you already use work with it, without building another integration. Calculate refinery gross margins, net margins, and crack spreads.
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.
Complete set · 4 capabilities
The complete Refinery Economics capability set.
These are the exact actions your AI can choose when you ask it to work with Refinery Economics.
01-04
4 capabilities in this set.
Part of 4 available through Refinery Economics.
- 01
Calculate crack spread
Calculates the crack spread for a single crude type into specific products
- 02
Calculate gross margin
Calculates the gross margin for a specific crude slate and product yield
- 03
Calculate net margin
Calculates the net margin after operating costs
- 04
Optimize slates
Finds the combination of crude and products that maximizes net margin
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.
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? link.label
FAQ
Questions Refinery Economics owners ask.
- 01
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.
- 02
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.
- 03
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
Crack Spread Strategy AI Connector
Analyze refining margins and identify mean-reversion opportunities using a 3:2:1 crack spread model.
ViewLand Rent Viability Calculator AI Connector
Calculate the economic viability of agricultural land leasing.
ViewValue-Added Processing Economics AI Connector
Analyze profitability and ROI for transitioning from raw commodities to processed goods.
ViewContractor vs Owner-Operator Mining Analysis AI Connector
Compare the economic viability of mining contractor vs owner-operator models.
View
Suggestions
Mine Production Scheduler AI Connector
Optimizes mine production schedules, cutoff grades, and NPV using linear programming.
ViewConcrete Crack Control AI Connector
Design reinforcement spacing and ratios to prevent concrete cracking.
ViewCross-Platform Price Discrepancy Analyzer AI Connector
Calculate exact net arbitrage profit and capital requirements across prediction markets.
ViewAI Model Distribution Economics AI Connector
Calculate cost structures, margins, and optimal distribution strategies for AI models.
View
