Home Assistant MCP
Connects coding agents to Home Assistant for live state, diagnostics, automations, dashboards, and controlled service calls.
Install Home Assistant MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"home-assistant-mcp-2": {
"command": "npx",
"args": [
"-y",
"@vortitron/home-assistant-mcp"
],
"env": {
"HA_ALLOW_WRITE": "YOUR_VALUE_HERE",
"HA_ALLOW_CONFIG_WRITE": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
We couldn’t confirm it starts correctly
The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.
npx -y @vortitron/home-assistant-mcpNo response to initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Inspect entity state and attributes before changing an automation
- Diagnose Home Assistant errors and failed automation runs
- Call services to control devices from a coding agent
- Render and test Jinja templates against live state
- Review dashboard views, camera frames, and energy configuration
Key features
- Live entity, device, area, and registry inspection
- Historical state, logbook, and structured log queries
- Jinja2 template rendering against current state
- Automation validation, editing, and trace inspection
- Service calls with returned service responses
- Dashboard, camera, media, and state-watch tools
Tools80
What Home Assistant MCP lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 15d ago via OSV.dev · @vortitron/home-assistant-mcp (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Home Assistant MCP works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Home Assistant MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/home-assistant-mcp-2)<a href="https://allmcps.com/mcp/home-assistant-mcp-2"><img src="https://allmcps.com/api/badge/home-assistant-mcp-2?style=directory" alt="Home Assistant MCP on AllMCPs" /></a>