bosch-flow-mcp
This server allows you to retrieve, track, and analyze data from your Bosch eBike Flow account, including battery health, ride activities, component details, and service history.
Retrieve Bike Information: List all registered e-bikes, get detailed profiles for individual bikes, and list components with their part numbers and firmware versions.
Monitor Battery Health: Access battery state snapshots, analyze charge cycle and energy trends, get live state-of-charge from the ConnectModule, and retrieve battery capacity tester results (with an EU Data Act client).
Track Ride Activities: List e-bike rides with detailed summary metrics (distance, elevation, speed, power, calories, CO2, assist-mode splits, ABS events) and get per-point GPS/speed/elevation/power tracks for individual rides.
Manage Service and Software History: Access digital service book history and software update installation history (requires an EU Data Act client for full details).
Synchronize Data: Sync bikes, batteries, components, service records, software updates, and capacity data from Bosch APIs to a local cache.
Provides tools for interacting with Bosch eBike Flow (Smart System) data, including battery health, charge cycles, component firmware, service history, live state-of-charge, and per-ride activity data such as distance, elevation, power, assist-mode, and CO2 savings.
bosch-flow-mcp
MCP server for Bosch eBike Flow (Smart System / BES3). Tracks battery health, charge cycles, component versions, service history, live state-of-charge, and per-ride activity data (distance, elevation, power, assist-mode, CO2).
Disclaimer
This is an unofficial, community-built project. It is not affiliated with, authorised by, or endorsed by Robert Bosch GmbH, Bosch eBike Systems, or SingleKey ID. "Bosch", "eBike Flow", and related marks belong to their owners and are used here only to describe interoperability.
It signs in with your own Bosch eBike Flow account (via the standard SingleKey ID login) and reads only your own data. It is read-only - it never modifies your bike, battery, or account.
It uses the same public OAuth client (
one-bike-app, PKCE) that the official Bosch eBike Flow app uses. No credentials, secrets, or protection measures are extracted, bypassed, or circumvented - every identifier here is already publicly documented.When you supply your own EU Data Act API credentials, the official Data Act API is used. Otherwise the same app API your phone already uses is queried with your own login.
This is an undocumented, unofficial interface that may change or stop working at any time if Bosch alters their systems.
You are responsible for ensuring your use complies with Bosch's and SingleKey ID's terms of service in your jurisdiction.
Provided with no warranty under GPLv3+ (see LICENSE). Use at your own risk.
Related MCP server: fitbit-mcp
Features
Battery state snapshots over time (charge cycles, energy delivered, degradation trends)
Components and firmware versions (drive unit, battery, ConnectModule, head unit, remote, ABS)
Service book history and software update log (EU Data Act client only)
Live state-of-charge from ConnectModule via mobile API
Battery capacity tester results (EU Data Act client only)
Per-ride activities: distance, elevation, speed, cadence, measured rider power, calories, rider-vs-motor energy share, assist-mode split, CO2, ABS events, plus a per-point GPS/speed/elevation/power track
Auto-sync on demand - tools fetch fresh data without a cron job
Requirements
Python 3.13+
uv (recommended) or pip
A Bosch eBike Flow account (free, register at the Bosch eBike Flow app)
A BES3 Smart System eBike registered in the app
Install
pip install bosch-flow-mcpOr run it without installing with uvx bosch-flow-mcp. For development from a clone:
git clone https://github.com/partymola/bosch-flow-mcp
cd bosch-flow-mcp
uv venv --python 3.13 .venv
uv pip install -e .Auth
.venv/bin/bosch-flow-mcp authOpens your browser to Bosch login. The auth flow uses the one-bike-app public client
with PKCE - no API keys or registration needed. Just your Bosch Flow account.
Important: Open browser DevTools (F12) and switch to the Network tab before logging in.
After login, the browser redirects to an iOS URI (onebikeapp-ios://) that desktop browsers
can't open. Copy the full redirect URL from DevTools (right-click > Copy URL on the
oauth2redirect entry) and paste it at the prompt.
Tokens are saved to config/bosch_tokens.json and auto-refresh via offline_access.
EU Data Act users: if you have registered your own euda client and placed its ID in
config/bosch_config.json, auth uses that instead - it opens the browser and completes
automatically through a local http://localhost:4200 callback, with no DevTools step.
Sync
.venv/bin/bosch-flow-mcp sync # all data types
.venv/bin/bosch-flow-mcp sync --types bikes,batteriesData types: bikes, batteries, components, service, software_updates, capacity.
Fetches your data and stores it locally. The source depends on your sign-in:
A standard Bosch eBike Flow account (the default) reads bikes, batteries, components, current firmware, and live state-of-charge from the mobile app API - works for any account, including non-EU.
Service-book history, software-update history, and capacity-tester results come only from the EU Data Act API, which requires registering your own
eudaclient at the Bosch Data Act portal. With a standard sign-in those types reportunavailable(with a note) rather than a silent empty result, and the Data Act API returns nothing for accounts registered outside the EU.
You can also use the bosch_sync MCP tool, or rely on automatic sync (each get_* tool
triggers a sync if data is stale).
Run bosch-flow-mcp --version to print the installed package version.
Register with Claude Code
claude mcp add -s user bosch-flow -- /full/path/to/bosch-flow-mcp/.venv/bin/bosch-flow-mcpThen ask Claude questions like:
"What's my bike's battery health this year?"
"Show me charge cycle trends by month"
"What firmware version is my drive unit on?"
"Have there been any service records for my bike?"
"How far and how hard were my rides this week?"
Available tools
Tool | Description |
| Sync one or more data types (default: all) |
| List registered bikes |
| Single bike with full details |
| Battery snapshots - latest or historical range |
| Live state-of-charge from ConnectModule |
| Battery capacity tester results (EU Data Act client only) |
| Components with part numbers and firmware versions |
| Service book entries (EU Data Act client only) |
| Software update history (EU Data Act client only) |
| Charge cycle and energy trends by period |
| Per-ride summaries (distance, elevation, power, mode, CO2) over a date range |
| Per-point track for one ride (GPS/speed/elevation/cadence/power) |
API credits
This server uses the Bosch Mobile API (obc-rider-profile.prod.connected-biking.cloud)
as the primary data source, the rider-activity API
(obc-rider-activity.prod.connected-biking.cloud) for per-ride data, and optional
Data Act API (api.bosch-ebike.com) support for additional endpoints.
Authentication uses the one-bike-app public client (the same OAuth client as the Bosch
eBike Flow mobile app). The auth approach was documented by the
marq24/ha-bosch-ebike-flow Home Assistant
integration and the open-ebike/open-ebike-backend
project.
Configuration
Variable | Default | Description |
|
| SQLite database path |
|
| Directory for tokens and client config |
Data safety
OAuth tokens are saved with
0600permissions; the token files andbosch_flow.dbare gitignored.A pre-commit hook (
scripts/check-no-data.sh) blocks committing databases, token files, and secrets. Install it after cloning:ln -sf ../../scripts/check-no-data.sh .git/hooks/pre-commitTests use temporary SQLite databases and fictional identifiers - no real bike or account data ever enters the repo.
Contributing
See CONTRIBUTING.md for development setup, the test workflow, and the pre-commit hook. Changes are tracked in CHANGELOG.md.
License
GPLv3+. See LICENSE.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server for interacting with the Wahoo Cloud API to manage workouts, routes, training plans, and power zones. It enables users to list, retrieve, and create fitness data through secure OAuth 2.0 authentication.Last updated97GPL 3.0
- AlicenseAqualityAmaintenanceMCP server for the Fitbit Web API with OAuth PKCE, local cache, and trend analysis.Last updated181GPL 3.0
- Alicense-qualityDmaintenanceMCP server for Mi Fitness cloud data. Provides a local SQLite-backed server to sync and query daily activity, heart rate, and body measurements.Last updated3MIT
- Alicense-qualityDmaintenanceA developer-focused server that exposes information from VW vehicles via a Model Context Protocol (MCP) interface. This project is designed for integration, automation, and experimentation with connected car data.Last updated2CC BY-SA 4.0
Related MCP Connectors
MCP server for Withings health data — sleep, activity, heart, and body metrics.
MCP server wrapping the Tesla Fleet API and TeslaMate API
Self-hosted federated MCP gateway: one OAuth 2.1 MCP server in front of N apps, user-level scopes.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/partymola/bosch-flow-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server