# Build with the construction calculator engine

> Run 1,257 construction calculators from your code or an AI assistant: a remote MCP server, an npm package, a JSON API and WebMCP. Free, no key.

Page: https://craftquantities.com/developers/ (developer documentation). This is the page's Markdown copy; the HTML page is the canonical version.

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.

- 67 Engine tools
- 1,257 Calculators
- 3,820 Test vectors
- 1.9.0 Engine version

- npm craftquantities-engine 1.9.0
- MCP Streamable HTTP · stdio
- Registry com.craftquantities/engine
- Auth none

**On this page Four ways in**

## 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](https://craftquantities.com/ai/). 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](https://craftquantities.com/developers/mcp/)
- 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](https://craftquantities.com/developers/npm/)
- 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](https://craftquantities.com/api/)
- 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](https://craftquantities.com/developers/webmcp/)

[From a terminal or a script: the command line](https://craftquantities.com/developers/cli/), 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](https://craftquantities.com/developers/mcp/).

- `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**

| Door | Where it runs | Network | What you get | Suits |
|---|---|---|---|---|
| Remote MCP server | Cloudflare's network | Every request travels to api.craftquantities.com | Typed tools, resources and prompts | Claude, IDE agents and any client that takes a URL |
| npm package | Your own computer, Node 20.12 or newer | None: the process answers on stdio | The same tools as the remote server | Offline work, locked-down networks, pinned versions |
| JSON API | Cloudflare's network, or the static files | A plain GET from any origin | Answers as JSON or Markdown; data files with every input and vector | Your own app, a spreadsheet, a build step |
| WebMCP | The reader's browser, on this site's pages | None beyond the page itself | Tools that read or change the page the reader has open | An 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](https://craftquantities.com/api/v1/index.json) · API catalogue: [api.craftquantities.com/.well-known/api-catalog](https://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](https://craftquantities.com/validation/) and the [methodology papers](https://craftquantities.com/methodology/).

On this page

At a glance

**Engine tools**

67

**Calculators**

1,257

**Test vectors**

3,820

**Engine version**

1.9.0

Addresses

- MCP`api.craftquantities.com/mcp`
- REST`api.craftquantities.com/v1`
- Files`craftquantities.com/api/v1`
- OpenAPI [api.craftquantities.com/openapi.json](https://api.craftquantities.com/openapi.json)

Check before you build

- [How the maths is checked](https://craftquantities.com/validation/)
- [The vectors as a benchmark](https://craftquantities.com/benchmark/)
- [Service status](https://craftquantities.com/status/)
- [Embed a calculator instead](https://craftquantities.com/embeds/)

[Home](https://craftquantities.com/)

Developers

Developers & integrations

- [Overview and live call](https://craftquantities.com/developers/)
- [API reference](https://craftquantities.com/developers/api-reference/)
- [Static JSON API](https://craftquantities.com/api/)
- [Remote MCP server](https://craftquantities.com/developers/mcp/)
- [npm package](https://craftquantities.com/developers/npm/)
- [Command line](https://craftquantities.com/developers/cli/)
- [WebMCP in the browser](https://craftquantities.com/developers/webmcp/)
- [Claude and ChatGPT](https://craftquantities.com/ai/)
- [Embeds and WordPress](https://craftquantities.com/embeds/)
- [Browser extension](https://craftquantities.com/tools/browser-extension/)
- [Changelog](https://craftquantities.com/developers/changelog/)
- [Service status](https://craftquantities.com/status/)

On this page

- Four ways in
- New in this version
- Which one to use
- Try it live
- OpenAPI, llms.txt, Markdown
- What every door shares

---
Source: https://craftquantities.com/developers/
Craft Quantities: free to read, cite and link to; the pages are not licensed for republication. Quantities only: no prices, no design and no certification.
