mcap-ros2-support
ROS2 support for the Python MCAP library
Decision gist · record as of 2026-08-14
Yes, if you need to read ROS2 messages from MCAP files outside a ROS2 environment. The package is actively maintained, has low install friction, permissive licensing, and no security issues. It fills a specific niche well: offline analysis and data extraction from ROS2 recordings. Install it if that matches your workflow; skip it if you work exclusively within ROS2 or use other bag formats.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction installation with a single pure-Python wheel dependency.
- Actively maintained with recent commits and no known vulnerabilities.
License · maintenance · safety
permissive license (permissive) — MIT license permits unrestricted use, modification, and distribution in both open and closed projects.
last release 2025-12-24 (233 days) · last repo commit 2026-08-13 · 1,041 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 469,574 downloads/mo, #6,486 on PyPI
Alternatives
Verify before relying
pip install mcap-ros2-support
from mcap_ros2.reader import read_ros2_messages
for msg in read_ros2_messages("my_data.mcap"):
print(f"{msg.channel.topic}: {msg.ros_msg}")- Whether the package handles all ROS2 message types or only a subset
- Performance characteristics when reading large MCAP files
- Compatibility with specific ROS2 distributions or message schema versions
What it is and what it does
mcap-ros2-support extends the Python MCAP library to understand and deserialize ROS2 message types stored in MCAP recordings. MCAP is a container format for time-series data; this package adds a decoder layer that interprets the ROS2-specific message schemas and content within those files. It requires only the mcap runtime dependency and no ROS2 installation, making it suitable for analysis and tooling outside a ROS2 environment.
The package is actively maintained, has no known vulnerabilities, and supports current Python versions from 3.7 onward. It's positioned as part of the Foxglove ecosystem for robotics data tools. Installation is straightforward via pip, and the API is minimal—primarily the read_ros2_messages function that yields deserialized messages from a file path.
Use it for
- Extract and analyze ROS2 sensor data from MCAP recordings in offline analysis workflows
- Convert ROS2 message logs to other formats by reading MCAP files without a running ROS2 system
- Debug ROS2 applications by inspecting recorded message content and topics from MCAP files
- Build data processing pipelines that consume ROS2 recordings in standalone Python scripts
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to read ROS2 messages from MCAP files outside a ROS2 environment.
The package is actively maintained, has low install friction, permissive licensing, and no security issues. It fills a specific niche well: offline analysis and data extraction from ROS2 recordings. Install it if that matches your workflow; skip it if you work exclusively within ROS2 or use other bag formats.
Install
mcap-ros2-support on PyPI
Before you install
Low friction installation with a single pure-Python wheel dependency. Actively maintained with recent commits and no known vulnerabilities.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open and closed projects.
Quickstart
pip install mcap-ros2-support
from mcap_ros2.reader import read_ros2_messages
for msg in read_ros2_messages("my_data.mcap"):
print(f"{msg.channel.topic}: {msg.ros_msg}")
Verify before relying
- Whether the package handles all ROS2 message types or only a subset
- Performance characteristics when reading large MCAP files
- Compatibility with specific ROS2 distributions or message schema versions
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagemcap |
| Maintenance | Actively maintained 233 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 469,574 / month, #6,486 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: mcap_ros2_support-0.5.7-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 › “ros2 message reader”
- mcap-ros2-supportAdds ROS2 message deserialization support to the Python MCAP file…
- rosbagsRead, write, convert, and deserialize ROS bag files (rosbag1 and…
- pyulogParses ULog files (a self-describing logging format) and provides…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also mcap · mcap-protobuf-support · mcap-ros1-support · rosbags · pyulog · msg-parser · edfio · python-oxmsg · pyrtcm · foxglove-sdk