API and MCP server for agents: material estimates
A batch workflow for tile and roofing material estimates, JSON in and JSON out, also available as a tool on a remote MCP server. Every result says what was assumed. Your inputs are not stored.
| Endpoint (POST) | What it does | MCP tool | Free tier |
|---|---|---|---|
/api/v1/materials/estimate | Turns tile and roofing measurements into material line items | estimate_materials | 50 jobs per request |
The fleet VIN audit and the product recall match run as Apify Actors: see below.
Full schemas: openapi.json (OpenAPI 3.1). Requests and responses are limited to 1 MB.
Material estimates
curl -s https://howmuchworks.com/api/v1/materials/estimate \
-H "Content-Type: application/json" \
-d '{"jobs": [
{"type": "tile", "id": "kitchen", "unit": "imperial", "length": 12, "width": 10,
"tileLength": 12, "tileWidth": 12, "tilesPerBox": 10},
{"type": "roofing", "id": "house", "unit": "imperial", "length": 40, "width": 30,
"overhang": 1, "pitch": 6}
]}'
For each job: the quantity with waste, the package size, the packages to buy and what is left over (the kitchen job: 130 tiles in 13 boxes, the house job: 51 bundles of shingles and 5 rolls of #15 felt). The math is the same as the site's tile calculator and roofing calculator.
| Field | tile | roofing |
|---|---|---|
unit (required) | imperial: room in ft, tile and grout in inches. metric: room in m, tile in cm, grout in mm | imperial: ft. metric: m |
length, width (required) | Floor length and width, or wall length and height | House footprint |
| Other required | tileLength, tileWidth (measured face), tilesPerBox | pitch (rise per 12) |
| Optional | groutJoint (0.125 in or 3 mm), wastePercent (10), openingsArea (0) | overhang (0), wastePercent (10), bundleCoverageSqft (32.8), underlayment: felt15 | felt30 | synthetic (felt15) |
| Not included | Grout, adhesive, trim, spacers | Ridge cap, starter strip, drip edge, flashing, nails |
MCP server
Server URL: https://howmuchworks.com/mcp (Streamable HTTP, no sign-in). Tool: estimate_materials, with the same input as the endpoint above. Results come back as structured content plus the same JSON as text.
Claude (web or desktop): open Settings, then Connectors, choose Add custom connector, and paste https://howmuchworks.com/mcp.
Claude Code:
claude mcp add --transport http howmuchworks https://howmuchworks.com/mcp
Raw JSON-RPC, for testing with curl:
curl -s https://howmuchworks.com/mcp \
-H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" \
-H "MCP-Protocol-Version: 2025-11-25" \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}'
curl -s https://howmuchworks.com/mcp \
-H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" \
-H "MCP-Protocol-Version: 2025-11-25" \
-d '{"jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": {"name": "estimate_materials",
"arguments": {"jobs": [{"type": "roofing", "unit": "imperial", "length": 40, "width": 30, "pitch": 6}]}}}'
The server is stateless and supports protocol versions 2026-07-28 (per-request metadata, server/discover) and 2025-11-25, 2025-06-18 and 2025-03-26 (with initialize). It answers with plain JSON, never opens a stream, and does not issue session IDs.
Fleet VIN audit and product recall match (Apify Actors)
Fleet VIN Audit: decodes US VINs (NHTSA vPIC), matches the EPA fuel economy rating, estimates annual fuel or electricity cost and lists model-level NHTSA recall campaigns. Fuel economy data: Courtesy of FuelEconomy.gov, U.S. Dept. of Energy.
CPSC Recall Match: screens product rows (UPC, brand, model, date code) against published U.S. CPSC recall notices. No published match is not proof of safety. Not affiliated with or endorsed by NHTSA, EPA, DOE or CPSC.
Both run on Apify, under Apify's terms and privacy policy.
Privacy
The measurements you send are processed in memory to answer the request. Nothing you send is stored or logged. For each call we record the time, the endpoint, the channel (direct or MCP), how many items were processed and the result status: no IP address, no cookie, no inputs. See the privacy page.
Results are estimates and screening aids for planning: check labels, official notices and your installer's or manufacturer's instructions before you buy or act.