crossing_incidents
Pack: fra-rail-safety · 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/crossing_incidents for the schema, then POST the same URL with its arguments for the data.
Highway-rail grade crossing collisions in the US — trains striking cars, trucks, pedestrians and cyclists at railroad crossings
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
state | string | no | US state as a two-letter code or full name, e.g. “TX” or “Texas”. |
county | string | no | County name, e.g. “Harris” (matched case-insensitively, “County” suffix optional). |
city | string | no | City name, matched as a substring, e.g. “Houston”. |
year | number | no | Calendar year of the incident (1975–present). |
railroad | string | no | Railroad reporting-mark code (“UP”, “BNSF”) or part of its name. |
crossing_id | string | no | USDOT grade crossing inventory number, e.g. “812329E”. |
highway_user | string | no | Road user type, matched as a substring: “Auto”, “Truck”, “Truck-trailer”, “Pick-up truck”, “Pedestrian”, “Bus”, “Motorcycle”, “Van”, “Other motor vehicle”. |
fatal_only | boolean | no | Only incidents with at least one person killed. |
limit | number | no | Max incidents to return (default 25, max 200). |
Example call
Arguments
{
"state": "TX",
"county": "Harris",
"year": 2024,
"limit": 5
}
curl
curl -X POST https://gateway.pipeworx.io/fra-rail-safety/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"crossing_incidents","arguments":{"state":"TX","county":"Harris","year":2024,"limit":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('crossing_incidents', {
"state": "TX",
"county": "Harris",
"year": 2024,
"limit": 5
});
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 fra-rail-safety pack
{
"mcpServers": {
"fra-rail-safety": {
"url": "https://gateway.pipeworx.io/fra-rail-safety/mcp"
}
}
}
See Getting Started for client-specific install steps.