mcpField
H
housecallpro-mcp

housecallpro-mcp

Local
github.com/chrischallBusiness & Marketing0Updated today

About housecallpro-mcp

housecallpro-mcp is an MCP server for Housecall Pro customers to read estimates and invoices through contractor-provided links. It is for consumers, not contractors managing a Housecall Pro business, and gates estimate declines behind confirmation.

Key features

  1. 01Read estimate items, tax, and status
  2. 02Inspect invoice amounts, balance, and payment status
  3. 03View contractor contact details and arrival window
  4. 04Configure and select multiple document links
  5. 05Preview and confirm estimate declines

Use cases

  1. 01Review line-by-line contractor estimates
  2. 02Check invoice balances and payment status
  3. 03Compare multiple estimates or invoices
  4. 04Decline an estimate option after confirmation

MCP support

The MCP server exposes tools to read Housecall Pro customer-portal estimates, invoices, and contractor details, plus a confirmation-gated estimate-decline action.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"chrischall-housecallpro": {
"command": "npx",
"args": [
"-y",
"@chrischall/housecallpro-mcp"
],
"env": {
"HOUSECALLPRO_LINK": "<HOUSECALLPRO_LINK>",
"HOUSECALLPRO_LINKS": "<HOUSECALLPRO_LINKS>",
"HOUSECALLPRO_LINK_LABEL": "<HOUSECALLPRO_LINK_LABEL>"
}
}
}
}
Run commandnpx -y @chrischall/housecallpro-mcp
Environment variables to set
HOUSECALLPRO_LINKSecretEstimate or invoice link your contractor sent you.
HOUSECALLPRO_LINKSSecretA JSON array of customer links for several documents at once. Use HOUSECALLPRO_LINK instead for a single estimate/invoice link.
HOUSECALLPRO_LINK_LABELLabel for the single link given by HOUSECALLPRO_LINK (defaults to "default").

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@chrischall/housecallpro-mcp1.2.4

Tools

7

Saved tool list · updated today

ParameterTypeRequiredDescription
linkstringNoThe Housecall Pro link your contractor sent you — paste it directly (pro.housecallpro.com/mobile_estimate/… or /mobile_invoice/…, or a client.housecallpro.com/estimates/… or /invoices/… URL), or the retrieval token from the end of it. Alternatively the label of a link configured in HOUSECALLPRO_LINKS. Omit only when exactly one link is configured.
viewenumNoResponse shape: "compact" (default) drops fields the response already carries elsewhere; "raw" returns the upstream payload unprojected. "compact" is the summary: line items, totals, tax, company and approval state, with every money field as both `*_cents` and `*_usd`. "raw" is the upstream document (~4.8 KB, mostly display flags and `{object, data}` wrappers) — its money is integer CENTS with no dollar sibling, so `total_amount: 34639` means $346.39.compact | raw

Details

From the project README

Housecall Pro MCP

CI npm license

A Model Context Protocol server that connects Claude to the customer side of Housecall Pro — the estimate or invoice link a contractor (HVAC, plumbing, electrical, cleaning) emails or texts you.

Warning

AI-developed project. This codebase was built and is actively maintained by Claude Code. No human has audited the implementation. Review all code and tool permissions before use.

This is the customer side, not the business side

Housecall Pro has two surfaces, and they share nothing:

Public APICustomer portal (this repo)
Hostapi.housecallpro.comapp.housecallpro.com
Servesthe business running on Housecall Prothat business's customers
Authan API key from the pro's accountthe link your contractor sent you
Docsdocs.housecallpro.comdocs/HOUSECALLPRO-API.md

If you run a business on Housecall Pro, you want the public API instead. This server is for being someone's customer.

What you can do

  • "What did my plumber quote me for the tankless flush?"
  • "What's on that estimate, line by line?"
  • "How much of that $346 is tax?"
  • "Am I still on the hook to respond to this?"
  • "Decline option 2."

Install

npx -y @chrischall/housecallpro-mcp

Configure it with the link your contractor sent you:

HOUSECALLPRO_LINK='https://pro.housecallpro.com/mobile_estimate/XXXXXXXXXX'

Estimate and invoice links both work, short or long form — pro.housecallpro.com/mobile_estimate/… and /mobile_invoice/…, or client.housecallpro.com/estimates/… and /invoices/…. For several documents:

HOUSECALLPRO_LINKS='[{"label":"tankless","url":"…"},{"label":"hvac","url":"…"}]'

Then every tool takes an optional link selector; with one configured you never need it.

Important

Your link is a bearer credential. Anyone holding it can read the document and, for an estimate, decline it. It is read from the environment, never logged, and never returned in a tool result — housecallpro_list_links reports labels only.

Confirmations

