Developer hub

No key · fair-use limits · CC BY 4.0

Build with the construction calculator engine

The 1,257 calculators, 84 job takeoffs, planners and drawing tools this site runs, for your program or your AI assistant: a remote MCP server, an npm package, a JSON API that computes, static data files and WebMCP in the browser. The same answers as the pages, in metric and US units, with their sources.

  • 67Engine tools
  • 1,257Calculators
  • 3,820Test vectors
  • 1.9.0Engine version
  • npmcraftquantities-engine 1.9.0
  • MCPStreamable HTTP · stdio
  • Registrycom.craftquantities/engine
  • Authnone

Four ways in

Pick the one that matches where your code runs. All four reach the same calculators, return quantities only, and never a price or a size. Each has a page of its own with the full setup.

For everyone: use it in Claude or ChatGPT. No code: add the connector from the assistant’s own directory and ask.

  • For AI assistants

    Remote MCP server

    Connect any MCP client by URL. No sign-in, no key; every calculator, takeoff and planner as a tool.

    Claude Code
    claude mcp add --transport http craftquantities https://api.craftquantities.com/mcp
    How it works
  • On your machine

    npm package

    The same engine as a local MCP server over stdio. Nothing leaves the computer it runs on.

    Run it
    npx -y craftquantities-engine
    How it works
  • For programs

    JSON API

    Static files for every calculator's inputs, units and test vectors, and an executable API that computes.

    First request
    curl -s "https://api.craftquantities.com/v1/calculate/concrete-calculator?slabLength=3%20m&slabWidth=3%20m&slabThickness=10%20cm&detail=summary"
    How it works
  • In the browser

    WebMCP

    Pages register their own tools for the browser's assistant, and withdraw them when the page is left.

    Check for it
    "modelContext" in document
    How it works

From a terminal or a script: the command line, which runs every calculator and takeoff offline and links each answer back to its page.

New in engine 1.9.0

Tools this version added or made richer, each through every door. Their inputs, answers and examples are on the MCP server page.

  • write_scope_of_work POST /v1/scope-of-work
    The scope of work My Project writes, in three parts
  • make_share_link POST /v1/share-link
    A whole project in one link, with no account and no prices
  • open_share_link POST /v1/share-link/open
    A project, plan or sketch link read back
  • sketch_room POST /v1/sketch-room
    A room drawn as corners, measured in both systems
  • get_formula POST /v1/formula
    The formula library, worked on your own values
  • get_guide POST /v1/guide
    The how-to guides and the calculators each one uses
  • estimate_hours POST /v1/hours
    Hours with each rate's confidence grade and source card

Which one to use

The doors differ in where the arithmetic happens and what crosses the network, not in the answers: a calculator gives the same figure through every one of them, because it is the same code.

Where each way in runs, what it sends and what it suits
DoorWhere it runsNetworkWhat you getSuits
Remote MCP serverCloudflare's networkEvery request travels to api.craftquantities.comTyped tools, resources and promptsClaude, IDE agents and any client that takes a URL
npm packageYour own computer, Node 20.12 or newerNone: the process answers on stdioThe same tools as the remote serverOffline work, locked-down networks, pinned versions
JSON APICloudflare's network, or the static filesA plain GET from any originAnswers as JSON or Markdown; data files with every input and vectorYour own app, a spreadsheet, a build step
WebMCPThe reader's browser, on this site's pagesNone beyond the page itselfTools that read or change the page the reader has openAn assistant built into the browser

Try it live

One real call to the engine: the concrete calculator, with your sizes. Change them and run it again; the request beside the answer is exactly what was sent. Nothing is sent until you press the button, and then only the three sizes.

calculate · concrete-calculator

A size carries its unit: “10 ft”, “3.5 m”, “4 in”. Try either system.

The request
curl -s "https://api.craftquantities.com/v1/calculate/concrete-calculator?slabLength=3+m&slabWidth=3+m&slabThickness=10+cm&detail=summary"

The answer appears here: both unit systems, as the calculator’s page prints it.

OpenAPI, llms.txt and Markdown twins

  • OpenAPI

    The executable API described for code generators and agent frameworks; each trade's calculators also as typed operations.

    OpenAPI
    https://api.craftquantities.com/openapi.json
    https://craftquantities.com/openapi/index.json
  • llms.txt

    The site's map for language models: what it is, what each section holds, and where the machine-readable files are.

    llms.txt
    curl -s https://craftquantities.com/llms.txt
  • Markdown twins

    A page's Markdown twin is at its own address plus index.md, in the same language and with the same content. The engine answers in Markdown too.

    Markdown twins
    curl -s https://craftquantities.com/guides/how-to-build-a-deck/index.md
    curl -s -H "Accept: text/markdown" "https://api.craftquantities.com/v1/calculate/concrete-calculator"

Static files: https://craftquantities.com/api/v1/index.json · API catalogue: api.craftquantities.com/.well-known/api-catalog

What every door shares

  • Quantities, never prices. The site publishes no price. Money appears only where the caller supplies a rate of their own.
  • Counted, not designed. No answer sizes a beam, a cable or a footing, or certifies anything against a code. Every result says so, and says to check it with the building department or an engineer.
  • Both unit systems, with the sources. Each answer is in metric and US customary, names the calculator’s version and the standards it cites, and links to its page.
  • Free to use, with credit. No key, no account and no charge; the answers are CC BY 4.0, so credit Craft Quantities where you show them.

Before relying on a figure, read how the maths is checked and the methodology papers.