Home Assistant

v7.5.0Cloud Servicesstable

Comprehensive Model Context Protocol server for managing Home Assistant through AI assistants.

hamcpai-integration
Share:
3,028
Stars
0
Downloads
0
Weekly
0/5

What is Home Assistant?

Home Assistant is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to comprehensive model context protocol server for managing home assistant through ai assistants.

Comprehensive Model Context Protocol server for managing Home Assistant through AI assistants.

This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Comprehensive Model Context Protocol server for managing Hom

Use Cases

Control smart home devices through AI assistants.
Manage Home Assistant automations via natural language.
LicenseMIT
Languagepython
Versionv7.5.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

PIP

pip install ha-mcp

Manual Installation

pip install ha-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Home Assistant

The Home Assistant MCP Server provides comprehensive control of your Home Assistant smart home through Claude, enabling natural language commands to manage devices, automations, and system state. It allows you to query device status, trigger automations, and control your entire smart home ecosystem through conversational AI.

Prerequisites

  • Home Assistant installed and running
  • Home Assistant API token (long-lived access token)
  • Python 3.8+ installed
  • An MCP client such as Claude Desktop or Cursor
1

Install Home Assistant MCP Server

Install using pip: 'pip install ha-mcp' to enable Home Assistant control.

2

Generate API Token

In Home Assistant, go to your profile and create a long-lived access token. This token enables the MCP server to authenticate with your Home Assistant instance.

3

Configure Environment

Set the Home Assistant URL and API token as environment variables. Check the repository README for exact variable names (likely HA_URL and HA_TOKEN or similar).

4

Add to Claude Desktop Configuration

Configure the Home Assistant MCP server in your mcpServers with the required environment variables.

5

Test Device Control

Ask Claude to control a device in your Home Assistant setup. For example, 'Turn on the living room lights' to verify the connection works.

6

Use for Smart Home Automation

Ask Claude to manage your smart home. You can check device status, control devices, trigger automations, and query sensor data all through natural language.

Home Assistant Examples

Claude Desktop Configuration

Configure Home Assistant MCP server in mcpServers.

{
  "mcpServers": {
    "ha": {
      "command": "python",
      "args": ["-m", "ha_mcp"],
      "env": {
        "HA_URL": "http://localhost:8123",
        "HA_TOKEN": "your-long-lived-token-here"
      }
    }
  }
}

Prompts to Try

Control your smart home with Claude.

"Turn on all the lights in the living room"
"What's the current temperature in the bedroom?"
"Set the thermostat to 72 degrees"
"Trigger the 'Movie Time' automation scene"

Troubleshooting Home Assistant

Cannot authenticate with Home Assistant

Verify the API token is correct and has not expired. Confirm the Home Assistant URL is correct and accessible. Check that Home Assistant is running and you can access it through a web browser.

Device control commands failing

Verify the device exists in Home Assistant and is controllable. Check that the API token has sufficient permissions. Ensure the device is online and responding.

Status queries returning outdated information

Verify Home Assistant is updating device states correctly. Check network connectivity between the MCP server and Home Assistant. Ensure your automations are actually executing when triggered.

Frequently Asked Questions about Home Assistant

What is Home Assistant?

Home Assistant is a Model Context Protocol (MCP) server that comprehensive model context protocol server for managing home assistant through ai assistants. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Home Assistant?

Install via pip with: pip install ha-mcp. Then configure your AI client to connect to this MCP server.

Which AI clients work with Home Assistant?

Home Assistant works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Home Assistant free to use?

Yes, Home Assistant is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Cloud Services MCP Servers

Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "ha": { "command": "pip", "args": ["install", "ha-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Home Assistant?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides