HeatPump MCP Server: Residential Sizing & Cost Estimator
Estimate residential heat-pump sizing and costs with HeatPumpHQ's MCP server for fast, accurate home system recommendations and budget planning.
npx -y @jiweiqi/heatpump-mcp-serverOverview
HeatPump MCP Server is a developer-focused service that provides fast, reproducible residential heat-pump sizing and cost estimates. It implements a Model Context Protocol (MCP) server model designed to accept building and climate inputs, run deterministic sizing/cost logic, and return structured, machine-readable recommendations suitable for integration with web apps, quoting tools, or LLM-based assistants.
The server is intended for engineers, HVAC integrators, and software teams who need programmatic access to home-system recommendations—covering heat-pump capacity selection, estimated installation costs, and breakdowns by equipment and labor. By exposing a lightweight API and well-documented JSON schemas, HeatPump MCP Server makes it straightforward to embed conservative, auditable estimates into pipelines and UIs.
Features
- Programmatic sizing engine for residential heat-pump systems
- Cost estimation with equipment, labor, and optional incentives
- JSON input/output suitable for LLMs, automation, and dashboards
- OpenAPI / schema-driven endpoints for easy integration
- Local development with Docker and quick start scripts
- Test harness and sample datasets for validation
- Configurable climate and pricing models for regional tuning
Installation / Configuration
Clone the repository, create a Python virtual environment, and install dependencies. The example below assumes a typical Python/FastAPI stack and uses uvicorn to run the server locally.
# Clone repository
# Create and activate virtual environment (macOS/Linux)
# Install dependencies
# Run the server locally
Environment variables (examples; adapt to your deployment):
# Example environment variables
Docker quickstart:
# Build and run with Docker
Available Tools / Resources
- OpenAPI (Swagger) UI: /docs (auto-generated API documentation)
- Example input JSON files: /examples/
- Sample climate zones and price tables: /data/
- Unit and integration tests: /tests/
- Dockerfile and deployment manifests: /deploy/
- GitHub source and issue tracker: https://github.com/jiweiqi/heatpump-mcp-server
API Primer
Common endpoints (typical names; consult OpenAPI for exact paths):
- GET /health — server health check
- POST /estimate — get sizing and cost recommendation
- POST /batch-estimate — batch processing for multiple homes
- GET /pricing-models — list available pricing/climate models
Example request to /estimate:
POST /estimate
Content-Type: application/json
{
"address": "123 Main St",
"climate_zone": "4A",
"floor_area_sqft": 1800,
"num_bedrooms": 3,
"insulation_level": "moderate",
"existing_system": "electric_furnace",
"preferences": {
"max_budget": 15000,
"noise_preference": "low"
}
}
Example response:
Input and output follow JSON schemas in /schemas/ to facilitate validation and integration.
Use Cases
HVAC Contractor Quoting
- A contractor integrates /estimate into their quoting app. Sales staff fill a simple form (address, sq.ft., insulation), call the API, and receive a recommended heat-pump capacity and line-item cost estimate to present to customers.
Homebuyer Planning
- A residential energy advisor or homebuyer tool uses the server to compare upgrade scenarios (replace existing electric furnace vs. heat-pump retrofit). The tool performs batch requests for multiple homes in a neighborhood to estimate program budget needs.
Utility Program Analysis
- A utility running an incentive program uses the batch-estimate endpoint to process CSV exports of customer homes and generate total expected incentives, equipment demand, and installation capacity requirements.
LLM-enabled Assistant
- Integrate the MCP server with an LLM workflow to provide grounded, auditable numerical recommendations that the assistant can cite when advising users about system size and cost.
Tips for Developers
- Validate inputs against the provided JSON schemas before calling /estimate to ensure deterministic behavior.
- Use the provided pricing models and climate data for baseline estimates; override with regional cost tables for more accuracy.
- Run unit tests in /tests/ when updating sizing logic to avoid regressions.
- Check /docs (OpenAPI) to discover any optional flags (e.g., conservative sizing, expedited install) that affect outputs.
For full source, issues, and contribution guidelines, see the GitHub repository: https://github.com/jiweiqi/heatpump-mcp-server.