Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Home Assistant

MCP server by foreverworks Verified · foreverworks.com

Read your Home Assistant's states, areas and history, and run its actions, approving locks first.

  • Score 84
  • 6 stars
  • 359 a week
  • MIT
  • Updated

Install Home Assistant

Built from the published package, never by AI.

claude mcp add home-assistant -e HOME_ASSISTANT_URL=YOUR_HOME_ASSISTANT_URL -e HOME_ASSISTANT_TOKEN_FILE=YOUR_HOME_ASSISTANT_TOKEN_FILE -- npx -y @foreverworks/mcp-home-assistant

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Home Assistant in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the home-assistant block.

What you need

SettingNeededWhat it is
HOME_ASSISTANT_URLEnvironment variableRequiredThe address you open Home Assistant at, such as http://homeassistant.local:8123.
HOME_ASSISTANT_TOKEN_FILEEnvironment variableRequiredPath of a file holding a long-lived access token made in an administrator's Home Assistant profile.
HOME_ASSISTANT_CONFIRM_DOMAINSEnvironment variableOptionalAction domains you approve call by call, comma-separated (default lock,alarm_control_panel,cover,valve; none for none).

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Alternatives to Home Assistant

All alternatives →

Compare with Medplum, mcp-server or Microsoft Fabric MCP Server

Home Assistant: common questions

How do I install Home Assistant?

In Claude Code run claude mcp add home-assistant -e HOME_ASSISTANT_URL=YOUR_HOME_ASSISTANT_URL -e HOME_ASSISTANT_TOKEN_FILE=YOUR_HOME_ASSISTANT_TOKEN_FILE -- npx -y @foreverworks/mcp-home-assistant. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Home Assistant the official server?

Home Assistant is published by foreverworks.com from its verified domain in the official MCP Registry.

Is Home Assistant free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Home Assistant safe to use?

It scores 84 of 100. Grades: maintenance A, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.

What are alternatives to Home Assistant?

Similar MCP servers: Medplum, mcp-server, Microsoft Fabric MCP Server, Template MCP Server.

Does Home Assistant work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Home Assistant Install

Add to stack

Loading.