mcs_country_comparison

Pack: usgs-mineral-commodities · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/mcs_country_comparison for the schema, then POST the same URL with its arguments for the data.

World 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 lithium reserves” or “China vs. Australia rare-earth production”. Covers 75 of the 85 commodities MCS tracks (the other 10 — mostly scrap/slag/crushed-stone categories USGS tracks only domestically — return found:false with a pointer to mcs_commodity_data instead). Optional countries filter (comma-separated or array) narrows to named countries; rows are otherwise sorted by current reserves, descending. Keyless.

Parameters

NameTypeRequiredDescription
commoditystringyesCommodity name or code, e.g. “lithium”, “cobalt”, “copper”.
countriesstringnoOptional country name filter — a comma-separated string or array, e.g. “China,Australia,Chile”.
itemsstringno
limitnumbernoMax countries to return, default 50, max 100.

Example call

Arguments

{
  "commodity": "lithium",
  "countries": [
    "China",
    "Australia",
    "Chile"
  ]
}

curl

curl -X POST https://gateway.pipeworx.io/usgs-mineral-commodities/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mcs_country_comparison","arguments":{"commodity":"lithium","countries":["China","Australia","Chile"]}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('mcs_country_comparison', {
  "commodity": "lithium",
  "countries": [
    "China",
    "Australia",
    "Chile"
  ]
});

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the usgs-mineral-commodities pack
{
  "mcpServers": {
    "usgs-mineral-commodities": {
      "url": "https://gateway.pipeworx.io/usgs-mineral-commodities/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 7, 2026