Housecall Pro MCP

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 API | Customer portal (this repo) |
|---|
| Host | api.housecallpro.com | app.housecallpro.com |
| Serves | the business running on Housecall Pro | that business's customers |
| Auth | an API key from the pro's account | the link your contractor sent you |
| Docs | docs.housecallpro.com | docs/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.
| variable | default | |
|---|
MCP_CONFIRM_MODE | ask-user | What 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_ELICITATION | on | off 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_SECONDS | 600 | How long a token stays valid. |
MCP_CONFIRM_SECRET | random per process | Signing key; set it only if tokens must survive a server restart. |
Tools
| Tool | |
|---|
housecallpro_get_estimate | Line items, totals, tax, company, approval state |
housecallpro_get_invoice | Amount, subtotal, tax, balance due, payability |
housecallpro_get_company | The contractor: phone, email, website, arrival window |
housecallpro_list_links | Configured links, labels only |
housecallpro_decline_estimate | Decline options — asks you to confirm first |
housecallpro_approve_estimate | Always refuses; explains why |
housecallpro_healthcheck | Reachability + 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.