mcp-server-home-assistant
A Model Context Protocol Server for Home Assistant. See Model Context Protocol for context.
The custom component required by this integration is moving to Home Assistant Core in https://github.com/home-assistant/core/pull/134122
Usage in Claude Desktop
-
Install the home-assistant-model-context-protocol custom component in your Home Assistant instance
-
Create a Long Lived Access Token
-
Clone this git repo to a path like
/Users/allen/Development/mcp-server-home-assistant -
Edit your
claude_desktop_config.jsonwith something like this and include your home assistant url and api token:{ "mcpServers": { "Home-assistant": { "command": "uv", "args": [ "--directory", "/Users/allen/Development/mcp-server-home-assistant", "run", "mcp-server-home-assistant", "-v", "-v" ], "env": { "HOME_ASSISTANT_WEB_SOCKET_URL": "http://localhost:8123/api/websocket", "HOME_ASSISTANT_API_TOKEN": "byJhbVci0iJIUzI1ii1sInR5cCI6IkpXVCJ9..... } } } } -
You can view the logs e.g.
~Library/Logs/Claude/mcp-server-Home-assistant.logto understand what is happening
Recommend MCP Servers 💡
mcp-server-rememberizer
An MCP Server for interacting with Rememberizer's document and knowledge management API, enabling LLMs to search, retrieve, and manage documents.
mcp-server-generator
An MCP server for creating and managing Model Context Protocol (MCP) servers for Claude Desktop
ifly-spark-agent-mcp
A simple example of using MCP Server to invoke the task chain of the iFlytek SparkAgent Platform
Eacus/misp-mcp
An MCP server enabling interaction with MISP (Malware Information Sharing Platform) for LLM context integration
codex-vitea-mcp
ViteaOS个人信息管理系统的专用MCP服务器,连接AI助手与MongoDB数据库,提供物品查找、出行时间估算等功能。
perplexity-mcp-rb
MCP Server for web search using Perplexity.