mrdata_commodities
Pack: usgs-mrdata · Endpoint: https://gateway.pipeworx.io/usgs-mrdata/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/mrdata_commodities for the schema, then POST the same URL with its arguments for the data.
Which commodities are recorded in USGS MRDS inside an area, with a site count per commodity — the “what is this region mined for” tool. Also serves as the lookup for the commodity symbols that mrdata_search_deposits expects. Sourced from USGS MRData.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
bbox | string | no | Bounding box “minLon,minLat,maxLon,maxLat” (WGS84). Omit to get the symbol reference list with no counts. |
sample_size | number | no | How many sites in the box to tally (default 500, max 2000) |
Example call
Arguments
{
"bbox": "-112.3,33.3,-111.9,33.7",
"sample_size": 200
}
curl
curl -X POST https://gateway.pipeworx.io/usgs-mrdata/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mrdata_commodities","arguments":{"bbox":"-112.3,33.3,-111.9,33.7","sample_size":200}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('mrdata_commodities', {
"bbox": "-112.3,33.3,-111.9,33.7",
"sample_size": 200
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"usgs-mrdata": {
"url": "https://gateway.pipeworx.io/usgs-mrdata/mcp"
}
}
}
See Getting Started for client-specific install steps.