jiweiqi/heatpump-mcp-server
If you are the rightful owner of heatpump-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The HeatPumpHQ MCP Server is a Model Context Protocol server designed to provide professional heat pump sizing, cost analysis, and performance verification through natural conversation with Claude.
quick_sizer
Calculate BTU requirements based on ZIP code, square footage, and build year.
bill_estimator
Perform cost analysis and ROI calculations using home details, heat pump model, and current fuel type.
cold_climate_check
Evaluate cold weather performance based on location, equipment model, and backup heating requirements.
project_cost_estimator
Provide a detailed installation cost breakdown considering site complexity and regional factors.
๐ HeatPumpHQ MCP Server
An MCP (Model Context Protocol) server that brings professional heat pump sizing, cost analysis, and performance verification directly to Claude. Get instant heat pump calculations, cost estimates, and cold-climate suitability analysis through natural conversation.
๐ NEW: Zero-Setup Hosted Version Available! Most users should use our hosted MCP server at
https://mcp.wattsavy.com/mcp
- no Python installation required!
๐ Quick Start
No installation required! Connect directly to our hosted MCP server:
For Claude Desktop:
- Add to Claude Desktop config:
{ "mcpServers": { "heatpump": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-fetch", "https://mcp.wattsavy.com/mcp"] } } }
For Claude Code:
-
Run the following command to install the MCP server:
claude mcp add --transport http heatpump https://mcp.wattsavy.com/mcp
-
Start calculating immediately! Ask Claude:
"Help me size a heat pump for my 2000 sq ft home in Boston"
๐ ๏ธ What You Can Do
๐ Quick Sizing
Get instant BTU requirements and equipment recommendations:
- Accounts for climate zone, home age, and square footage
- Returns specific heat pump models with efficiency ratings
- Considers single-zone and multi-zone configurations
๐ฐ Cost & Savings Analysis
Calculate 10-year cost projections and payback periods:
- Compare heat pump vs. current heating (gas, oil, electric)
- Real electricity rates and regional cost factors
- Monthly breakdown with seasonal variations
โ๏ธ Cold Climate Performance
Verify heat pump viability in harsh winters:
- Capacity curves at design temperatures
- Backup heat requirements and recommendations
- Performance analysis down to -15ยฐF and below
๐ง Installation Cost Estimation
Get comprehensive project cost breakdowns:
- Regional labor rates and permit costs
- Complexity assessment (ductwork, electrical, etc.)
- Rebate and incentive information
๐ Why Use This MCP Server?
โ Zero Setup Benefits
- No Python installation - Works immediately with any Claude Desktop setup
- No dependency management - No need to install packages or manage environments
- Auto-updated - Always uses the latest features and fixes
- High reliability - 99.9% uptime with professional hosting
- Better performance - Dedicated server infrastructure
๐ Prerequisites
- Claude Desktop or Claude Code - That's it! No other requirements.
๐๏ธ Architecture Overview
This project provides two MCP server implementations:
-
๐ HTTP Server (
server_http.py
) - For hosted/remote access- Deployed at:
https://mcp.wattsavy.com/mcp
- Protocol: HTTP POST + Server-Sent Events (SSE)
- Use case: Zero-setup remote access via
@modelcontextprotocol/server-fetch
- Deployed at:
-
๐ป FastMCP Server (
server.py
) - For local installation- Protocol: JSON-RPC over stdio
- Use case: Local development, offline access, customization
โ Verify Installation
Test the connection by asking Claude: "What tools are available for heat pump calculations?"
โ๏ธ Configuration
Configuration File Locations
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
๐ฏ Usage Examples
Ask Claude natural questions like:
Sizing Questions
- "What size heat pump do I need for a 1800 sq ft ranch built in 1995 in Denver?"
- "Help me size equipment for a 3-story home in climate zone 6A"
Cost Analysis
- "Compare the 10-year costs of keeping my gas furnace vs switching to a Mitsubishi heat pump"
- "What's the payback period for heat pump conversion in my area?"
Cold Climate Suitability
- "Will heat pumps work in Minnesota winters for my 2500 sq ft home?"
- "At what temperature would I need backup heat with a Daikin cold-climate unit?"
Installation Planning
- "Estimate total installation costs including electrical upgrades and permits"
- "What factors affect heat pump installation complexity?"
๐งช Testing
Verify everything is working:
# Full test suite (recommended)
uv run python test_e2e.py --env production
# Basic functionality test
uv run python test_server.py
# Test specific environments
uv run python test_e2e.py --env local # Local development
uv run python test_e2e.py --env production # Production API
๐๏ธ API Reference
Tools Available
Tool | Purpose | Key Parameters |
---|---|---|
quick_sizer | Calculate BTU requirements | ZIP code, sq ft, build year |
bill_estimator | Cost analysis & ROI | Home details, heat pump model, current fuel |
cold_climate_check | Cold weather performance | Location, equipment model, backup heating |
project_cost_estimator | Installation cost breakdown | Site complexity, regional factors |
Resources Available
Resource | Purpose |
---|---|
heatpump://api-status | Real-time backend health check |
heatpump://endpoints | List of available calculation tools |
๐ง Development & Local Installation
For developers who want to modify the server or need offline access:
Local Installation
# Clone and set up
git clone https://github.com/jiweiqi/heatpump-mcp-server.git
cd heatpump-mcp-server
uv sync # or pip install -r requirements.txt
# Test the installation
uv run python test_e2e.py --env production
Local Configuration
For Claude Desktop:
{
"mcpServers": {
"heatpump": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/heatpump-mcp-server",
"run",
"python",
"server.py"
],
"env": {
"ENV_MODE": "production"
}
}
}
}
For Claude Code:
claude mcp add --transport stdio heatpump "uv --directory /absolute/path/to/heatpump-mcp-server run python server.py"
Environment Configuration
# Copy example configuration
cp .env.example .env
# For local development (optional)
# Edit .env to point to your local backend
HEATPUMP_API_URL=http://localhost:8000
Prerequisites for Local Installation
- Python 3.8+
- uv (recommended) or pip package manager
- Claude Desktop or Claude Code
Project Structure
heatpump-mcp-server/
โโโ server.py # FastMCP server (local/stdio)
โโโ server_http.py # HTTP+SSE server (hosted)
โโโ test_e2e.py # Comprehensive test suite
โโโ test_server.py # Basic functionality tests
โโโ run_tests.sh # Test runner script
โโโ Dockerfile # Docker container config
โโโ requirements.txt # Python dependencies
โโโ pyproject.toml # Python project config
โโโ uv.lock # UV lock file
โโโ LICENSE # MIT license
โโโ README.md # This documentation
Contributing
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature
- Make your changes and add tests
- Run the test suite:
./run_tests.sh
- Commit:
git commit -m 'Add amazing feature'
- Push:
git push origin feature/amazing-feature
- Open a pull request
๐ License
MIT License - see the file for details.
๐ข About WattSavy
This MCP server is powered by the WattSavy heat pump calculation engine, providing:
- โ Real data: 40,000+ ZIP codes, TMY3 weather data, actual equipment models
- โ Accurate calculations: Manual J-compliant load calculations
- โ Current pricing: Real-time electricity rates via EIA API
- โ Professional tools: Used by HVAC contractors and homeowners
๐ Support
- ๐ Documentation: This README and inline code comments
- ๐ Issues: GitHub Issues
- ๐ฌ Questions: Create a discussion on GitHub
- ๐ Website: WattSavy.com
๐ Changelog
v0.3.0 (Current)
- ๐ NEW: Hosted MCP Server at
https://mcp.wattsavy.com/mcp
- โ Zero-setup option - No Python or local installation required
- โ Auto-updating - Always uses latest features and bug fixes
- โ High reliability - Professional hosting with 99.9% uptime
- โ Better performance - Dedicated server infrastructure
- โ Updated README - Hosted version now the recommended default
- โ Automatic publishing - GitHub Actions auto-publishes on changes
v0.2.0
- โ Updated for WattSavy production API (api.wattsavy.com)
- โ Comprehensive E2E test suite with 100% pass rate
- โ Environment-specific configurations (production/local)
- โ Enhanced error handling and validation
- โ Real-time API status monitoring
- โ Updated parameter validation for all endpoints
v0.1.0
- Initial release with core calculation tools
- Basic Claude Desktop integration
Made with โค๏ธ for the heat pump community