# Usgs Mrdata [Health: Active]

**Category:** 🌳 Environment & Nature  
**Repository:** https://github.com/pipeworx-io/mcp-usgs-mrdata  
**GitHub Stars:** 1  
**npm Downloads (last month):** 667  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/usgs-mrdata

## Description
USGS MRData MCP — the Mineral Resources Data System (MRDS)

## Tools
Capabilities this server exposes over MCP:

- **mrdata_search_deposits** — Search the USGS Mineral Resources Data System for mines, prospects and mineral occurrences by bounding box, site name or commodity. AUTHORITATIVE for "what has been mined near here" and "where are the US lithium/copper/gold occurrences" — returns each site's deposit id, name, development status (Producer, Past Producer, Prospect, Occurrence), coordinates and commodity codes. Sourced from USGS MRData.
- **mrdata_deposit** — Full USGS MRDS record for one mineral deposit by its deposit id — commodities with their roles, deposit type and model, development status, operation type, mining method, years of first and last production, discovery method, alternate site names, host rocks, ore and gangue minerals, and the bibliography behind the record. Sourced from USGS MRData.
- **mrdata_commodities** — 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.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "usgs-mrdata": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-usgs-mrdata"]
  }
}
```

## Documentation

## What Usgs Mrdata does

Usgs Mrdata exposes selected USGS Mineral Resources Data System data through MCP. MRDS contains roughly 300,000 records covering mines, prospects, mineral occurrences, and processing plants worldwide. The records include location, commodities, deposit information, development status, production history, and bibliography.

The server is suited to questions such as which mineral sites occur inside a bounding box, what commodities are associated with an area, and what is recorded about one deposit. Results come from USGS MRDS services rather than a locally maintained dataset.

## How it works

The hosted MCP endpoint is available at `https://gateway.pipeworx.io/usgs-mrdata/mcp`. A client can connect to that URL directly, or use the full Pipeworx gateway at `https://gateway.pipeworx.io/mcp`. The scoped endpoint lists the MRDS tools along with shared Pipeworx meta-tools. Those shared tools can route broader questions through `ask_pipeworx`.

For local MCP configurations, `@pipeworx/mcp-usgs-mrdata` runs with `npx` as a stdio bridge and forwards requests to the same hosted endpoint. It requires network access and has no offline mode. The gateway also exposes HTTP tool calls under `/v1/tools/`, allowing direct requests without an MCP client.

## Setup and configuration

A hosted connection can be added with a URL entry such as:

```json
{
  "mcpServers": {
    "usgs-mrdata": {
      "url": "https://gateway.pipeworx.io/usgs-mrdata/mcp"
    }
  }
}
```

For the local bridge, configure `npx -y @pipeworx/mcp-usgs-mrdata` as the command. Anonymous use is available and limited to 50 calls per day. Setting `PIPEWORX_API_KEY` with a key from Pipeworx raises the allowance to 200 calls per day. `PIPEWORX_META_TOOLS=1` adds the shared gateway tools to the local bridge's listed tools. When using an HTTPS proxy, Node's `fetch` may require `NODE_USE_ENV_PROXY=1`.

## Tools and capabilities

- `mrdata_search_deposits` searches by bounding box, partial site name, commodity code, and result limit. It returns deposit IDs, names, development status, coordinates, and commodity codes.
- `mrdata_deposit` retrieves the full record for one deposit ID. Available record details include commodity roles, deposit type and model, development and operation status, mining method, production years, discovery method, alternate names, host rocks, ore and gangue minerals, and bibliography.
- `mrdata_commodities` reports commodities and site counts for an area, or provides the commodity code reference used by deposit searches.

Commodity codes are MRDS codes, not necessarily chemical element symbols. Examples include `SDG` for sand and gravel, `STN` for stone, `CLY` for clay, and qualified codes such as `STN_C` for crushed stone.

## Limitations and notes

The underlying search source is a USGS OGC WFS service that returns GML. Bounding-box requests use WFS version 1.0.0 to preserve the expected coordinate order and results. Exact deposit lookup uses a property-like filter and the USGS per-deposit JSON path format.

The integration is independent and unofficial; it is not affiliated with, endorsed by, or published by the USGS. Hosted and npm-based calls depend on network access. The project is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/usgs-mrdata/readme_

