Usgs Mineral Commodities
liveMarketsTradeGeographyUSGS Mineral Commodity Summaries (MCS), U.S. production, imports, exports, consumption, price, employment and net import reliance for 85 nonfuel mineral commodities, plus world mine/plant production and reserves by country for 75 of them. Fleet #2722.
Tools
mcs_list_commoditiesBrowse the ~85 nonfuel mineral commodities covered by the USGS Mineral Commodity Summaries (MCS) annual data release, lithium, copper, cobalt, rare earths, gold, aluminum, nickel, platinum-group metal
No parameters required.
Try it
mcs_commodity_dataU.S. salient statistics for one mineral commodity from the USGS Mineral Commodity Summaries, the most recent 5 years of production, imports, exports, consumption, price, employment, and NET IMPORT REL
No parameters required.
Try it
mcs_country_comparisonWorld mine/plant PRODUCTION (prior-year actual + current-year estimate) and RESERVES, by country, for one mineral commodity from the USGS Mineral Commodity Summaries, e.g. "which countries hold lithiu
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/usgs-mineral-commodities/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/usgs-mineral-commodities/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"mcs_list_commodities","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("mcs_list_commodities", {});// Or ask in plain English:
const answer = await px.ask("usgs mineral commodity summaries (mcs), u");