@pipeworx/fracfocus
Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/fracfocus’s. Install: one-click buttons
Connect to just the @pipeworx/fracfocus pack
https://gateway.pipeworx.io/fracfocus/mcp — only @pipeworx/fracfocus’s own tools, nothing else in the catalog.
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
Tools: 3
U.S. hydraulic fracturing chemical disclosures — well-level frac job records (operator, API number, location, dates, base fluid volumes) and the chemical additives/ingredients disclosed for each job (trade name, supplier, purpose, CAS number, mass, percent of job). Fleet #2982.
Tools
frac_wells(state?, county?, operator?, limit?, offset?)— search FracFocus well-level disclosures by state, county, and/or operator name (operator matches as a substring). At least one of the three is required. Covers FracFocus’s full disclosure history. Returns each well’s API number, operator, well name, location, job dates, and base fluid volumes, newest job first.frac_chemicals(api_number, limit?, offset?)— the chemical ingredient list disclosed for one well, by API number (dashes optional). Returns trade name, supplier, purpose, CAS number, ingredient name, percent of the job by mass, and mass in pounds per ingredient; trade-secret ingredients carry no CAS number and a claimant company instead. Ingredient-level detail is only loaded for jobs on or after this pack’s coverage cutoff — a well that exists infrac_wellsbut predates that cutoff returnsfound:false, reason:"outside_ingredients_coverage", distinct fromreason:"unknown_api_number"when the well itself is not in FracFocus at all.chemical_usage(cas_number, state?, limit?, offset?)— where a chemical has been used, by CAS number (dashes optional), optionally scoped to one state. Returns a summary (total ingredient-disclosure rows, distinct wells, distinct states) plus a sample of matching usage records. Only searches the ingredients coverage window, same caveat asfrac_chemicals.
Every response carries source, source_url, license, and the
ingredients coverage window (ingredients_since / disclosures_through),
so a caller can tell “this well disclosed no chemicals” apart from “this
well’s job predates what we’ve loaded.”
Auth
Keyless. The tools answer only through the Pipeworx gateway, which holds
the data; a standalone npm install has no data to read, and every tool
throws a clear “not bound in this runtime” error there instead of
returning an empty list.
Data sources
- FracFocus (Ground Water Protection Council / Interstate Oil and Gas
Compact Commission) — the national hydraulic fracturing chemical
disclosure registry. FracFocus publishes only a bulk CSV download, no
per-request API, so this pack builds a copy into D1
(
scripts/fracfocus/load-data.mjs) rather than proxying per request. Licence (quoted verbatim, checked live 2026-10-14): “Downloaded data may be aggregated or combined with other datasets, but the FracFocus data may not be altered in any way.” Also: “Data submitted appears as it was submitted by the operator or operator’s authorized agent. FracFocus does not warrant the data in any way.” This pack reformats CSV rows into SQL rows and scopes the ingredients table to a recent date window (below) — it does not change any retained value.
Known gaps — read before extending this pack
The ingredients table (ff_ingredients) is NOT full history. FracFocus’s
bulk download holds ~250k well disclosures (DisclosureList_#.csv, loaded
in full) but ~7.3M chemical-ingredient rows (FracFocusRegistry_#.csv,
measured 2026-10-14) — each disclosure’s ingredient rows also repeat every
well-header column, which this pack does not store a second time (it joins
back to ff_disclosures by disclosure_id instead). Loading all 7.3M
ingredient rows in one pass would mean roughly 10x the wrangler d1 execute
round trips of the first load. The first load scopes ff_ingredients to
jobs on or after --since (default 2024-01-01) — measured 2026-10-14,
that is ~646k rows after dropping ~11% pure-placeholder rows that carry
neither a CAS number nor an ingredient name (“Ingredient Container”
administrative rows with no chemical content). frac_wells (which only
reads ff_disclosures) covers full history regardless; frac_chemicals
and chemical_usage (which read ff_ingredients) only answer within the
loaded window, and say so explicitly (reason:"outside_ingredients_coverage")
rather than returning an empty success for an older well.
Same shape as mcps/bts-ontime’s “most recent N months” first load —
see that pack’s README for the precedent. Extend coverage further back with
node scripts/fracfocus/load-data.mjs --since 2020-01-01 (or any earlier
date); ff_ingredients inserts are additive and filtered by date, so a
wider --since on a later run adds older rows without re-touching what is
already loaded, while ff_disclosures is fully reloaded every run (cheap,
small table, and the simplest way to pick up newly-published disclosures).
WaterSource data is not loaded. FracFocus 4.0 (12/1/2023) added an
optional water-source-of-supply file (WaterSource_#.csv, ~5MB,
well-level). Not in this pack’s tool set — add a table for it if a future
tool needs it.
Refreshing the data
FracFocus updates “5 days a week” per its own download page and publishes
no incremental/delta feed, so a refresh re-downloads and reprocesses the
full bulk zip: node scripts/fracfocus/load-data.mjs (needs wrangler
logged in to the Pipeworx Cloudflare account, and the unzip CLI). Run
monthly, or with a wider --since to extend historical ingredient
coverage further back.
Tools
- frac_wells — Search FracFocus well-level frac job disclosures by state/county/operator.
- frac_chemicals — Chemical ingredients disclosed for one well by API number.
- chemical_usage — Find wells/jobs that used a given chemical (by CAS number), optionally scoped to a state.
Tools
chemical_usage— Find wells/jobs that used a given chemical (by CAS number), optionally scoped to a state.frac_chemicals— Chemical ingredients disclosed for one well by API number.frac_wells— Search FracFocus well-level frac job disclosures by state/county/operator.