Usgs Critical Deposits

io.github.pipeworx-iov0.1.0更新於 Oct 10, 2026

USGS Critical Mineral Deposits of the United States — fleet #2823.

已驗證Streamable HTTP可網頁執行Data & AnalyticsLocation & Lifestyle

概覽

AI 產生的概覽

查詢美國地質調查局美國關鍵礦產礦床資料集,可依礦種、州或邊界框檢索,並取得單一礦床的完整紀錄。

功能
透過遠端端點提供兩個工具:usgs_cmd_deposits_search 可依礦種、美國州或領地縮寫及/或邊界框篩選 1,271 個已記錄的美國礦床,回傳編號、名稱、州、座標、礦物、礦床類型與資源數據;usgs_cmd_deposit_detail 回傳單一礦床的完整紀錄,包括成礦系統、生產歷史、資源與儲量數據、參考文獻、指向底層 MRDS/ARDF/USMIN 紀錄的連結,以及發布版本與 DOI。此端點也會列出 ask_pipeworx、discover_tools、search_within 等共用閘道中繼工具,因此可見的工具數量多於這兩個資料集工具。本機 stdio 版本僅提供本套件的工具。
適用情境
適合助理需要結構化的美國關鍵礦產礦床事實(位置、礦床類型、生產歷史、資源數據與參考文獻)來處理研究、採購或報告類問題的情境。資料僅限美國(含波多黎各),涵蓋經過整理的關鍵礦產礦床,而非原始 MRDS 礦點或全國產量與貿易彙總。
執行需求
使用閘道網址的遠端 streamable HTTP 端點;前幾次呼叫無需帳號或 API 金鑰。也可透過 npx 以本機 stdio 方式執行,無需 Pipeworx 帳號。需要能連線至閘道以及上游 USGS ArcGIS FeatureServer 的網路存取。
安裝前請注意
上游 ArcGIS 服務被說明為可量測地不穩定,會連續回傳 HTTP 502 後才成功;本套件在非 2xx、非 JSON 或 ArcGIS 錯誤回應時會直接報錯,而不會回傳空結果。連線到單一套件端點還會暴露約 30 個共用閘道中繼工具,會佔用上下文。此整合為獨立且非官方,與 USGS 無隸屬關係,也未獲其認可。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Usgs Critical Deposits,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "usgs-critical-deposits": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/usgs-critical-deposits/mcp"
    }
  }
}

README

@pipeworx/usgs-critical-deposits

USGS's "Critical mineral deposits of the United States" (ver. 3.0, September 2026) — 1,271 documented mineral deposits across 41 states and Puerto Rico, each classified by mineral system and deposit type, with production history, resource/reserve figures and references, compiled from MRDS, ARDF and USMIN plus industry reports and the literature. Distinct from usgs-mrdata (raw MRDS occurrences, no curated critical-mineral resource/reference compilation) and usgs-mineral-commodities (national production/trade summaries, no per-deposit records).

Part of Pipeworx — an MCP gateway connecting AI agents to 1764+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.

Tools

  • usgs_cmd_deposits_search(commodity?, state?, bbox?, limit?) — search by critical mineral/commodity (e.g. "lithium", "cobalt", "ree"), US state or territory abbreviation, and/or a bounding box. Returns each deposit's id, name, state, coordinates, minerals, deposit type and resource figures. An unrecognized commodity returns found: false plus the full list of commodities this dataset actually has deposits for (see "Commodity vocabulary" below).
  • usgs_cmd_deposit_detail(id) — one deposit's full record: minerals, deposit type, mineral system, production history, resource/reserve figures, references, a link to the underlying MRDS/ARDF/USMIN record, and the release version/DOI.

Auth

Keyless.

Data sources

Why this proxies live rather than baking a table

The release also ships a download-only Excel/shapefile bundle, but USGS also stands up the identical table as a keyless ArcGIS FeatureServer (verified live 2026-10-08) — so, unlike usgs-mineral-commodities (genuinely file-only), this is a live-call-per-request proxy, not a mirror, and needs no reuse grant under root CLAUDE.md's "PROXYING is not REDISTRIBUTING". No KV bake, no module-scope data table.

The upstream is measurably flaky

