matrix-client
Client-Server SDK for Matrix
Decision gist · record as of 2026-08-14
No, not for new projects. The package is abandoned (last release 2021, no active maintenance) and the maintainers explicitly recommend matrix-nio as a superior, actively maintained alternative. Install only if you are maintaining legacy code that already depends on matrix-client or have a specific reason to avoid matrix-nio. For any new development, use matrix-nio instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Matrix homeserver accessible at the provided URL; the package itself supports Python 2.7 and 3.4+ but is no longer actively maintained.
- Low install friction with only two runtime dependencies (requests and urllib3), but the package is in abandoned maintenance status as of 1845 days since last release.
- The project maintainers explicitly recommend matrix-nio as a more actively maintained alternative.
License · maintenance · safety
Apache License, Version 2.0 (permissive) — Licensed under Apache License 2.0 (permissive), which allows commercial and private use with minimal restrictions, though you must include a copy of the license and note any modifications.
last release 2021-07-26 (1845 days) · last repo commit 2022-10-16 · 266 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 401,935 downloads/mo, #6,922 on PyPI
Alternatives
Verify before relying
pip install matrix-client
from matrix_client.client import MatrixClient
client = MatrixClient("http://localhost:8008")
token = client.login(username="user", password="pass")
room = client.create_room("my_room")
room.send_text("Hello!")- Whether the package works reliably with modern Python versions (3.9+) despite claiming support for 3.4+
- Current state of compatibility with recent Matrix protocol changes or homeserver versions
- Whether pull requests are still being reviewed or merged
What it is and what it does
matrix-client is a Python SDK for the Matrix protocol that lets you build applications that connect to Matrix homeservers. It wraps the Matrix client-server HTTP API in two layers: a low-level API module for raw HTTP calls, and a high-level client module that provides object models like Room and User for easier interaction. You can use it to log in, create rooms, send messages, and manage other chat operations programmatically.
However, the package is no longer actively maintained. The last release was in 2021, and the project maintainers explicitly recommend using matrix-nio instead, which is both more featureful and actively developed. Pull requests may be reviewed but no new features or bug fixes are being actively developed. If you are starting a new project, you should strongly consider matrix-nio; matrix-client is suitable only if you have an existing codebase or specific compatibility requirements.
Use it for
- Build a bot or automation tool that sends messages to Matrix rooms or responds to events
- Integrate Matrix chat into an existing Python application as a notification or messaging channel
- Write a simple Matrix client application for a specific use case or workflow
- Prototype or experiment with the Matrix protocol in Python before committing to a maintained library
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, not for new projects.
The package is abandoned (last release 2021, no active maintenance) and the maintainers explicitly recommend matrix-nio as a superior, actively maintained alternative. Install only if you are maintaining legacy code that already depends on matrix-client or have a specific reason to avoid matrix-nio. For any new development, use matrix-nio instead.
Install
matrix-client on PyPI
Before you install
Low install friction with only two runtime dependencies (requests and urllib3), but the package is in abandoned maintenance status as of 1845 days since last release. The project maintainers explicitly recommend matrix-nio as a more actively maintained alternative.
Requires a running Matrix homeserver accessible at the provided URL; the package itself supports Python 2.7 and 3.4+ but is no longer actively maintained.
License in practice
Licensed under Apache License 2.0 (permissive), which allows commercial and private use with minimal restrictions, though you must include a copy of the license and note any modifications.
Quickstart
pip install matrix-client
from matrix_client.client import MatrixClient
client = MatrixClient("http://localhost:8008")
token = client.login(username="user", password="pass")
room = client.create_room("my_room")
room.send_text("Hello!")
Verify before relying
- Whether the package works reliably with modern Python versions (3.9+) despite claiming support for 3.4+
- Current state of compatibility with recent Matrix protocol changes or homeserver versions
- Whether pull requests are still being reviewed or merged
Package facts
| License | Apache License, Version 2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesrequestsurllib3 |
| Maintenance | Abandoned 1,845 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 401,935 / month, #6,922 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Communications :: ChatTopic :: Communications :: Conferencing |
Evidence: matrix_client-0.4.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “matrix client sdk python”
- matrix-clientPython client library for connecting to and interacting with Matrix…
- matrix-niomatrix-nio is an asyncio-based Python client library for the Matrix…
- mautrixAn asyncio Matrix framework for Python that provides HTTP client…
Give your agent the search over MCP, or paste the wish link into any chat.
More Communications packages
Pyasn1 encodes and decodes ASN.1 data structures using BER, CER, DER, and native Python codecs, allowing you to serialize complex data for network protocols and file formats.
Install it if you need to work with ASN.1-based protocols or formats; it is the standard library for this in Python and has no known vulnerabilities.
Provides a collection of ASN.1 data structures expressed as Python classes, built on the pyasn1 library, for working with ASN.1-based protocols and standards.
Kombu is a messaging library that provides a high-level Python interface to AMQP and other message brokers, supporting pluggable transports for RabbitMQ, Redis, MongoDB, Amazon SQS, and others.
Install it if you are building any distributed system that requires reliable message passing.
Formats and parses numbers, file sizes, timespans, and other values into human-readable text; provides terminal interaction utilities including ANSI text styling and user prompts.
Adds colored output to Python's standard logging module using ANSI escape sequences, with automatic fallback support for Windows terminals.
However, it is abandoned and receives no maintenance, so it will not adapt to future Python changes or platform updates.
Parse, validate, format, and analyze international phone numbers across all countries, with support for extracting geographic, carrier, and timezone information from phone number data.
See also matrix-nio · matrix-synapse · mautrix · openfire-restapi · ipfshttpclient · webexpythonsdk · scikit-rf · aiohttp · azure-communication-rooms · kafka