MCP Connector

Calculate Heat Pump Sizing and Costs

MCP server for residential heat pump sizing, cost estimation, and cold-climate performance checks, no API keys required.

Maintainer of this project? Claim this page to edit the listing.


91
Spark score
out of 100
Updated 9 months ago
Version 1.0.0
Models
universal

Add to Favorites

Why it matters

Automate residential heat pump sizing, cost estimation, and cold climate performance verification using built-in data for 81 models without requiring API keys.

Outcomes

What it gets done

01

Calculate single and multi-zone BTU load for homes.

02

Estimate energy costs and analyze 10-year payback periods.

03

Verify cold climate performance at design temperatures.

04

Access specifications for 81 heat pump models.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-heatpump | bash

Capabilities

Tools your agent gets

calculate_heat_pump_sizing

Calculate BTU for single zone accounting for humidity

calculate_multi_zone_sizing

Calculate load by floor for complex homes

estimate_energy_costs

Compare bills and analyze 10-year payback

check_cold_climate_performance

Check capacity at design temperature

get_electricity_rate

Get current electricity rates by ZIP code

list_heat_pump_models

View 81 heat pump models with specifications

Overview

HeatPump MCP Server

An MCP server for residential heat pump sizing, cost estimation, and cold-climate performance verification, with bundled data covering 81 heat pump models, state electricity rates, and climate-zone design temperatures, no API key required. Use when sizing a heat pump, comparing operating costs, or checking cold-climate suitability by ZIP code; not for commercial HVAC or full Manual J load calculations.

What it does

HeatPump MCP Server is an MCP server for residential heat pump sizing, cost estimation, and cold-climate performance verification, for use with Claude Desktop, Claude Code, Cursor, and other MCP clients. It works out of the box with bundled data - no API keys required - including 81 heat pump models from major manufacturers, 2024 state-average electricity rates for all US states, and TMY3 weather station data for climate zones.

When to use - and when NOT to

Use this when you need to size a heat pump for a home, compare its operating cost against an existing system, or verify a specific model's capacity holds up at a location's design temperature - by ZIP code, with real BTU/HSPF2/price specs rather than rules of thumb.

Not needed for commercial or industrial HVAC sizing, or for load calculations requiring a full Manual J analysis, which isn't yet supported.

Capabilities

Six tools: calculate_heat_pump_sizing (single-zone BTU sizing with humidity considerations), calculate_multi_zone_sizing (floor-by-floor load calculations for complex homes), estimate_energy_costs (bill comparison and 10-year payback analysis), check_cold_climate_performance (verifies capacity at design temperature), get_electricity_rate (fetches current rates by ZIP code), and list_heat_pump_models (browses the 81-model database). Three resources: design-temps/{zip_code} (climate data and design temperatures), heat-pump-models (full model database with BTU, HSPF2, and prices), and climate-zones (ASHRAE climate zone reference). Three guided-workflow prompts: size-heat-pump, analyze-costs, and verify-cold-climate. Sizing uses climate-zone-specific BTU/sqft coefficients based on building age and insulation; cost estimation uses monthly degree-day analysis with heat pump COP curves; cold-climate checks use manufacturer capacity curves with temperature derating.

How to install

No installation needed - runs directly via uvx. Add it to your MCP client's config, e.g. Claude Desktop's claude_desktop_config.json:

{
  "mcpServers": {
    "heatpump-calculator": {
      "command": "uvx",
      "args": ["--refresh", "--from", "git+https://github.com/subspace-lab/heatpump-mcp-server.git", "heatpump-mcp-server"]
    }
  }
}

The same configuration works for Claude Code (.claude/mcp.json), Cursor (Settings > MCP), and other MCP clients. For more accurate electricity rates, optionally set a free EIA API key as EIA_API_KEY in the client's env block or a .env file; without one, it falls back to bundled 2024 state-average rates. For development, clone the repo and run uv pip install -e ., or uv pip install -e ".[dev]" plus pytest/ruff check . for tests and linting. Built on FastMCP. The project is MIT-licensed.

Who it's for

Homeowners, HVAC contractors, and developers who want quick, data-backed residential heat pump sizing, cost comparisons, and cold-climate suitability checks through an AI assistant instead of manual lookup tables.

Source README

HeatPump MCP Server

A Model Context Protocol (MCP) server for residential heat pump sizing, cost estimation, and cold-climate performance verification. Use with AI assistants like Claude Desktop, Claude Code, Cursor, and other MCP clients.

Works out-of-the-box with bundled data - no API keys required!

Quick Start

1. No Installation Needed!

The server runs directly via uvx - no installation required. Your MCP client will handle this automatically.

2. Configure Your MCP Client

Choose your preferred AI assistant:

Claude Desktop (Anthropic)

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "heatpump-calculator": {
      "command": "uvx",
      "args": ["--refresh", "--from", "git+https://github.com/subspace-lab/heatpump-mcp-server.git", "heatpump-mcp-server"]
    }
  }
}

Restart Claude Desktop.

Claude Code (VS Code Extension)

Add to .claude/mcp.json in your workspace:

{
  "mcpServers": {
    "heatpump-calculator": {
      "command": "uvx",
      "args": ["--refresh", "--from", "git+https://github.com/subspace-lab/heatpump-mcp-server.git", "heatpump-mcp-server"]
    }
  }
}

Restart VS Code.

Cursor (AI Code Editor)

Add to Cursor's MCP settings (Settings > MCP):

{
  "mcpServers": {
    "heatpump-calculator": {
      "command": "uvx",
      "args": ["--refresh", "--from", "git+https://github.com/subspace-lab/heatpump-mcp-server.git", "heatpump-mcp-server"]
    }
  }
}

