CleanQuote ← Back to the tool

BUILD NOTE · MCP & NICHE TOOLS · 2026

An MCP server for cleaning quotes

CleanQuote is a small free tool that prices residential cleaning jobs. This is the note on why it now exposes a Model Context Protocol endpoint — and what that actually buys a niche business tool in 2026.

The starting point: a formula that had to be explainable

Every cleaning quote in the tool comes from three lines of arithmetic:

hours = max(1, round((baseHours + bedrooms × 0.25 + bathrooms × 0.35) × multiplier, 0.5))
cost = max(minimumFee, hours × hourlyRate)
price = cost ÷ (1 − margin) + add-ons

That is the whole product. It is deterministic, it has no hidden inputs, and every number traces back to something the business owner typed. Once that was true, exposing it as an API cost almost nothing: the browser tool and the API call the same logic.

Why bother with MCP

Three reasons, in order of honesty:

  1. Discoverability compounding. llms.txt, an OpenAPI spec, and an MCP endpoint are cheap artifacts that make a niche tool legible to whatever clients show up next. The cost is a few hours; the option value is several years.
  2. Explainability as a feature. The tool returns the formula alongside the price. An assistant calling it can answer "why $275?" instead of reading out a number. That property is what makes a calculator trustworthy in the first place — it just becomes visible when an agent is the caller.
  3. It is a writing prompt. Being early in a niche is worth one honest post. This is that post.
What it does not do. It does not bring customers today. Independent cleaners find tools through search and word of mouth, not by asking an AI to price a job. Building agent infrastructure for this audience is deliberate low-cost positioning, not demand.

The implementation, briefly

The server is a single Cloudflare Pages Function — no separate service, no database, no auth layer:

DecisionChoiceWhy
TransportStreamable HTTPWorks from any MCP client without session bookkeeping
ProtocolJSON-RPC 2.0, MCP 2025-06-18Current revision; notifications return 202
Toolscalculate_quote, analyze_quote_history, get_addon_catalogThe catalog tool exists so callers stop misspelling add-ons; the history tool accepts records the user pastes in, so analysis needs no server-side storage
StateNoneInputs are never stored; only a daily call counter
Return shapecontent[].text + structuredContentReadable by a model, parseable by a client

Calling it

curl -s -X POST https://getcleanq.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize",
       "params":{"protocolVersion":"2025-06-18","capabilities":{},
                 "clientInfo":{"name":"curl","version":"1"}}}'

Stop here if you only want to know it works — the API documentation and discovery file cover the rest.

The awkward part: history lives in the browser

Quote history is stored in the user's own browser (IndexedDB). The server has no access to it, by design — that is the whole privacy premise. So "let an agent analyze my quotes" cannot mean "let the agent read my account."

The workaround keeps the promise intact:

  1. The user clicks Export JSON in the History drawer.
  2. They hand that file to the assistant.
  3. The assistant passes the records as the quotes argument to analyze_quote_history.

The tool returns counts, revenue, average and median ticket, breakdowns by service type and month, and revenue per tracked hour — then states plainly that nothing was stored. Stateless analysis is less convenient than a dashboard and it is the only version that survives contact with the privacy promise.

What I would tell another niche-tool builder

Honest status

As of this writing the server handles a handful of test calls and no real agent traffic. That is the expected result for a two-week-old niche tool. The point of shipping it now is that the marginal cost was near zero, and the alternative — retrofitting an API onto a UI-bound calculation after demand appears — is the expensive path.

Try the calculator, human or machine

Free browser tool with a saved price book, or call the API directly. No account either way.

Open the quote tool →