mcp-server-home-assistant
A Model Context Protocol Server for Home Assistant. See Model Context Protocol for context.
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
Metadata
Release files for mcp-server-home-assistant 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_server_home_assistant-0.1.0.tar.gz | 44.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_server_home_assistant-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 53.1 kB
Release files / mcp_server_home_assistant-0.1.0.tar.gz
| Download URL | mcp_server_home_assistant-0.1.0.tar.gz |
|---|---|
| Size | 44.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd2105b93584d7f714df879b8152d6141f87302df0a5a74200e701831d5c1add
|
|
BLAKE2b-256 checksum How to use checksums |
c780f02bef1bc5116782ad64f46d1f4b3d844926e6504f0b1b20db5691fcf0b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2024.
Transparency logRelease files / mcp_server_home_assistant-0.1.0-py3-none-any.whl
| Download URL | mcp_server_home_assistant-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa315c8ce68dfa41810dbad03c6238343912c6912cf8b6ba6873475510b53e35
|
|
BLAKE2b-256 checksum How to use checksums |
257d5774c72ec98ab6bee849462dbf3d56dd67583afcee4dda989054a19343f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2024.
Transparency log