yayoboy/Claude-Desktop-HA
If you are the rightful owner of Claude-Desktop-HA and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
This document provides a comprehensive overview of the Home Assistant MCP Server for Claude Desktop, detailing its features, tools, resources, and usage instructions.
Home Assistant MCP Server for Claude Desktop
MCP (Model Context Protocol) server to integrate Home Assistant with Claude Desktop. Monitor sensors, statistics, and history of your smart home directly from Claude.
Features
- 6+ Reading Tools - Entity states, entity lists, search, statistics, history
- Drag & drop installation - Drag the
.mcpbfile into Claude Desktop - Advanced statistics - Trends, aggregations, historical analysis
- Multiple versions - Base (ready), Pro (36+ tools), Ultimate (190+ planned tools)
Requirements
- Claude Desktop installed
- Home Assistant running and accessible
- Home Assistant Long-Lived Access Token
- Node.js 18+ (only for manual installation)
Quick Installation
1. Get Home Assistant Token
- Open Home Assistant
- Go to Profile (icon at bottom left)
- Scroll to Long-Lived Access Tokens
- Click Create Token and name it "Claude MCP"
- Copy the token (you won't see it again!)
2. Install the Bundle
- Open Claude Desktop
- Drag
homeassistant-mcp-1.0.0.mcpbinto the window - Enter your Home Assistant URL:
http://homeassistant.local:8123 - Paste the token
- Done!
3. Verify
Ask Claude:
"Show me all my Home Assistant sensors"
Available Versions
Base v1.0 - Ready to use
File: homeassistant-mcp-1.0.0.mcpb
- 6 reading tools
- Read-only (safe)
- Drag & drop installation
- Production ready
Included tools:
| Tool | Description |
|---|---|
ha_get_state | Get current entity state |
ha_list_entities | List entities with filter |
ha_search_entities | Search by pattern |
ha_get_statistics | Aggregated statistics |
ha_get_history | Complete history |
ha_get_sensor_summary | Summary with trends |
Pro v2.0 - Full control
File: homeassistant-mcp-pro-2.0.0.mcpb
- 36+ tools (read + write)
- Device control
- Advanced analytics with ML
- Charts and CSV/PDF export
- Specialized beehive monitoring
- Requires compilation (
npm run build)
Ultimate v3.0 - Complete suite
File: homeassistant-mcp-ultimate-3.0.0.mcpb
- 190+ planned tools
- Scene management
- Alert system with ML
- Energy optimizer
- 10 advanced categories
- Active development
Usage Examples
"What's the temperature in the bedroom?"
"Show hive weight statistics for the last week"
"List all temperature sensors"
"Search entities with 'humidity' in the name"
"Give me the last 24 hours history for sensor.power"
Time Syntax
24h ago- last 24 hours7d ago- last week30d ago- last month
Domain Filters
"List all switches"
"Show lights that are on"
"Find binary sensors"
Manual Installation
If drag & drop doesn't work:
# Extract the bundle
unzip homeassistant-mcp-1.0.0.mcpb -d homeassistant-mcp
cd homeassistant-mcp
npm install
Configure ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"homeassistant": {
"command": "node",
"args": ["/path/to/homeassistant-mcp/dist/index.js"],
"env": {
"HA_URL": "http://homeassistant.local:8123",
"HA_TOKEN": "your_token"
}
}
}
}
Restart Claude Desktop.
Documentation
QUICK_START.md- Quick start guide in 1 minuteINSTALLATION.md- Detailed installation guideDOCUMENTATION.md- Complete documentationCHANGELOG.md- Version historyHomeAssistant-MCP-Docs.zip- Full documentation archive
Troubleshooting
Claude doesn't see the server
- Restart Claude Desktop completely
- Check in Settings > Developer > MCP Servers
- Verify URL and Token
Connection error
Verify that Home Assistant is reachable:
curl -H "Authorization: Bearer YOUR_TOKEN" \
http://homeassistant.local:8123/api/states
Invalid token
- Go to Home Assistant > Profile
- Create a new token
- Update the configuration
- Restart Claude Desktop
Security
- Read-Only (Base v1.0): The server can only read data
- Dedicated token: Use a separate token for this MCP
- Revocable: You can revoke the token at any time
- Local: No data sent to external servers
Project Structure
Claude-Desktop-HA/
├── homeassistant-mcp-1.0.0.mcpb # Base bundle (ready)
├── homeassistant-mcp-pro-2.0.0.mcpb # Pro bundle
├── homeassistant-mcp-ultimate-3.0.0.mcpb # Ultimate bundle
├── HomeAssistant-MCP-Docs.zip # Documentation
├── QUICK_START.md # Quick start
├── INSTALLATION.md # Installation guide
├── DOCUMENTATION.md # Complete docs
├── CHANGELOG.md # Versions
└── README.md # This file
Compatibility
- Home Assistant: 2024.x+
- Claude Desktop: Latest
- Node.js: 18+
- MCP SDK: 1.0.4+
Roadmap
- WebSocket real-time updates
- Embedded HTML dashboard
- Voice commands
- TensorFlow.js ML predictions
- MQTT/Zigbee support
Contributing
- Test Base v1.0
- Complete missing tools in Pro v2.0
- Implement new categories in Ultimate v3.0
- Improve documentation
- Report bugs and suggest features
License
MIT License - See LICENSE for details.
Created for Home Assistant integration with Claude Desktop.