Registry / communication / python-matter-server

python-matter-server

JSON →
library8.1.2pypypiunverified

Python-based server for interacting with Matter smart home devices, part of the Open Home Foundation ecosystem. Current version 8.1.2, requires Python >=3.12. Rapid development with frequent breaking changes.

pip install python-matter-server
INSTALL
IMPORT
SIG · PYTHON-MATTER-SERV
P
python-matter-server
communicationpythonv8.1.2
Install
5.6s avg
Import
Disk
36MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v5.7.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 34.5MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 5.6s · import 0.000s · 37MB
36MB installed
● package 36MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MatterServer
from matter_server import MatterServer
from matter_server.server import MatterServer

Connects to a local Matter Server instance and fetches all nodes. Requires a running Matter Server (e.g., via pip install python-matter-server and running matter-server).

import asyncio from matter_server.client import MatterClient async def main(): client = MatterClient("ws://localhost:5580/ws", "") await client.connect() nodes = await client.get_nodes() print(nodes) asyncio.run(main())
matter-server --version
Debug
Known issues
breakingBreaking change in v7: 'MatterServer' class moved from 'matter_server' to 'matter_server.server'. Update imports.
fix
Use 'from matter_server.server import MatterServer' instead of 'from matter_server import MatterServer'.
affects: >=7.0.0
breakingIn v8, the WebSocket protocol changed: authentication now requires a token or empty string. Old versions used a different handshake.
fix
Ensure client passes an auth token (or empty string) when connecting via WebSocket.
affects: >=8.0.0
breakingPython 3.11 and lower are no longer supported. Requires Python >=3.12.
fix
Upgrade Python to 3.12 or later.
affects: >=8.0.0
Upgrade
Version history
8.1.2latest on PyPI · released Dec 15, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
python-matter-server — pip install python-matter-server · libregistry