Home Assistant MCP Server
An MCP server for Home Assistant that allows querying and controlling smart home devices with natural language, supporting multiple transport methods and secure authentication.
rating : 2.5 points
downloads : 16
What is Home Assistant MCP Server?
This is a server based on the Model Context Protocol (MCP) that allows you to control the Home Assistant smart home system with natural language through an AI assistant (such as Claude). It acts as a bridge between the AI and smart home devices.How to use Home Assistant MCP Server?
After installing the server, configure your Home Assistant connection information, and then send natural language instructions through a client compatible with the MCP protocol (such as Claude Desktop) to control your smart home devices.Use cases
It is especially useful when you want to control your smart home using a voice or chat interface, such as natural language instructions like 'Turn on the lights in the living room' or 'What's the indoor temperature today'.Main features
Natural language controlUse everyday language to query and control smart home devices without memorizing complex commands.
Multiple connection methodsSupports remote connection via HTTP/SSE and local process communication via standard input/output.
Demo modeBuilt-in simulated data function allows testing without a real Home Assistant.
Comprehensive control toolsProvides various functions such as device status query, service call, and history record.
Advantages and limitations
Advantages
No need to learn complex commands; control your smart home with natural language.
Compatible with multiple AI assistants, offering strong scalability.
Provides a secure authentication mechanism to protect your home network.
Supports offline testing and demonstration.
Limitations
Requires a long-lived access token for Home Assistant, posing certain security risks.
Natural language understanding depends on the accuracy of the AI assistant.
Initial configuration requires a certain technical foundation.
How to use
Install the server
Globally install the server program using the bun package manager.
Configure environment variables
Create a.env file and set the Home Assistant connection information.
Start the server
Choose an appropriate startup method according to your usage scenario.
Configure the AI client
Add the server configuration in a client compatible with MCP, such as Claude Desktop.
Usage examples
Query device statusInquire about the current status of sensors in your home.
Control smart lightsAdjust the brightness and color of the lights.
View historical dataObtain the status changes of a device over a period of time.
Frequently asked questions
How to obtain a long-lived access token for Home Assistant?
Which smart home devices does the server support?
How to ensure connection security?
Why isn't my command being executed correctly?
Related resources
Model Context Protocol official website
Learn detailed information about the MCP protocol.
Home Assistant official website
The official website of the smart home platform.
GitHub repository
Project source code and issue tracking.
Featured MCP Services

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
827
4.3 points

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
85
4.3 points

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
139
4.5 points

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
1.7K
5 points

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
6.7K
4.5 points

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#
562
5 points

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
281
4.5 points

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
751
4.8 points