rail_accidents

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/rail_accidents for the schema, then POST the same URL with its arguments for the data.

US train accidents and derailments reported to the Federal Railroad Administration (FRA Form 54, 1975-present).

Parameters

NameTypeRequiredDescription
yearnumbernoCalendar year of the accident (1975-present), e.g. 2023.
statestringnoUS state as a two-letter code or full name, e.g. “OH” or “Ohio”.
railroadstringnoReporting railroad: a reporting-mark code (“UP”, “BNSF”, “CSX”, “NS”, “ATK”) or part of its name (“Norfolk Southern”).
cause_codestringnoFRA accident cause code or its prefix: “H702” exactly, or “T” for all track causes, “H” human factors, “E” equipment, “S” signal, “M” miscellaneous.
accident_typestringnoAccident type text, matched as a substring: “Derailment”, “Head on collision”, “Rear end collision”, “Side collision”, “Raking collision”, “Hwy-rail crossing”, “Obstruction”, “Fire/violent rupture”, “Other impacts”.
min_damage_usdnumbernoOnly accidents with total reported damage at or above this amount in US dollars.
limitnumbernoMax reports to return (default 25, max 200).

Example call

Arguments

{
  "year": 2023,
  "state": "OH",
  "railroad": "NS",
  "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":"rail_accidents","arguments":{"year":2023,"state":"OH","railroad":"NS","limit":5}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('rail_accidents', {
  "year": 2023,
  "state": "OH",
  "railroad": "NS",
  "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.

Regenerated from source · build November 28, 2026