Hass MCP
HASS-MCP is an MCP server developed in Go language that exposes the functions of the Home Assistant smart home system to AI assistants, supporting AI clients such as Claude and Cursor to control and manage smart home devices via the Model Context Protocol.
2.5 points
6.4K

What is HASS-MCP?

HASS-MCP is a smart home control server that acts as a bridge between AI assistants (e.g., Claude, Cursor, ChatGPT, etc.) and your Home Assistant smart home system. With this tool, you can directly converse with the AI assistant in natural language to control smart devices in your home, such as lights, air conditioners, and curtains, without manually operating the mobile app or physical switches.

How to use HASS-MCP?

Using HASS-MCP is very simple: 1) Create a long-term access token in your Home Assistant; 2) Configure the HASS-MCP server to connect to your Home Assistant; 3) Configure the MCP server in your preferred AI assistant (e.g., Claude Desktop); 4) Start controlling your smart home in natural language.

Use Cases

HASS-MCP is particularly suitable for the following scenarios: - Voice control of smart home devices: Control home devices via voice using an AI assistant - Automation scenario setup: Let the AI help you create complex automation rules - Remote monitoring: Check the status of home devices via an AI assistant when you're away - Smart home management: Let the AI help you manage and maintain the smart home system

Main Features

Device Control
Supports various device control methods such as switching, adjusting, and toggling, and can control all devices supported by Home Assistant, including lights, air conditioners, and curtains.
Device Status Query
Query the status of any smart device in your home in real-time, including on/off status, temperature, humidity, battery level, and other information.
Service Call
Supports calling all services of Home Assistant, including advanced functions such as automation, scripts, and scenes.
System Monitoring
Provides an overall overview of the smart home system, including device statistics, error log viewing, and automation status monitoring.
History Record
View the historical changes of device status to help analyze device usage patterns and identify problems.
Multiple Connection Methods
Supports local stdio connection and remote HTTP connection, allowing you to use it on your local computer or access it remotely via the Internet.
Secure Access
Supports OAuth 2.1 authentication and JWT token verification to ensure the security of remote access.
Advantages
Natural language interaction: Control your smart home through conversations without learning complex instructions
Cross-platform support: Compatible with various AI assistants such as Claude, Cursor, and VS Code
Comprehensive functionality: Covers most core functions of Home Assistant
Flexible deployment: Supports both local and cloud deployment
Secure and reliable: Provides enterprise-level security authentication mechanisms
Open source and free: Based on the Apache 2.0 license and completely free to use
Limitations
Requires technical knowledge: Initial configuration requires some technical knowledge
Depends on Home Assistant: A Home Assistant system must be already installed
Network requirements: Stable network connection is required for remote access
AI assistant compatibility: The AI assistant must support the MCP protocol

How to Use

Get a Home Assistant Access Token
Log in to your Home Assistant system and create a long-term access token in your personal profile settings.
Install the HASS-MCP Server
Choose a suitable method to install the HASS-MCP server.
Configure the Server
Create a configuration file and set the Home Assistant connection information.
Configure the AI Client
Add the MCP server configuration to the AI assistant you are using.
Start Using
Restart the AI assistant and start controlling your smart home in natural language.

Usage Examples

Daily Home Control
In the morning when you wake up, let the AI assistant help you open the curtains, adjust the lights, and prepare coffee.
Away-from-Home Scenario Setup
When you're leaving home, turn off all unnecessary electrical appliances with one click and activate the security mode.
Device Status Check
Check the status of home devices remotely to ensure everything is normal.
Automation Rule Creation
Let the AI help you create complex automation rules.
Energy Consumption Analysis
Analyze the energy consumption of your smart home.

Frequently Asked Questions

Do I need programming knowledge to use HASS-MCP?
Which AI assistants does HASS-MCP support?
Is remote access secure?
Will HASS-MCP automatically reconnect if the Home Assistant server restarts?
Can I control multiple Home Assistant instances simultaneously?
Will HASS-MCP affect the performance of Home Assistant?
How to update HASS-MCP to the latest version?
How to get help if I encounter problems?

Related Resources

Official GitHub Repository
Get the latest source code, report issues, and view updates.
Model Context Protocol Official Website
Learn about the technical specifications and standards of the MCP protocol.
Home Assistant Official Documentation
Learn about the installation, configuration, and use of Home Assistant.
Docker Hub Image
Get the Docker image and view the image description.
Home Assistant Community Forum
Exchange experiences and skills with other smart home enthusiasts.
Configuration Example Files
View configuration file examples for various deployment scenarios.

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "home-assistant": {
      "command": "/path/to/hass-mcp",
      "args": ["--config", "/path/to/config-stdio.yaml"],
      "env": {
        "HA_URL": "http://homeassistant.local:8123",
        "HA_TOKEN": "your-token-here"
      }
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

V
Vestige
Vestige is an AI memory engine based on cognitive science. By implementing 29 neuroscience modules such as prediction error gating, FSRS - 6 spaced repetition, and memory dreaming, it provides long - term memory capabilities for AI. It includes a 3D visualization dashboard and 21 MCP tools, runs completely locally, and does not require the cloud.
Rust
4.9K
4.5 points
M
Moltbrain
MoltBrain is a long-term memory layer plugin designed for OpenClaw, MoltBook, and Claude Code, capable of automatically learning and recalling project context, providing intelligent search, observation recording, analysis statistics, and persistent storage functions.
TypeScript
5.5K
4.5 points
B
Bm.md
A feature-rich Markdown typesetting tool that supports multiple style themes and platform adaptation, providing real-time editing preview, image export, and API integration capabilities
TypeScript
3.9K
5 points
S
Security Detections MCP
Security Detections MCP is a server based on the Model Context Protocol that allows LLMs to query a unified security detection rule database covering Sigma, Splunk ESCU, Elastic, and KQL formats. The latest version 3.0 is upgraded to an autonomous detection engineering platform that can automatically extract TTPs from threat intelligence, analyze coverage gaps, generate SIEM-native format detection rules, run tests, and verify. The project includes over 71 tools, 11 pre-built workflow prompts, and a knowledge graph system, supporting multiple SIEM platforms.
TypeScript
6.3K
4 points
P
Paperbanana
Python
7.5K
5 points
B
Better Icons
An MCP server and CLI tool that provides search and retrieval of over 200,000 icons, supports more than 150 icon libraries, and helps AI assistants and developers quickly obtain and use icons.
TypeScript
6.1K
4.5 points
A
Assistant Ui
assistant - ui is an open - source TypeScript/React library for quickly building production - grade AI chat interfaces, providing composable UI components, streaming responses, accessibility, etc., and supporting multiple AI backends and models.
TypeScript
7.6K
5 points
A
Apify MCP Server
The Apify MCP Server is a tool based on the Model Context Protocol (MCP) that allows AI assistants to extract data from websites such as social media, search engines, and e-commerce through thousands of ready-to-use crawlers, scrapers, and automation tools (Apify Actors). It supports OAuth and Skyfire proxy payment and can be integrated into MCP clients such as Claude and VS Code through HTTPS endpoints or local stdio.
TypeScript
7.4K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
24.7K
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
34.6K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
72.6K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
20.5K
4.5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
63.8K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
31.5K
5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
21.1K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
49.5K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase