Developers and agents
CleanPigeon API and MCP server
Everything an office manager can do in the dashboard, an agent can do by API: quote a site, start its plan, read visits and photo proof, request a re-clean, and export the service record.
/api/v1/openapi.json
https://www.cleanpigeon.com/mcp
A map of the site for models
Authentication
Quoting and the plan list need no key and are rate-limited. Everything else uses an account API key, created at Account, API keys and sent as Authorization: Bearer sw_live_.... A key acts as its account and can reach only that account's sites.
Operations
| Tool | REST | Key | What it does |
|---|---|---|---|
| quote | POST /api/v1/quote | no | Price recurring cleaning for a site from its ZIP, square feet, rooms and visits per week. Returns the itemised scope with sources, or a coverage or catalogue gap. |
| list_plans | GET /api/v1/plans | no | Plans and deep-clean prices on sale, read live from configuration. |
| create_plan | POST /api/v1/plans | yes | Create a site from a priced estimate and start its monthly plan. Returns a Stripe Checkout URL, or adds the site to an existing subscription when a card is on file. |
| list_visits | GET /api/v1/sites/{siteId}/visits | yes | Upcoming or past visits for a site. |
| get_visit_proof | GET /api/v1/visits/{visitId}/proof | yes | Times, checklist, review verdict and signed photo URLs for a visit. |
| request_reclean | POST /api/v1/sites/{siteId}/reclean | yes | Request a re-clean of a completed visit within the re-clean window. |
| get_service_record | GET /api/v1/sites/{siteId}/record | yes | Every visit, proof count, rating and credit for a site. |
The MCP server offers all of these except list_plans, under the same names.
Quote a site
curl -X POST https://www.cleanpigeon.com/api/v1/quote \
-H 'content-type: application/json' \
-d '{"zip":"78701","sqft":3000,"openPlanSqft":1500,"rooms":{"private_office":4,"restroom":3},"visitsPerWeek":3}'The response is a stored estimate with an estimateId. If the ZIP has no insured vendor the result is a coverage_gap, never an invented price. Pass the estimateId to create_plan to buy.
Connect an MCP client
{
"mcpServers": {
"cleanpigeon": {
"type": "http",
"url": "https://www.cleanpigeon.com/mcp",
"headers": { "Authorization": "Bearer sw_live_..." }
}
}
}The server speaks Streamable HTTP with JSON responses. It supports protocol 2026-07-28 (stateless, server/discover) and the earlier initialize handshake revisions.
Errors
Every error is { "error": { "code", "message", "field"? } } with one of: invalid_input, invalid_request, unauthorized, forbidden, not_found, conflict, rate_limited, billing_unavailable, internal.