Docs API reference

AI Infrastructure Equipment Trade (chip-making tools) API v1

Generated from core.contract.describe_ai_infrastructure_equipment_trade_v1() and checked fixture-backed examples. Do not hand-edit the example JSON files.

Capability

What It Can Answer

Represented Facts

Data Point Contract

Does not answer:

REST Surface

MCP Surface

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:

Group by:

Date range parameters:

Controls:

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": [
      "general_value_usd",
      "consumption_value_usd",
      "source_record_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:

Metric groups:

{
  "consumption_value_usd": [
    "consumption_value_usd"
  ],
  "general_value_usd": [
    "general_value_usd"
  ],
  "records": [
    "source_record_count"
  ]
}

Response summary fields:

Accepted fact policy:

Metric metadata:

Metric Category Unit Aggregation Additive Across Groups Authoritative Total Definition
general_value_usd general_value_usd USD sum false summary.totals.general_value_usd The total customs value (USD) of GENERAL imports of HS-8486 semiconductor-manufacturing equipment for the country row in scope, exactly as the U.S. Census Bureau publishes it (GEN_VAL_MO).
consumption_value_usd consumption_value_usd USD sum false summary.totals.consumption_value_usd The total customs value (USD) of imports FOR CONSUMPTION of HS-8486 semiconductor-manufacturing equipment for the country row in scope, exactly as Census publishes it (CON_VAL_MO).
source_record_count records count count source records true summary.totals.source_record_count Count of normalized source records (commodity × country × month rows) contributing to the current result scope.

Rollup rules:

Detail record fields returned when include_records is true:

Row-level citation fields:

Aggregate citation fields:

Codebooks

Field Coverage Codes Examples Note
country_level every served row is exactly one level 3 total = All countries (the published U.S. total), grouping = A Census country grouping / continent (overlaps — never summed), country = An individual country of origin total = the all-countries TOTAL (CTY_CODE '-'); grouping = a Census bloc/continent (ASIA, APEC, EU, OECD, ASEAN, the 'XXX' continents) that OVERLAPS other rows; country = an individual country of origin. The groupings overlap each other and the countries — never sum across rows; the served TOTAL is the only national figure.
commodity HS-8486 at the HS4 heading 1 8486 = Machines for the manufacture of semiconductors / ICs / flat panel displays; parts HS-8486 is 'Machines and apparatus of a kind used solely or principally for the manufacture of semiconductor boules or wafers, semiconductor devices, electronic integrated circuits or flat panel displays; parts and accessories' — the chip-MAKING equipment, INCLUDING flat-panel-display machinery. It is NOT the chips (HS-8542) and carries no tool-type or vendor breakdown at this level.

The complete machine-readable codebooks are included in capability-schema.json.

Checked Examples

Agent question Request params Checked output
Which countries did the US import the most chip-making equipment (HS-8486) from in 2026-04? {"country_level": "country", "data_month": "2026-04-01", "group_by": ["country"], "order_by": "general_value_usd", "top_n": 5} equipment-imports-top-source-countries.json
What was the total monthly US value of semiconductor-equipment imports in early 2026? {"country_level": "total", "data_month_from": "2026-02-01", "data_month_to": "2026-04-01", "group_by": ["data_month"]} equipment-imports-national-total-monthly.json
How did US chip-equipment imports from the Netherlands trend in early 2026? {"country": "NETHERLANDS", "data_month_from": "2026-02-01", "data_month_to": "2026-04-01", "group_by": ["data_month"]} equipment-imports-netherlands-monthly.json
Return one Japan chip-equipment-import record with a row-level citation. {"country": "JAPAN", "data_month": "2026-04-01", "include_records": true, "limit": 1} equipment-imports-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

  1. Call list_capabilities_v1 and select ai_infrastructure.equipment_trade.
  2. Call describe_ai_infrastructure_equipment_trade_v1 to inspect valid filters, groupings, metrics, and citation fields.
  3. Call query_ai_infrastructure_equipment_trade_v1 with bounded JSON params.
  4. If the answer needs proof, pass a returned row-level citation object to get_source_evidence_v1.
  5. Answer with the resolved as_of and relevant citations. Present returned metrics as authoritative for their declared source, snapshot, grain, and aggregation.
Generated from the tested API contract. Compare with the live capability map ↗