Measured live 2026-10-08: the exact same unmodified query (where=1=1& outFields=fid&resultRecordCount=3) returned HTTP 502 on six consecutive attempts over ~45 seconds, then HTTP 200 on the next attempt with nothing changed on this end — this is the upstream ArcGIS hosting infrastructure hiccuping, not a malformed request. Every call in this pack throws loudly on a non-2xx status, a non-JSON body, or an ArcGIS-shaped {"error": {...}} response, naming the upstream status — never degrading into found: false or an empty deposits list, which would be indistinguishable from a real zero-result query. See src/index.test.ts for the pinned contract.

Commodity vocabulary

The CritMin field in the underlying dataset is open text, comma-separated, and mixes individual elements with USGS's own group shorthand ("ree", "pge") and a few raw multi-word entries ("palladium rhenium", "tantalum tin") — it is not a clean one-token-per-commodity field, and it is not the same list as USGS's press-release count of "59 critical minerals" (the 2025 List of Critical Minerals, 60 commodities, minus metallurgical coal, which this compilation does not address). The two numbers differ because several of the 60 named commodities have zero documented deposits in this release, and because grouped tokens (ree, pge) stand in for multiple individually-named elements on the official list.

This pack therefore validates commodity against the vocabulary derived live from the dataset itself — every distinct comma-split, lower-cased token actually present across the 1,271 deposits (measured 2026-10-08: 47 tokens) — rather than a retyped copy of the press-release list. That keeps deposits_search from ever saying "not found" for a commodity it would then also fail to match. The vocabulary is fetched once per isolate and memoized; a fetch failure clears the memo so the next call retries rather than latching an empty vocabulary for the isolate's whole life.

Known field quirks

  • state is a 2-letter US state/territory abbreviation; Puerto Rico is PR. There is no country filter — this dataset is US-only (with PR).
  • resources1–resources4, prduction1–prduction3 and comments1–comments3 are USGS's own text-overflow continuation columns (a single free-text cell that ran past 254 characters spills into the next numbered field) — this pack concatenates the non-empty ones into resources / production_history / comments arrays rather than exposing the raw numbered fields.
  • references_ (trailing underscore in the raw field name — references is a reserved-ish word in some ArcGIS client libraries) is exposed as references in this pack's output.
  • Empty cells in the source come back as a single space " " or the literal string "--", not an empty string or null — both are filtered out before building the resources/production_history/comments arrays.

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

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

What this endpoint actually serves

tools/list at https://gateway.pipeworx.io/usgs-critical-deposits/mcp returns the tools in the table above plus the shared Pipeworx meta-tools — ask_pipeworx, discover_tools, search_within, remember/recall and the rest of the gateway-wide set. So the tool count you see is larger than this table: a single-pack endpoint currently lists roughly 30 shared tools alongside the pack's own. The connection's initialize response states its exact scope, and is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a scoped connection answer a question this pack does not cover — via ask_pipeworx, which routes across the whole catalog — without you adding a second MCP server. There is currently no way to mount a pack endpoint without them; if the extra schemas cost you more context than the routing is worth, connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:

json
{  "mcpServers": {    "pipeworx": {      "url": "https://gateway.pipeworx.io/mcp"    }  }}

Both URLs reach the same gateway and the same 1764+ data sources. The only difference is which pack's tools are listed directly; ask_pipeworx reaches all of them from either one.

No MCP client? Call it over HTTP

bash
curl -X POST https://gateway.pipeworx.io/v1/tools/usgs_cmd_deposits_search \  -H 'Content-Type: application/json' \  -d '{"commodity":"lithium","state":"AR"}'

No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/usgs_cmd_deposits_search. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.

Standalone (no gateway account)

This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:

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

Or run it directly to confirm it starts:

bash
npx -y @pipeworx/mcp-usgs-critical-deposits

It speaks MCP over stdin/stdout and answers initialize/tools/list/tools/call for only this pack's tools — none of the shared meta-tools the gateway connection above adds. Same source, same tools, no ask_pipeworx routing.

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:

ask_pipeworx({ question: "your question about Usgs Critical Deposits data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT

來源:README.md,提交 78e3583

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v0.1.0最新Oct 10, 2026