The Home Assistant MCP server allows AI agents to interact with Home Assistant via the REST API. It provides tools to control devices, manage automations, and query sensor data. It connects to Home Assistant instances and exposes endpoints for state management and service calls. Developers use it to build AI-driven home automation workflows and integrations.
The Home Assistant MCP server allows AI agents to interact with Home Assistant via the REST API. It provides tools to control devices, manage automations, and query sensor data. It connects to Home Assistant instances and exposes endpoints for state management and service calls. Developers use it to build AI-driven home automation workflows and integrations.
pip install ha-mcpAdd this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"homeassistant-ai-ha-mcp-github": {
"command": "uvx",
"args": [
"pip install ha-mcp"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from ha mcp?"
API Key Required
This server requires an API key from ha mcp. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| HA_MCP_API_KEY | Yes | Your ha mcp API key |
"What resources are available in ha mcp?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in ha mcp"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in ha mcp with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.