Server data from the Official MCP Registry
MCP server for Bosch eBike Flow (BES3): battery health, charge cycles, components, and ride data.
MCP server for Bosch eBike Flow (BES3): battery health, charge cycles, components, and ride data.
This MCP server for Bosch eBike Flow data demonstrates solid security practices with proper authentication, clear permission scoping, and no obvious malicious patterns. The codebase properly handles OAuth tokens (stored securely with file permissions), validates API responses with defensive parsing, and maintains a read-only interface to user data. Minor code quality improvements around error handling and input validation are present but do not indicate security vulnerabilities. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.
5 files analyzed · 9 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: BOSCH_FLOW_MCP_DB_PATH
Environment variable: BOSCH_FLOW_MCP_CONFIG_DIR
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-partymola-bosch-flow-mcp": {
"env": {
"BOSCH_FLOW_MCP_DB_PATH": "your-bosch-flow-mcp-db-path-here",
"BOSCH_FLOW_MCP_CONFIG_DIR": "your-bosch-flow-mcp-config-dir-here"
},
"args": [
"bosch-flow-mcp"
],
"command": "uvx"
}
}
}From the project's GitHub README.
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).
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.
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.pip install bosch-flow-mcp
Or 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 .
.venv/bin/bosch-flow-mcp auth
Opens 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.
.venv/bin/bosch-flow-mcp sync # all data types
.venv/bin/bosch-flow-mcp sync --types bikes,batteries
Data types: bikes, batteries, components, service, software_updates, capacity.
Fetches your data and stores it locally. The source depends on your sign-in:
euda client at the
Bosch Data Act portal. With a standard sign-in
those types report unavailable (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.
claude mcp add -s user bosch-flow -- /full/path/to/bosch-flow-mcp/.venv/bin/bosch-flow-mcp
Then ask Claude questions like:
| Tool | Description |
|---|---|
bosch_sync | Sync one or more data types (default: all) |
bosch_get_bikes | List registered bikes |
bosch_get_bike | Single bike with full details |
bosch_get_batteries | Battery snapshots - latest or historical range |
bosch_get_soc | Live state-of-charge from ConnectModule |
bosch_get_capacity | Battery capacity tester results (EU Data Act client only) |
bosch_get_components | Components with part numbers and firmware versions |
bosch_get_service_records | Service book entries (EU Data Act client only) |
bosch_get_software_updates | Software update history (EU Data Act client only) |
bosch_battery_trends | Charge cycle and energy trends by period |
bosch_get_activities | Per-ride summaries (distance, elevation, power, mode, CO2) over a date range |
bosch_get_activity_detail | Per-point track for one ride (GPS/speed/elevation/cadence/power) |
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.
| Variable | Default | Description |
|---|---|---|
BOSCH_FLOW_MCP_DB_PATH | bosch_flow.db in the package root | SQLite database path |
BOSCH_FLOW_MCP_CONFIG_DIR | config/ in the package root | Directory for tokens and client config |
OAuth tokens are saved with 0600 permissions; the token files and bosch_flow.db are 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-commit
Tests use temporary SQLite databases and fictional identifiers - no real bike or account data ever enters the repo.
See CONTRIBUTING.md for development setup, the test workflow, and the pre-commit hook. Changes are tracked in CHANGELOG.md.
GPLv3+. See LICENSE.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.