Restart Cursor.

Other MCP Clients

Any MCP-compatible client can use:

{
  "mcpServers": {
    "heatpump-calculator": {
      "command": "uvx",
      "args": ["--refresh", "--from", "git+https://github.com/subspace-lab/heatpump-mcp-server.git", "heatpump-mcp-server"]
    }
  }
}

3. Start Using

That's it! The server includes:

  • 81 heat pump models from major manufacturers
  • 2024 state-average electricity rates for all US states
  • TMY3 weather station data for climate zones

No API keys needed to get started.

Features

🔧 Tools (Calculators)

  • calculate_heat_pump_sizing: Single-zone BTU sizing with humidity considerations
  • calculate_multi_zone_sizing: Floor-by-floor load calculations for complex homes
  • estimate_energy_costs: Bill comparison and 10-year payback analysis
  • check_cold_climate_performance: Verify capacity at design temperature
  • get_electricity_rate: Fetch current electricity rates by ZIP code
  • list_heat_pump_models: Browse 81 heat pump models with specs

📚 Resources (Data Access)

  • design-temps/{zip_code}: Climate data and design temperatures
  • heat-pump-models: Complete model database with BTU, HSPF2, prices
  • climate-zones: ASHRAE climate zone reference

💡 Prompts (Guided Workflows)

  • size-heat-pump: Step-by-step sizing guidance
  • analyze-costs: Cost comparison workflow
  • verify-cold-climate: Cold climate suitability check

Example Interactions

Sizing a Heat Pump

User: I need help sizing a heat pump for my 2000 sq ft home built in 1995 in ZIP 02138.

AI: [Uses calculate_heat_pump_sizing tool]
Based on your location (Cambridge, MA - Climate Zone 5A) and home characteristics:
- Required BTU: 80,000 BTU
- Recommended range: 72,000 - 88,000 BTU
- Design temperature: 6°F
...

Cost Analysis

User: What would a Mitsubishi MXZ-3C30NA cost to operate vs my gas furnace?

AI: [Uses estimate_energy_costs tool]
Annual cost comparison:
- Heat pump: $1,850/year (using bundled state average rate)
- Gas furnace: $2,400/year
- Annual savings: $550
- Payback period: 8.2 years
...

Cold Climate Verification

User: Will a Fujitsu AOU24RLXFZ work in Minneapolis?

AI: [Uses check_cold_climate_performance tool]
Cold climate analysis:
- Design temp: -13°F
- Heat pump capacity at design: 18,000 BTU
- Your heating load: 75,000 BTU
- Coverage: 24% (Inadequate)
- Recommendation: You'll need substantial backup heat...

Advanced Configuration

Optional: Live Electricity Rate Data

For more accurate electricity rates, you can optionally provide an EIA API key:

  1. Get a free EIA API key: https://www.eia.gov/opendata/register.php

  2. Add to your MCP client config:

{
  "mcpServers": {
    "heatpump-calculator": {
      "command": "uvx",
      "args": ["--refresh", "--from", "git+https://github.com/subspace-lab/heatpump-mcp-server.git", "heatpump-mcp-server"],
      "env": {
        "EIA_API_KEY": "your_eia_api_key_here"
      }
    }
  }
}

Or create a .env file in your working directory:

# Optional: For live electricity rate lookups
EIA_API_KEY=your_eia_api_key_here

Note: Without an API key, the server uses 2024 state-average electricity rates, which are generally accurate for cost estimates.

Installation from Source

For Development or Customization

git clone https://github.com/subspace-lab/heatpump-mcp-server.git
cd heatpump-mcp-server
uv pip install -e .

For Local Installation (Advanced)

If you prefer to install the package locally instead of using uvx:

# Install from GitHub
uv pip install git+https://github.com/subspace-lab/heatpump-mcp-server.git

# Then configure your MCP client to use the local installation:
{
  "mcpServers": {
    "heatpump-calculator": {
      "command": "heatpump-mcp-server"
    }
  }
}

Note: Using uvx with --refresh is recommended for most users as it automatically updates to the latest version.

Architecture

Built on FastMCP for easy MCP server development.

Data Sources

  • Heat Pump Models: Bundled database of 81 models (Mitsubishi, Fujitsu, Daikin, LG, etc.)
  • Climate Data: TMY3 weather station database with design temperatures
  • Electricity Rates: Bundled 2024 state averages (EIA API optional for live data)

Calculation Methods

  • Sizing: Climate-zone specific BTU/sqft coefficients based on building age and insulation
  • Costs: Monthly degree-day analysis with heat pump COP curves
  • Cold Climate: Manufacturer capacity curves with temperature derating

Development

Setup Development Environment

# Clone repo
git clone https://github.com/subspace-lab/heatpump-mcp-server.git
cd heatpump-mcp-server

# Install with dev dependencies
uv pip install -e ".[dev]"

# Run tests
pytest

# Lint code
ruff check .

Project Structure

heatpump_mcp_server/
├── src/heatpump_mcp_server/
│   ├── server.py          # Main MCP server
│   ├── tools.py           # Calculator tools
│   ├── resources.py       # Data resources
│   ├── prompts.py         # Guided prompts
│   ├── config.py          # Configuration
│   ├── models/            # Pydantic models
│   └── services/          # Business logic
│       ├── quick_sizer_service.py
│       ├── bill_estimator_service.py
│       ├── cold_climate_service.py
│       └── ...
├── data/                  # Bundled data files
│   ├── hpmodels.json      # 81 heat pump models
│   └── eeweather_stations.json  # Weather data
├── tests/
├── pyproject.toml
└── README.md

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.