Skip to main content
Glama
RocketBids AI Earthwork Balance + Haul

RocketBids AI Earthwork Balance + Haul

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?

Related MCP server: io.github.S-CurveLabs/longpath

The tool: earthwork_balance_haul

Input

Unit

Default

cut_bank_cy

bank CY

required

fill_compacted_cy

compacted CY

required

strip_cy, strip_export

bank CY, true/false

0, true

shrink_pct, swell_pct

% (native soil)

15, 25

import_shrink_pct, import_swell_pct

% (borrow)

same as native

bank_unit_weight_lb_per_cy

lb per bank CY

3,000

truck

tandem_dump, end_dump, belly_dump, custom

tandem_dump

truck_loose_cy, truck_payload_tons

loose CY, tons

per truck type

round_trip_minutes or one_way_miles + avg_mph

min, mi, mph

none, 30 mph

load_dump_minutes

min per cycle

10

truck_hourly_rate

$ per truck-hour

none

hours_per_day, haul_days

hours, days

10, 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.

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.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables construction teams to create local projects, record sourced field evidence, run deterministic quantity calculations, and draft daily logs, estimates, and change orders with visible assumptions and human approval gates. Keeps all data local and portable with no external side effects.
      10
      Apache 2.0
    • A
      license
      A
      quality
      C
      maintenance
      Enables assistants to read and analyze construction schedules like a scheduler: CPM, float, critical paths, DCMA 14-point, logic checks, update-to-update comparison, baseline variance, and S-curves from P6 XER and MS Project files.
      17
      29 PyPI
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      Runs 15 construction takeoff calculators — concrete, rebar, gravel, fill dirt, sand, topsoil, asphalt, lumber, roofing, fence, duct and paver base — directly from an MCP client, alongside a tool that lists them and a searchable table of source-cited estimating constants. Each call is computed by the bundled TakeoffMetric engine and returns structured quantities, order amounts, costs, warnings and assumptions.
      59 npm
      1
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables calculating U.S. DOL WH-347 certified payroll columns 5–9, fringe benefit 6B reconciliation, and PTO accrual balances from policy, hire-date, holiday, and request inputs.
      50 npm
      MIT