mcp-server-home-assistant
A Model Context Protocol Server for Home Assistant
Documentation
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
1. Install the home-assistant-model-context-protocol custom component in your Home Assistant instance
1. Create a Long Lived Access Token
1. Clone this git repo to a path like `/Users/allen/Development/mcp-server-home-assistant`
1. Edit your `claude_desktop_config.json` with 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.....
}
}
}
}1. You can view the logs e.g. `~Library/Logs/Claude/mcp-server-Home-assistant.log` to understand what is happening
Frequently asked questions
What is mcp-server-home-assistant?
mcp-server-home-assistant is A Model Context Protocol Server for Home Assistant
How do I install mcp-server-home-assistant?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-server-home-assistant open source?
Yes — it is hosted on GitHub at https://github.com/allenporter/mcp-server-home-assistant and has 62 stars.
Related MCP tools
🚀 The fast, Pythonic way to build MCP servers and clients Trusted by 19900+ developers. Trusted by 19900+ developers. Trusted by 19900+ developers.
Agent Framework For Fintech for the Model Context Protocol. Enhance AI assistants with powerful integrations. Python-based implementation.
Build effective agents using Model Context Protocol and simple workflow patterns Python-based implementation. Trusted by 7600+ developers.
On-premises conversational RAG with configurable containers for the Model Context Protocol. Enhance AI assistants with powerful integrations.
A middleware to provide an openAI compatible endpoint that can call MCP tools Python-based implementation. Trusted by 800+ developers.
A MCP (Model Context Protocol) server for interacting with dbt. Python-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP