Repository avatar
Other Tools
v1.0.0
active

rocketbids-earthwork

io.github.JackDarip/rocketbids-earthwork

Earthwork balance and haul: import or export, shrink/swell, truckloads, truck-hours and haul cost.

Documentation

RocketBids AI Earthwork Balance + Haul (MCP server)

An MCP server that answers the questions every sitework estimator runs on a napkin: does this site import or export dirt, how many truckloads is that, and what will the haul cost?

Give it cut in bank cubic yards and fill in compacted cubic yards. It returns:

  • bank yards needed to make the fill after shrink
  • import or export volume (or "balanced" within 1%)
  • loose yards and tons hauled, including stripped topsoil
  • truckloads by volume and by weight, and which one governs
  • cycle time, truck-hours, loads per truck per day and trucks needed to finish in a target number of days
  • haul cost and cost per bank yard when you give a truck rate

Every result lists the assumptions it used so you can check them against the geotech report and your own trucks.

No plans, no surfaces. The tool does not read PDFs, CAD or LandXML. Quantities come from you. Results are planning estimates.

Prefer a web page? The same math runs in the browser at the free balance and haul calculator.

Use it

Hosted endpoint (no account, no API key, read-only):

https://mcp.rocketbidsai.com/mcp
  • ChatGPT: search the plugin directory for RocketBids AI.
  • Claude: Settings → Connectors → Add custom connector → paste the URL above.
  • Any MCP client that supports streamable HTTP:
{
  "mcpServers": {
    "rocketbids-earthwork": {
      "type": "streamable-http",
      "url": "https://mcp.rocketbidsai.com/mcp"
    }
  }
}

Then ask in plain words:

Cut 12,000 bank CY, fill 8,500 compacted. Do we import or export?

How many tandem dump loads to haul off 3,000 bank yards?

25 minute round trip at $120 an hour. What does the export cost?

The tool: earthwork_balance_haul

InputUnitDefault
cut_bank_cybank CYrequired
fill_compacted_cycompacted CYrequired
strip_cy, strip_exportbank CY, true/false0, true
shrink_pct, swell_pct% (native soil)15, 25
import_shrink_pct, import_swell_pct% (borrow)same as native
bank_unit_weight_lb_per_cylb per bank CY3,000
trucktandem_dump, end_dump, belly_dump, customtandem_dump
truck_loose_cy, truck_payload_tonsloose CY, tonsper truck type
round_trip_minutes or one_way_miles + avg_mphmin, mi, mphnone, 30 mph
load_dump_minutesmin per cycle10
truck_hourly_rate$ per truck-hournone
hours_per_day, haul_dayshours, days10, none

Truck presets are starting points, not legal limits: tandem 12 CY / 14 t, semi end dump 20 CY / 24 t, belly dump 22 CY / 25 t. Legal payload depends on axles, permits and your state's bridge formula, so override them.

The math

bank CY needed for fill = compacted fill / (1 - shrink)
export (bank CY)        = cut - bank CY needed for fill          (when positive)
import (bank CY)        = (fill - cut x (1 - shrink)) / (1 - borrow shrink)
loose CY hauled         = bank CY x (1 + swell)
tons hauled             = bank CY x unit weight / 2,000
loads                   = max( ceil(loose CY / truck CY), ceil(tons / payload) )
cycle minutes           = round trip + load/dump time
truck-hours             = loads x cycle / 60

Example: 12,000 bank CY of cut against 8,500 compacted CY of fill at 15% shrink. The fill needs 8,500 / 0.85 = 10,000 bank CY, so the site exports 2,000 bank CY. At 25% swell that is 2,500 loose CY, or 209 tandem loads by volume. At 3,000 lb per bank yard it is also 3,000 tons, or 215 loads at 14 tons each, so weight governs: 215 loads.

Glama

RocketBids AI Earthwork MCP server

The server is listed on Glama. There you can browse its tool, check its quality score, and test it online with the MCP Inspector before you install anything.

Run it yourself

Node 22.6 or later.

npm install
npm test     # engine unit tests
npm start    # serves http://localhost:8787/mcp

src/engine.ts is pure functions with no I/O, so you can import it into anything. src/widget.html is the result card shown in ChatGPT and other MCP Apps hosts.

About

Built by RocketBids AI, estimating software for heavy civil, sitework and underground utility contractors. Questions or a wrong number: rocketbidsai.com/support.

MIT licensed.

No installation packages available.