// Agent profile
homeassistant-ai/ha-mcp is an open-source Model Context Protocol server that bridges AI coding agents to Home Assistant, the leading open-source home automation platform. It exposes Home Assistant entities — lights, switches, sensors, climate controls, media players, locks, covers, and automations — as MCP tools that any MCP-compatible agent (Claude Code, Cursor, Codex, Gemini CLI) can call directly. The server connects to a running Home Assistant instance via its REST API and WebSocket API, translating natural-language-style tool calls into HA service calls. Trending at +640 stars/day as of November 2026, it is the fastest-growing smart home integration in the agent ecosystem.
HA-MCP gives AI coding agents a direct line to Home Assistant. Instead of writing REST API calls or YAML automations by hand, an agent calls MCP tools like turn_on_light, set_thermostat, get_sensor_state, or trigger_automation — and the MCP server translates those into the correct Home Assistant service calls. The server runs as a standalone process alongside any MCP-compatible agent harness, authenticating to Home Assistant via a long-lived access token.
The project fills a gap that has been widening since MCP adoption accelerated in mid-2026: smart home control was one of the most-requested MCP integrations on GitHub Discussions and the Home Assistant Community Forum, but no official or well-maintained server existed. homeassistant-ai/ha-mcp is the first to reach meaningful traction, trending at +640 stars/day.
Entity control tools: The MCP server exposes typed tools for each Home Assistant domain — light.turn_on, switch.toggle, climate.set_temperature, media_player.play_media, lock.lock, cover.open_cover. Each tool accepts the entity ID and domain-specific parameters (brightness, color temperature, target temperature, media URL).
Sensor queries: Agents can read the current state of any Home Assistant entity — temperature sensors, humidity sensors, power meters, motion detectors, door/window contact sensors. The response includes the state value, unit of measurement, and last-changed timestamp.
Automation and scene control: Agents can trigger Home Assistant automations and scripts by their entity ID or friendly name, and activate scenes that control multiple devices at once. This lets agents compose complex home control sequences without knowing the underlying device details.
Discovery: The list_entities tool returns all available Home Assistant entities with their friendly names, domains, and current states, so agents can explore what is controllable without prior configuration.
Voice-free smart home control from the terminal: Developers working in Claude Code or Cursor can adjust lighting, temperature, or music without leaving the IDE — “dim the office lights to 40%” becomes a tool call.
Agent-driven home automation: Agents can build and trigger complex automations — “when I start a focus session, dim the lights, set DND, and start the white noise machine” — by composing multiple HA-MCP tool calls.
Sensor monitoring in development workflows: Agents can check home sensor data as part of broader workflows — reading power consumption, checking if doors are locked before leaving, or monitoring air quality.
Requires a running Home Assistant instance with a long-lived access token. The MCP server connects over the local network by default; remote access requires Home Assistant Cloud (Nabu Casa) or a reverse proxy. Entity IDs in Home Assistant can be opaque (sensor.living_room_temperature_2) — the discovery tool helps, but agents work best when entities have clear friendly names. The project is early-stage and moving fast; breaking changes between versions are possible.
Opinionated bundle of agent personas — pre-built role templates for engineering, marketing, ops, and research teams that ship as drop-in markdown files.
AI-powered job search system built on Claude Code — 14 skill modes that evaluate listings against your CV, generate ATS-optimized resumes, and track your pipeline in a Go dashboard.
OpenAI's flagship AI assistant capable of conversation, analysis, coding, writing, and multimodal reasoning across text and images.