Declining asks you first. A client that can show a confirmation prompt (Claude Code) shows one. On a client that cannot (claude.ai, Claude Desktop) the first call declines nothing and returns a preview plus a confirmToken; only a repeat call with that token acts, and only if the estimate still matches what was previewed.

variabledefault
MCP_CONFIRM_MODEask-userWhat a write does on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop). ask-user: two steps — the first call does nothing and returns a preview plus a token, and the model must get your approval in chat before calling again with it. auto: the same two steps, but the model may use the token after reviewing the preview itself. refuse: writes are refused on such clients. A client that can show prompts (Claude Code) always gets the real prompt, unless MCP_CONFIRM_ELICITATION=off. An unrecognised value is treated as refuse.
MCP_CONFIRM_ELICITATIONonoff never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE behaviour. Set it for a client that says it can show prompts but never does (the write hangs — opencode 2.0.x). Any other value is treated as on, with a warning on stderr.
MCP_CONFIRM_TTL_SECONDS600How long a token stays valid.
MCP_CONFIRM_SECRETrandom per processSigning key; set it only if tokens must survive a server restart.

Tools

Tool
housecallpro_get_estimateLine items, totals, tax, company, approval state
housecallpro_get_invoiceAmount, subtotal, tax, balance due, payability
housecallpro_get_companyThe contractor: phone, email, website, arrival window
housecallpro_list_linksConfigured links, labels only
housecallpro_decline_estimateDecline options — asks you to confirm first
housecallpro_approve_estimateAlways refuses; explains why
housecallpro_healthcheckReachability + whether a link still resolves
Response shape (view)

housecallpro_get_estimate and housecallpro_get_invoice take view: 'compact' | 'raw', defaulting to compact — the fleet vocabulary from @chrischall/mcp-utils.

rungwhat you get
compact (default)the summary: line items, totals, tax, company, approval state — with money as both *_cents and *_usd
rawthe upstream document verbatim (~4.8 KB for an estimate), {object, data} wrappers and display flags included

There is deliberately no full rung. full means "every field this server understands, nothing dropped", and the fields this server understands are exactly the ones the summary names — so it would be compact under a second name, and everything past it is the upstream document, which is raw. A schema should never advertise a value that silently aliases another.

If the upstream shape drifts far enough that the projection loses its footing, the whole document is returned (with a warning on stderr) rather than an empty summary: an empty summary is indistinguishable from an estimate with nothing on it.

Estimates and invoices are different documents

They use different token shapes — 129 characters for an estimate, 32 for an invoice — and different endpoints. The client checks the shape and refuses a token pointed at the wrong tool before spending a request, rather than passing along an unexplained 404.

An invoice carries no line items and no tax field: a paid invoice renders as a summary in the portal and the API returns exactly that, so tax_usd is derived as total - subtotal. is_paid comes from the balance, not the status string.

Money is returned twice

The upstream API returns integer cents — the estimate the portal renders as $346.39 arrives as total_amount: 34639. Reporting that raw overstates every figure 100×, so each money field is emitted as both *_cents (verbatim) and *_usd (derived). tax.rate is a fraction (0.0825 = 8.25%) and is never scaled.

That pairing is what the projection is for, so it exists on compact only. view: 'raw' is the upstream document, and its money is integer cents with no dollar sibling — total_amount: 34639 is $346.39. The view parameter's own description says so at the call site.

Why you can't approve an estimate

housecallpro_approve_estimate always refuses, and that is deliberate.

Approval posts a response_token — a reCAPTCHA v3 token minted in-page for the action estimates_customer_approvals. No server-side client can produce one, and neither can a browser-bridge transport: the bridge issues fetch calls, it does not execute page JS. Declining carries no such token, which is why decline works and approve does not.

Rather than post a request that would be rejected — or worse, might not be, binding you to a quoted price — the tool refuses and tells you to approve in a browser.

Declining asks you to confirm first (see Confirmations): it reads the estimate, refuses ids that are not its options or are already decided, and shows exactly what would be sent before anything is posted. After a real decline it re-reads the estimate and reports the option's actual status, because a 2xx is not proof a write landed.

Without the MCP

skills/housecallpro does the same reads from a shell with plain curl and jq, for scripts or machines where the server isn't installed. No browser bridge is involved there either.

No browser bridge

Unlike much of this fleet, app.housecallpro.com is not bot-walled — a bare curl gets a 200. So this server talks to it directly over HTTPS, has no @fetchproxy/server dependency, needs no extension or signed-in tab, and hosts cleanly as a remote connector — with no secret to configure, since the link travels as a tool argument rather than an environment variable.

What isn't here

  • Payments and cards. Deliberately out of scope.
  • The account-level portal. Housecall Pro has an OTP/magic-link customer portal that spans every document from one contractor, which is a strictly better surface than per-document links. Standing it up needs a human to receive a one-time code, so it is the obvious next increment rather than part of this first cut.

Development

npm install
npm run build
npm test

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.