Skip to content
MCP server
Registry

bosch-flow-mcp MCP Server

MCP server for Bosch eBike Flow (BES3): battery health, charge cycles, components, and ride data.

bosch-flow-mcp scores 67 (Good), licensed GPL-3.0 and written in Python. It installs as a local process. It declares 12 tools. Filed under Uncategorized. GitHub shows 1 stars. Package registries report about 59 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by partymolaGPL-3.0Python1 stars
Trust score
67Good
Trust score 67 of 100, Good

Good trust

67 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: gpl-3.0.
How we score trust
Scorecard

License, quality and maintenance

How grades work
  • License: Grade C

    GPL-3.0 is a strong copyleft license: derived works must use the same license.

    How license is graded
  • Quality: Grade A

    87/100 for listing completeness. Lost points: 2 of 12 tools barely described, short summary, no docs link.

    How quality is graded
  • Maintenance: Grade A

    Last commit or release 8 days ago.

    How maintenance is graded
Trust breakdown

Where the 67 comes from

22 + 20 + 1 + 10 + 4 + 10 = 67. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity1 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 1 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "partymola-bosch-flow-mcp": {      "command": "uvx",      "args": [        "bosch-flow-mcp"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools12Tool docs quality grade D

All capabilities

About

bosch-flow-mcp

CI License: GPL v3 Python 3.13+ PyPI Glama MCP Server

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.

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+ (tested on 3.13, 3.14 and 3.15, on Linux, macOS and Windows, in CI)
  • 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-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 .

Auth

.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.

Sync

.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:

  • 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 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.

Register with Claude Code

claude mcp add -s user bosch-flow -- /full/path/to/bosch-flow-mcp/.venv/bin/bosch-flow-mcp

Then 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

ToolDescription
bosch_syncSync one or more data types (default: all)
bosch_get_bikesList registered bikes
bosch_get_bikeSingle bike with full details
bosch_get_batteriesBattery snapshots - latest or historical range
bosch_get_socLive state-of-charge from ConnectModule
bosch_get_capacityBattery capacity tester results (EU Data Act client only)
bosch_get_componentsComponents with part numbers and firmware versions
bosch_get_service_recordsService book entries (EU Data Act client only)
bosch_get_software_updatesSoftware update history (EU Data Act client only)
bosch_battery_trendsCharge cycle and energy trends by period
bosch_get_activitiesPer-ride summaries (distance, elevation, power, mode, CO2) over a date range
bosch_get_activity_detailPer-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

VariableDefaultDescription
BOSCH_FLOW_MCP_DB_PATHbosch_flow.db in the package rootSQLite database path
BOSCH_FLOW_MCP_CONFIG_DIRconfig/ in the package rootDirectory for tokens and client config

Data safety

  • OAuth tokens are created at 0600 on POSIX - Windows ignores the mode and governs access by inherited ACLs; the token files and bosch_flow.db are gitignored.

  • A pre-commit hook (scripts/check-no-data.sh) blocks committing database files, files under config/, and large files. It does not read file contents. 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.

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.

Frequently asked questions

What is bosch-flow-mcp MCP Server?

MCP server for Bosch eBike Flow (BES3): battery health, charge cycles, components, and ride data.

How do I install bosch-flow-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. bosch-flow-mcp MCP Server runs locally from the PyPI package bosch-flow-mcp with the command uvx bosch-flow-mcp.

Is bosch-flow-mcp MCP Server free and open source?

Yes. bosch-flow-mcp MCP Server is released under the GPL-3.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does bosch-flow-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for bosch-flow-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does bosch-flow-mcp MCP Server provide?

bosch-flow-mcp MCP Server provides 12 tools, including bosch_battery_trends, bosch_get_activities, bosch_get_activity_detail, and bosch_get_batteries. See the full tool list for descriptions and parameters.

How is bosch-flow-mcp MCP Server's trust score calculated?

bosch-flow-mcp MCP Server scores 67 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server