# Bagel [Health: Active]

**Category:** 🏭 Industrial & IoT  
**Repository:** https://github.com/Extelligence-ai/bagel  
**GitHub Stars:** 407  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/bagel

## Description
Plain-English analysis of robotics, drone, and IoT data, with intelligent edge data reduction.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "bagel": {
    "command": "uvx",
    "args": ["--from","bagel-mcp[ros]","bagel-mcp"]
  }
}
```

## Documentation

## What Bagel does

Bagel connects an MCP-compatible agent to analysis workflows for robotics, drones, and IoT systems. An operator can ask questions such as whether an IMU is overheating or request a summary of a recorded bag in ordinary language. Calculations are executed as DuckDB SQL, and the generated query is exposed for review.

The server also supports event-focused data reduction. A description such as keeping a time window around hard braking can become a pipeline that detects matching events, previews the result, and then writes a reduced dataset. Pipelines can be run once, across a fleet, or continuously at the edge.

Bagel is intended for analysis outside a robot’s control loop. It supports recorded data without requiring Docker or a ROS installation, while live-robot and fleet deployments use Docker-based environments.

## How it works

An MCP client launches Bagel over stdio for local use. The agent sends a natural-language request, Bagel selects the relevant data-processing operation, and deterministic SQL handles calculations over message data. Showing the query gives developers a way to inspect how results were produced.

Input coverage depends on installed extras. Supported recorded formats include ROS 1 bags, ROS 2 DB3 and MCAP bags, PX4, ArduPilot, and Betaflight flight logs, CAN captures, MDF4, CSV, JSON, Parquet, ROS text logs, and exports from PlotJuggler, Lichtblick, and LeRobot. Live sources include MQTT, including Sparkplug B, and InfluxDB.

Reduction pipelines are previewed before data is written. Docker images provide the runtime for live ROS robots through rosbridge, fleet deployments, and standing edge pipelines.

## Setup and configuration

Bagel is published on PyPI as `bagel-mcp` and supports Python 3.10 through 3.12. With `uvx`, an MCP client can fetch and cache the package and launch it directly:

```bash
uvx --from "bagel-mcp[ros]" bagel-mcp --transport stdio
```

A regular installation is also supported:

```bash
pip install "bagel-mcp[ros]"
```

The `ros` extra adds ROS 1 and ROS 2 bag support. Other extras add format-specific functionality:

- `px4` for PX4 ULog files
- `ardupilot` for ArduPilot BIN logs
- `betaflight` for Betaflight BBL and BFL logs
- `automotive` for CAN formats and ASAM MDF4
- `iot` for MQTT and InfluxDB
- `viz` for Rerun export
- `upload` for Google Cloud Storage and Azure Blob tasks
- `cloudini` for point-cloud tasks

MCAP, CSV, JSON, Parquet, ROS text logs, several robotics-data exports, and S3 upload do not require an extra. Docker images are the route for live ROS, fleet, and edge use cases. Apple Silicon installations should use an ARM-native Python environment.

## Tools and capabilities

- Analyze recorded robotics, drone, and IoT data with natural-language questions.
- Generate auditable DuckDB SQL for message-data calculations.
- Read ROS 1 and ROS 2 bags, including reduction and snippet writing for ROS data.
- Inspect PX4, ArduPilot, and Betaflight flight logs.
- Process CAN captures, DBC-backed automotive data, and MDF4 files.
- Read CSV, JSON, Parquet, ROS text logs, and supported robotics exports.
- Query live MQTT, Sparkplug B, and InfluxDB sources.
- Create, preview, and run event-based reduction pipelines.
- Export to Rerun and upload to supported cloud storage through optional extras.

## Limitations and notes

The package must be installed with the extra that matches the data format being queried. If an extra is absent, the server reports the command needed to add it. Recorded-data workflows can run through `uvx` or `pip`, but live ROS robots, fleet deployments, and edge pipelines use Docker images.

Bagel is an analysis and data-processing layer rather than a robot control-loop component. Its calculations are designed to be inspectable through SQL, while the language model remains in front of the logs.

The project is licensed under Apache-2.0.

_Full upstream README: https://allmcps.com/mcp/bagel/readme_

