Protobuf to Table Decoder
Turn binary Protobuf feeds like GTFS-RT into flat SQL rows.
Decodes compact binary Protocol Buffer feeds, including GTFS-Realtime transit positions and telemetry, into typed relational rows via protobuf.tabular. Results flow into DuckDB SQL, REST APIs, and Parquet exports.
What Protobuf to Table Decoder does
Protobuf to Table Decoder reads binary .pb and GTFS-RT payloads without custom protoc codegen. It uses protobuf.tabular to flatten repeated message entities into clean rows on each run.
Decoded frames feed straight into DuckDB SQL for coordinate checks, deduplication, and time-windowed snapshots. Output serves via SQL queries, REST APIs, Parquet and CSV downloads, and MCP.
Input & output example
Decodes binary Protobuf messages directly into typed rows.
Binary Protobuf feed (GTFS-RT)
0x0a 0x0d 0x32 0x2e 0x30 ... (FeedMessage binary)
Decoded transit positions
| vehicle_id | route_id | lat | lon | bearing |
|---|---|---|---|---|
| BUS-4102 | M15-SBS | 40.7580 | -73.9855 | 182 |
How it works
- 1
Bind the binary Protobuf feed URL
Configure the HTTPS endpoint serving .pb, .pbf, or GTFS-RT FeedMessage binary payloads.
- 2
Decode messages with protobuf.tabular
Pin protobuf.tabular@1.0.0 with the message descriptor profile to flatten entities and nested telemetry fields.
- 3
Write time-stamped snapshots
Append or normalize rows in DuckDB SQL and serve live via REST API, Parquet export, and MCP.
Try with an agent
Pre-loads Protobuf Decoder in chatDecode city bus GTFS-Realtime feeds
Fetch the live GTFS-RT Protobuf vehicle positions feed every 5 minutes and store historical route adherence.
Monitor subway service alerts
Read GTFS-RT service alert Protobuf messages and expose active delays as a queryable table.
Common use cases
- GTFS-Realtime transit vehicle positions and trip updates
- Compact binary telemetry feeds
- High-frequency binary API endpoints
Details
- Category
- Format Readers
- Identifier
- protobuf
- Inputs
- .pb · .pbf · GTFS-RT binary feeds
- Outputs
- Typed relational rows
- Dataset delivery
- Parquet · CSV · JSON · SQL · REST API · MCP
Frequently asked questions
Is GTFS-Realtime supported out of the box?
Yes. protobuf.tabular decodes standard GTFS-RT FeedMessage feeds cleanly.
Does it require compiling .proto files locally?
No. Standard feed profiles like GTFS-Realtime are built in and configured directly via reader decode options.
Can GTFS-RT feeds be recorded over time?
Yes. Pair scheduled refreshes with snapshot windowing to accumulate historical transit delay or vehicle position series.