Power Fuel Receipts and Costs API v1
Generated from
core.contract.describe_power_fuel_cost_v1()and checked fixture-backed examples. Do not hand-edit the example JSON files.
Capability
- Capability:
power.fuel_cost - Primitive:
query_power_fuel_cost_v1 - Status:
available - Current source:
energy.eia.eia923_receipts_cost - Source publisher: U.S. Energy Information Administration
- Snapshot behavior:
as_of = latestresolves to an exact snapshot date in every response.
What It Can Answer
- Raw receipt-level EIA-923 delivered fuel costs in cents/MMBtu.
- Raw physical receipt quantities with fuel-specific units.
- Explicit reported, withheld, and source-missing cost status without imputation.
- Plant/month/fuel/state/BA slices, including ERCOT in one call.
- Row-level detail records and exact quantity or FUEL_COST cell evidence.
Represented Facts
EIA-923 Page 5 reports individual fossil-fuel receipts by plant and month, including raw physical quantity and delivered fuel cost in cents per MMBtu. Confidential or otherwise unpublished costs remain explicit missing values; they are never zero-filled, imputed, or converted into heat rates or $/MWh.Withheld EIA fuel-cost cells are explicit nulls with the raw marker preserved.
Data Point Contract
- Data point:
power.fuel_cost - Product spec:
blocks/power_fuel_cost/card.md - Grain:
fuel_receipt_row - Source basis:
energy.eia.eia923_receipts_cost - Represented fact: EIA-923 Page 5 reports individual fossil-fuel receipts by plant and month, including raw physical quantity and delivered fuel cost in cents per MMBtu. Confidential or otherwise unpublished costs remain explicit missing values; they are never zero-filled, imputed, or converted into heat rates or $/MWh.
Does not answer:
heat rate, efficiency, generation cost, marginal cost, or dollars per MWhimputed or estimated fuel cost for withheld receipt rowsnormalized supplier identity or corporate matchingwholesale electricity pricesfuel consumption or net generation (use power.generation)
REST Surface
GET /v1/healthGET /v1/capabilitiesGET /v1/power/fuel-cost/schemaPOST /v1/power/fuel-cost/queryPOST /v1/evidence/source-row
MCP Surface
list_capabilities_v1describe_power_fuel_cost_v1query_power_fuel_cost_v1get_source_evidence_v1
Local MCP Setup
Some MCP clients launch servers from the user's home directory or ignore a configured cwd. Use uv run --directory so the server always starts from the repository project.
{
"command": "uv",
"args": [
"run",
"--directory",
"/absolute/path/to/OSINT",
"python",
"-m",
"core.mcp_server"
]
}
Leave EXASCALE_PARQUET_BASE / EXASCALE_RAW_BASE unset: the one server hosts every data point's tools, and with no override it resolves each block's promoted snapshots and raw archive from the repository layout. Setting either env var points ALL tools at one directory — a per-block path breaks every other block's tools. They exist only for single-source sandboxes and tests.
Request Schema
Filters:
as_ofdata_montheia_plant_idstatebalancing_authority_codeenergy_source_codefuel_group_rawpurchase_typesupplierfuel_cost_statusis_withheld
Group by:
data_montheia_plant_idstatebalancing_authority_codeenergy_source_codefuel_group_rawpurchase_typesupplierfuel_cost_statusis_withheld
Date range parameters:
data_month_fromdata_month_to
Controls:
include_recordsinclude_evidencelimitorder_bytop_norder
Ranking (how order_by / top_n / order join — order_by ranks groups by a metric, never a group_by dimension; top_n needs both a group_by and an order_by):
{
"no_ranking": "Omit order_by and top_n to return all groups in group-key order.",
"order": {
"default": "desc",
"valid_values": [
"desc",
"asc"
]
},
"order_by": {
"accepts": "one of output.metrics",
"note": "Ranks the groups by a metric (a measure). Not a group_by dimension \u2014 rows already come back grouped by each group_by field.",
"requires": [
"group_by"
],
"valid_values": [
"quantity",
"delivered_fuel_cost_cents_per_mmbtu",
"source_record_count",
"reported_cost_count",
"withheld_cost_count"
]
},
"top_n": {
"note": "Keeps the top N groups by order_by; the rest fold into one (other) remainder (additive metrics sum into it, non-additive ones are nulled) so the result still reconciles to summary.totals.",
"requires": [
"group_by",
"order_by"
],
"type": "positive integer"
}
}
Output Schema
Aggregate metrics:
quantitydelivered_fuel_cost_cents_per_mmbtusource_record_countreported_cost_countwithheld_cost_count
Metric groups:
{
"fuel_receipt": [
"quantity",
"delivered_fuel_cost_cents_per_mmbtu"
],
"records": [
"source_record_count",
"reported_cost_count",
"withheld_cost_count"
]
}
Response summary fields:
group_counttotals
Accepted fact policy:
- Query responses contain accepted, gate-passed facts only.
- Gate, monitor, and audit quality signals are internal controls, not agent-facing answer caveats.
- If a source snapshot is not fit to serve, the source must fail closed before it reaches this API.
Metric metadata:
| Metric | Category | Unit | Aggregation | Additive Across Groups | Authoritative Total | Definition |
|---|---|---|---|---|---|---|
quantity |
fuel_receipt | source physical unit | single receipt value only | false | summary.totals.quantity |
EIA-923 receipt quantity in the physical unit implied by the fuel code. |
delivered_fuel_cost_cents_per_mmbtu |
fuel_receipt | cents/MMBtu | single receipt value only | false | summary.totals.delivered_fuel_cost_cents_per_mmbtu |
EIA-923 delivered fuel cost in cents per MMBtu for one receipt row. |
source_record_count |
records | count | count source records | true | summary.totals.source_record_count |
Count of EIA-923 Page 5 receipt rows in scope. |
reported_cost_count |
records | count | conditional count | true | summary.totals.reported_cost_count |
Count of receipt rows with a numeric FUEL_COST cell. |
withheld_cost_count |
records | count | conditional count | true | summary.totals.withheld_cost_count |
Count of unregulated receipt rows whose FUEL_COST cell is EIA's '.' marker. |
Rollup rules:
summary.totals.<metric>is the authoritative total for the full matched query.- Grouped row metrics may be summed only when
additive_across_groupsistrue. - Do not sum grouped values for these non-additive metrics:
quantity,delivered_fuel_cost_cents_per_mmbtu.
Detail record fields returned when include_records is true:
source_idsheet_namereport_perioddata_monthsource_record_keysource_row_numbereia_plant_idplant_namestatebalancing_authority_codeoperator_idoperator_namepurchase_typeenergy_source_codefuel_group_rawsupplierquantityquantity_unitdelivered_fuel_cost_cents_per_mmbtufuel_cost_rawfuel_cost_unitfuel_cost_statusis_withheldregulated_statusas_ofraw_file_sha256citation
Row-level citation fields:
source_idsource_urlsource_filesheetsource_rowsource_colraw_file_sha256as_of
Aggregate citation fields:
source_idpublishersource_urlsource_fileraw_file_sha256as_ofsource_rows_countsource_rows_sampleverifylineage_filter
Codebooks
| Field | Coverage | Codes | Examples | Note |
|---|---|---|---|---|
The complete machine-readable codebooks are included in capability-schema.json.
Checked Examples
| Agent question | Request params | Checked output |
|---|---|---|
| What receipt quantity and delivered fuel cost did plant 26 report? | {"data_month": "2026-01-01", "eia_plant_id": 26} |
plant-fuel-receipt.json |
| Which January receipt rows are in the Texas ERCOT slice? | {"balancing_authority_code": "ERCO", "data_month": "2026-01-01", "state": "TX"} |
ercot-fuel-receipts.json |
| Which receipt costs are explicitly withheld? | {"is_withheld": true} |
withheld-fuel-costs.json |
| Return one fuel receipt with an exact cost-cell citation. | {"data_month": "2026-01-01", "eia_plant_id": 26, "limit": 1} |
fuel-cost-detail-with-citation.json |
| Verify the raw workbook row behind a returned citation | citations[ref].verify (aggregate) or records[0].citation (detail) |
source-row-evidence.json |
| Dogfood the tool sequence as an agent | list -> describe -> query -> evidence |
agent-dogfood-transcript.json |
The checked schema output is capability-schema.json.
Agent Workflow
- Call
list_capabilities_v1and selectpower.fuel_cost. - Call
describe_power_fuel_cost_v1to inspect valid filters, groupings, metrics, and citation fields. - Call
query_power_fuel_cost_v1with bounded JSON params. - If the answer needs proof, pass a returned row-level
citationobject toget_source_evidence_v1. - Answer with the resolved
as_ofand relevant citations. Present returned metrics as authoritative for their declared source, snapshot, grain, and aggregation.