aadt_by_route
Pack: hpms-aadt · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/aadt_by_route for the schema, then POST the same URL with its arguments for the data.
US road traffic volume (AADT) for segments of a named route in one state, from FHWA HPMS. route is a case-insensitive PREFIX of the state’s route_id (state-specific free text, e.g. “I089” in Vermont, “IH0035” in Texas, “SHS_101” in California); use aadt_top_segments to see a state’s id style. A highway may carry several ids (e.g. IH0035-KG, IH0035-LG). Busiest segments first.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
route | string | yes | route_id prefix, e.g. “I089”, “IH0035”, “SHS_101”. |
county | number | no | Optional state-coded county_id (county FIPS code). |
min_aadt | number | no | Optional minimum AADT. |
Example call
Arguments
{
"state": "VT",
"route": "I089",
"limit": 5
}
curl
curl -X POST https://gateway.pipeworx.io/hpms-aadt/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"aadt_by_route","arguments":{"state":"VT","route":"I089","limit":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('aadt_by_route', {
"state": "VT",
"route": "I089",
"limit": 5
});
Response shape
| Field | Type | Description |
|---|---|---|
state | string | |
data_year | number | |
data_as_of | string | |
source | string | |
caveat | string | |
total_matching | number | |
returned | number | |
truncated | boolean | |
narrowing_hint | string | |
segments | array |
Full JSON Schema
{
"type": "object",
"properties": {
"state": {
"type": "string"
},
"data_year": {
"type": "number"
},
"data_as_of": {
"type": "string"
},
"source": {
"type": "string"
},
"caveat": {
"type": "string"
},
"total_matching": {
"type": "number"
},
"returned": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"narrowing_hint": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"route_id": {
"type": "string"
},
"f_system": {
"type": "number"
},
"aadt": {
"type": "number"
},
"aadt_single_unit": {
"type": "number"
},
"aadt_combination": {
"type": "number"
},
"county_id": {
"type": "number"
},
"begin_point": {
"type": "number"
},
"end_point": {
"type": "number"
},
"data_year": {
"type": "number"
},
"speed_limit": {
"type": "number"
},
"through_lanes": {
"type": "number"
},
"urban_id": {
"type": "number"
},
"ownership": {
"type": "number"
},
"f_system_name": {
"type": "string"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the hpms-aadt pack
{
"mcpServers": {
"hpms-aadt": {
"url": "https://gateway.pipeworx.io/hpms-aadt/mcp"
}
}
}
See Getting Started for client-specific install steps.