Tools / Prices
Commodities
get_commodities
Front-month futures prices and daily change for energy (WTI, Brent, natural gas, gasoline, heating oil), metals (gold, silver, platinum, palladium, copper, aluminum), agriculture (corn, wheat, soybeans, coffee, sugar, cocoa, cotton, orange juice, lumber) and livestock. For history of one commodity use get_ohlcv with its futures code, e.g. GC=F.
Questions it answers
- Which commodities moved the most today?
- Where are gold and silver trading versus spot?
Parameters
| Parameter | Description |
|---|---|
groupsstring[] of energy | metals | agriculture | livestock | Default: all groups |
Use it from your agent
Add the TradingData MCP URL to Claude, ChatGPT, Cursor or any MCP client, then ask in plain words. The model sees this tool's description and calls it with the right parameters.
https://mcp.tradingdata.io