BatterySnap MCP
An official MCP server provided by BatterySnap that allows AI assistants to query real-world Android battery statistics. It enables users to search for devices, retrieve aggregated metrics like temperature and charge speed, view fleet rankings, and analyze battery health data for specific brands, models, or individual devices without requiring authentication.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://mcp.battery-snap.com/mcpWhat its tools do
15 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to battery-snap.com ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 3 of 3 checks passed in 30 days
What you can do with it
- Search for Android devices by brand or model name
- Retrieve aggregated battery metrics like temperature and charge speed
- View fleet-wide rankings for hottest or longest-lasting devices
- Analyze battery health history for a specific device UID
Source and maintenance
Protocol and capabilities
- Server
- BatterySnap 2.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 15 advertised
- Resources
- 1 advertised
- Resource templates
- 0 advertised
- Prompts
- 0 advertised
{
"tools": {
"listChanged": true
},
"logging": {},
"prompts": {
"listChanged": true
},
"resources": {
"subscribe": false,
"listChanged": true
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
15 advertised
brands — List brands
List the phone brands BatterySnap has battery statistics for, most devices first, with each brand's number of models and of devices (50 brands unless `limit` says otherwise; `offset` pages). Each entry also gives the largest single-model device count within the brand (`max_devices_per_model`); `model_count` counts the models with a known marketing name. Each entry also includes a `url` to the public BatterySnap web page for the brand (e.g. https://www.battery-snap.com/brands/samsung). Pass `min_device_count` / `max_device_count` and `min_model_count` / `max_model_count` to filter brands by recorded-device and distinct-model counts. Pass `sort` to order otherwise, e.g. sort=[{"by": "brand"}] for A to Z. Pass `fields` to keep only specific attributes in each entry. Prefer `search` when resolving one brand by name.
{
"type": "object",
"properties": {
"sort": {
"type": "array",
"items": {
"type": "object",
"required": [
"by"
],
"properties": {
"by": {
"enum": [
"brand",
"model_count",
"device_count",
"max_devices_per_model"
],
"type": "string",
"description": "Value to sort on."
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "'asc' (smallest / A first) or 'desc' (largest / Z first). When omitted: 'desc' for counts and other numbers, 'asc' for names."
}
},
"additionalProperties": false
},
"description": "Objects like [{\"by\":\"model_count\",\"order\":\"desc\"}] (most models first), order asc or desc. Keys apply in list order: each next key only orders entries the keys before it tie, e.g. [{\"by\": \"device_count\"}] = most devices first, [{\"by\": \"model_count\", \"order\": \"desc\"}, {\"by\": \"device_count\"}]. Missing values go last. Sorting runs before `limit` / `offset`, so [{\"by\": \"device_count\"}] with limit=10 is the 10 with the most devices. Omit for most devices first; brand always breaks the ties left."
},
"limit": {
"type": "integer",
"minimum": 1,
"description": "Return at most this many entries (50 when omitted). Page with `offset`, or pass a larger limit for more."
},
"fields": {
"type": "array",
"items": {
"enum": [
"brand",
"model_count",
"device_count",
"max_devices_per_model",
"url"
],
"type": "string"
},
"description": "Attributes to keep in each returned entry, to shrink the response. Omit (or pass an empty list) for all of them."
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "Skip this many entries before returning results — use with `limit` to page through a long list. Defaults to 0."
},
"max_model_count": {
"type": "integer",
"minimum": 0,
"description": "Drop brands with more than this many distinct models. Omit for no upper bound."
},
"min_model_count": {
"type": "integer",
"minimum": 0,
"description": "Drop brands with fewer than this many distinct models. Defaults to 0 (keep all)."
},
"max_device_count": {
"type": "integer",
"minimum": 0,
"description": "Drop entries with more than this many recorded devices. Use to skip very common entries. Omit for no upper bound."
},
"min_device_count": {
"type": "integer",
"minimum": 0,
"description": "Drop entries with fewer than this many recorded devices. Defaults to 1 (keep all)."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public BatterySnap web page listing this brand's models and devices. Locale-agnostic — the server 301-redirects to the visitor's detected locale."
},
"brand": {
"type": "string",
"description": "Lowercase Android device brand identifier (e.g. 'samsung', 'xiaomi')."
},
"model_count": {
"type": "integer",
"description": "Number of distinct device models recorded for this brand."
},
"device_count": {
"type": "integer",
"description": "Number of individual devices of this brand that reported battery snapshots."
},
"max_devices_per_model": {
"type": "integer",
"description": "Largest number of devices recorded for a single model within this brand (the most popular model's device count). 0 when the brand has no device with a known model."
}
}
}
}
},
"x-fastmcp-wrap-result": true
}{
"title": "List brands",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}models — List models
List the phone models BatterySnap has battery statistics for (of one `brand`, several `brands` or all), most devices first, with each model's number of devices, average battery temperature in Celsius, median awake ratio, median discharge and charge hours per 100% and Android SDK range (50 models unless `limit` says otherwise; `offset` pages). Each entry is grouped by the resolved street name (e.g. 'Galaxy S23'), which may cover several raw Android Build.MODEL identifiers (carrier variants, regional SKUs, …). For URL building, every entry also exposes: * `raw_model_code`: a representative raw Build.MODEL identifier (the most common one among devices grouped under this street name, the smallest on a tie), or null if no device reported a non-empty model code. * `url`: the public BatterySnap web page for the model, e.g. https://www.battery-snap.com/brands/samsung/models/SM-S911B. Built from `brand` + `raw_model_code`; null when either is null. The page lists the devices reporting that exact raw model and links to the other variants. Pass `min_device_count` / `max_device_count` to filter models by how many devices were recorded. Pass `sort` to order by another value (temperature, awake ratio, discharge / charge hours, API levels) or by name, e.g. sort=[{"by": "model"}]. Models with no value sort last either way. For battery life or charging rankings, `top_models` is still the better tool: it skips models backed by too few devices (`min_devices`). Pass `fields` to keep only specific attributes in each entry (typically fields=['brand', 'model', 'device_count', 'url']).
{
"type": "object",
"properties": {
"sort": {
"type": "array",
"items": {
"type": "object",
"required": [
"by"
],
"properties": {
"by": {
"enum": [
"brand",
"model",
"device_count",
"temperature_c",
"awake_ratio",
"discharge_hours",
"ac_charge_hours",
"usb_charge_hours",
"wireless_charge_hours",
"min_android_api_level",
"max_android_api_level"
],
"type": "string",
"description": "Value to sort on."
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "'asc' (smallest / A first) or 'desc' (largest / Z first). When omitted: 'desc' for counts and other numbers, 'asc' for names."
}
},
"additionalProperties": false
},
"description": "Objects like [{\"by\":\"discharge_hours\",\"order\":\"desc\"}] (longest lasting first), order asc or desc. Keys apply in list order: each next key only orders entries the keys before it tie, e.g. [{\"by\": \"device_count\"}] = most devices first, [{\"by\": \"discharge_hours\", \"order\": \"desc\"}, {\"by\": \"device_count\"}]. Missing values go last. Sorting runs before `limit` / `offset`, so [{\"by\": \"device_count\"}] with limit=10 is the 10 with the most devices. Omit for most devices first; brand then model always breaks the ties left."
},
"brand": {
"type": "string",
"description": "One lowercase brand identifier (e.g. 'samsung'), as in the other tools. Use `brands` for several."
},
"limit": {
"type": "integer",
"minimum": 1,
"description": "Return at most this many models, after filtering and sorting (50 when omitted)."
},
"brands": {
"type": "array",
"items": {
"type": "string"
},
"description": "Several lowercase brand identifiers (e.g. ['samsung', 'xiaomi']) to fetch models for. Matched case-insensitively. Omit `brand` and `brands` to list models across all brands."
},
"fields": {
"type": "array",
"items": {
"enum": [
"brand",
"model",
"raw_model_code",
"url",
"device_count",
"temperature_c",
"awake_ratio",
"discharge_hours",
"ac_charge_hours",
"usb_charge_hours",
"wireless_charge_hours",
"min_android_api_level",
"max_android_api_level"
],
"type": "string"
},
"description": "Attributes to keep in each returned entry, to shrink the response. Omit (or pass an empty list) for all of them."
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "Skip this many entries before returning results — use with `limit` to page through a long list. Defaults to 0."
},
"max_device_count": {
"type": "integer",
"minimum": 0,
"description": "Drop entries with more than this many recorded devices. Use to skip very common entries. Omit for no upper bound."
},
"min_device_count": {
"type": "integer",
"minimum": 0,
"description": "Drop entries with fewer than this many recorded devices. Defaults to 1 (keep all)."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Public BatterySnap web page for this model, e.g. https://www.battery-snap.com/brands/samsung/models/SM-S911B. Built from `brand` + `raw_model_code`; null when either is null. Locale-agnostic (server picks locale via redirect)."
},
"brand": {
"type": "string",
"description": "Lowercase Android device brand identifier this model belongs to (e.g. 'samsung', 'xiaomi')."
},
"model": {
"type": "string",
"description": "Human-readable model name (e.g. 'Galaxy S23', 'Pixel 7a'). Resolved from the device's street_name column."
},
"awake_ratio": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median across this model's devices of the fraction of time awake / screen-on (0..1). Null when no device has a value."
},
"device_count": {
"type": "integer",
"description": "Number of individual devices of this model that reported battery snapshots."
},
"temperature_c": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Average battery temperature in Celsius, weighted across all snapshots of all devices of this model. Null when no temperature samples were recorded."
},
"raw_model_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Representative raw Android Build.MODEL identifier (e.g. 'SM-S911B') for this model — the most common model code among all devices grouped under this street name (the smallest on a tie). Multiple raw codes can map to one street name (e.g. carrier variants); this picks one as canonical for URL construction, and its page links to the other variants. Null when no device has a non-empty model code."
},
"ac_charge_hours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median across this model's devices of the hours to charge a full 100% on an AC wall charger. Lower is faster."
},
"discharge_hours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median across this model's devices of the hours to discharge a full 100% on battery (40 = about 40 h from full to empty). Higher is longer battery life."
},
"usb_charge_hours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median across this model's devices of the hours to charge a full 100% over USB (e.g. a computer port)."
},
"max_android_api_level": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Highest Android API level reported by any device of this model."
},
"min_android_api_level": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Lowest Android API level reported by any device of this model (e.g. 28 = Android 9 Pie)."
},
"wireless_charge_hours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median across this model's devices of the hours to charge a full 100% wirelessly. Null when no device charged wirelessly."
}
}
}
}
},
"x-fastmcp-wrap-result": true
}{
"title": "List models",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}devices — Find devices by model
List the individual phones (devices) of one or more models, most battery readings first: each entry is ONE device with its own `device_uid`, its own figures (from that device's history only, not aggregated across devices), its `name` ('Pixel 9a n° 3', as its page titles it) and `url`, the public page with its battery history. Use it for "which devices / phones of the Galaxy S23", "the link to that phone's page". Two devices of the same brand and model appear as two separate entries with their own independent metrics. Each entry has: brand (lowercase brand, e.g. 'samsung'), device_uid (this device's id, for device_summary / device_ranking), name (this device's name on its page, e.g. 'Pixel 9a n° 3'), url (public page with the device's battery history), model (model name, e.g. 'Galaxy S23'), raw_model (Build.MODEL code, e.g. 'SM-S911B'), snapshot_count (number of battery readings, more = more reliable), battery_level_pct (average charge level, %), temperature_c (average battery temperature, C), min_temperature_c (coldest battery temperature, C), max_temperature_c (hottest battery temperature, C), awake_ratio (fraction of time awake / screen-on, 0..1), discharge_hours (discharge time / battery life, hours per 100%, higher = longer), ac_charge_hours (AC charge time, hours per 100%, lower = faster), usb_charge_hours (USB charge time, hours per 100%, lower = faster), wireless_charge_hours (wireless charge time, hours per 100%, lower = faster), android_api_level (Android SDK level, e.g. 34 = Android 14). Each pair's model is matched case-insensitively against either the resolved street name (e.g. 'Galaxy S23') or the raw Android model identifier (e.g. 'SM-S911B'). Pass `fields` to keep only specific attributes per device and avoid bloated responses.
{
"type": "object",
"required": [
"pairs"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "Maximum number of devices returned, most readings first; omitted = all of them."
},
"pairs": {
"type": "array",
"items": {
"type": "object",
"required": [
"brand",
"model"
],
"properties": {
"brand": {
"type": "string",
"description": "Lowercase Android device brand identifier (e.g. 'samsung', 'xiaomi'), matched case-insensitively against the device's brand."
},
"model": {
"type": "string",
"description": "Model name matched case-insensitively against either the resolved street name (e.g. 'Galaxy S23') or the raw Android model identifier (e.g. 'SM-S911B')."
}
}
},
"minItems": 1,
"description": "One or more {brand, model} pairs to look up. Each pair fetches devices matching that brand and model."
},
"fields": {
"type": "array",
"items": {
"enum": [
"brand",
"device_uid",
"name",
"url",
"model",
"raw_model",
"snapshot_count",
"battery_level_pct",
"temperature_c",
"min_temperature_c",
"max_temperature_c",
"awake_ratio",
"discharge_hours",
"ac_charge_hours",
"usb_charge_hours",
"wireless_charge_hours",
"android_api_level"
],
"type": "string"
},
"description": "Attributes to keep in each returned entry, to shrink the response. Omit (or pass an empty list) for all of them. Names: brand (lowercase brand, e.g. 'samsung'), device_uid (this device's id, for device_summary / device_ranking), name (this device's name on its page, e.g. 'Pixel 9a n° 3'), url (public page with the device's battery history), model (model name, e.g. 'Galaxy S23'), raw_model (Build.MODEL code, e.g. 'SM-S911B'), snapshot_count (number of battery readings, more = more reliable), battery_level_pct (average charge level, %), temperature_c (average battery temperature, C), min_temperature_c (coldest battery temperature, C), max_temperature_c (hottest battery temperature, C), awake_ratio (fraction of time awake / screen-on, 0..1), discharge_hours (discharge time / battery life, hours per 100%, higher = longer), ac_charge_hours (AC charge time, hours per 100%, lower = faster), usb_charge_hours (USB charge time, hours per 100%, lower = faster), wireless_charge_hours (wireless charge time, hours per 100%, lower = faster), android_api_level (Android SDK level, e.g. 34 = Android 14)."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public BatterySnap web page showing this device's interactive battery history, e.g. https://www.battery-snap.com/device_history?device=<uid>. Locale-agnostic — server 301-redirects to the visitor's locale."
},
"name": {
"type": "string",
"description": "This device's name, as the title of its page gives it: the model and its number among that model's devices, e.g. 'Pixel 9a n° 3' (with the raw code when the list holds several codes of one model)."
},
"brand": {
"type": "string",
"description": "Lowercase Android device brand identifier this device belongs to (e.g. 'samsung', 'xiaomi')."
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Human-readable model name resolved for this device (e.g. 'Galaxy S23', 'Pixel 7a'). Null when the model could not be resolved from the raw Android identifiers."
},
"raw_model": {
"type": "string",
"description": "Raw Android model identifier reported by the device (e.g. 'SM-G960F'). This is the value the device sends in Build.MODEL."
},
"device_uid": {
"type": "string",
"description": "Stable UUID identifying this device across snapshots."
},
"awake_ratio": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Fraction of observed time the device was awake / screen-on (normally between 0 and 1)."
},
"temperature_c": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Mean battery temperature in Celsius, across all snapshots. Null if no temperature samples."
},
"snapshot_count": {
"type": "integer",
"description": "Number of battery snapshots recorded for this device. Higher values mean the per-device aggregates are based on more samples and are more reliable."
},
"ac_charge_hours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Average hours to charge a full 100% on an AC wall charger. Lower is faster."
},
"discharge_hours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Average hours to discharge a full 100% while running on battery (e.g. 40 means the battery lasts ~40 h from full to empty at this device's usage). Higher is better battery life."
},
"usb_charge_hours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Average hours to charge a full 100% over USB (e.g. a computer port). Typically slower than AC."
},
"android_api_level": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Android SDK API level reported by the device (e.g. 28 = Pie, 34 = Android 14)."
},
"battery_level_pct": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Mean battery charge level across all snapshots, in percent (normally 0-100; may be outside that range for corrupted samples). Null if no level samples."
},
"max_temperature_c": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Hottest battery temperature in Celsius observed across all snapshots for this device. Sustained high values are a battery-health concern. Null if no temperature samples."
},
"min_temperature_c": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Coldest battery temperature in Celsius observed across all snapshots for this device. Null if no temperature samples."
},
"wireless_charge_hours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Average hours to charge a full 100% wirelessly. Null if the device never charged wirelessly."
}
}
}
}
},
"x-fastmcp-wrap-result": true
}{
"title": "Find devices by model",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}device_summary — Device battery summary
Return aggregated battery metrics for ONE specific device: average / min / max temperature, average battery level, mean charge time per power source (AC, USB, wireless) and mean discharge time over a recent (~2 weeks) and a long (~2 months) window, plus awake ratio and basic device info. Also includes `url`: the public BatterySnap web page for this device's interactive battery history (https://www.battery-snap.com/device_history?device=<uid>). All values are pre-computed from the device's full snapshot history — no raw timeseries is returned.
{
"type": "object",
"required": [
"device_uid"
],
"properties": {
"device_uid": {
"type": "string",
"description": "Stable device UUID returned by the `devices` tool."
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public BatterySnap web page showing this device's interactive battery history, e.g. https://www.battery-snap.com/device_history?device=<uid>. Locale-agnostic."
},
"brand": {
"type": "string",
"description": "Lowercase Android brand identifier."
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Human-readable resolved model name (e.g. 'Galaxy S23')."
},
"raw_model": {
"type": "string",
"description": "Raw Build.MODEL string reported by the device."
},
"device_uid": {
"type": "string",
"description": "Stable UUID identifying this device."
},
"awake_ratio": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Fraction of observed time the device was awake / screen-on (0..1)."
},
"observed_days": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Span of the recorded history in days, rounded to 30 days."
},
"temperature_c": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Mean battery temperature in Celsius across all snapshots."
},
"snapshot_count": {
"type": "integer",
"description": "Snapshots recorded for this device."
},
"android_api_level": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Android SDK level (e.g. 34 = Android 14)."
},
"battery_level_pct": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Mean battery charge level across all snapshots (0-100)."
},
"max_temperature_c": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Hottest battery temperature in Celsius ever observed. Sustained highs are a battery-health concern."
},
"min_temperature_c": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Coldest battery temperature in Celsius ever observed."
},
"ac_charge_hours_long": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Hours to charge 100% on AC over the last ~2 months."
},
"discharge_hours_long": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Average hours to discharge 100% over the last ~2 months."
},
"usb_charge_hours_long": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Hours to charge 100% over USB over the last ~2 months."
},
"ac_charge_hours_recent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Hours to charge 100% on AC (wall charger) over the last ~2 weeks."
},
"discharge_hours_recent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Average hours to discharge 100% over the last ~2 weeks. Null when not enough data."
},
"usb_charge_hours_recent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Hours to charge 100% over USB (computer) over the last ~2 weeks."
},
"wireless_charge_hours_long": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Hours to charge 100% wirelessly over the last ~2 months."
},
"wireless_charge_hours_recent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Hours to charge 100% wirelessly over the last ~2 weeks."
}
}
}{
"title": "Device battery summary",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}model_summary — Model battery summary
Aggregate battery metrics across ALL devices of a given brand+model. Returns mean / median / p25 / p75 / min / max for: temperature (C), battery level (%), discharge speed (hours per 100%), AC / USB / wireless charge speed (hours per 100%), and awake ratio. Use this to characterize how a model behaves in the field, or to compare a single device against its model average. Also includes: * `raw_model_code`: representative raw Android Build.MODEL identifier (the most common among devices grouped under this street name), or null if none recorded. * `url`: public BatterySnap web page for the model (https://www.battery-snap.com/brands/<brand>/models/<raw_model_code>); null when `raw_model_code` is null. Pass `country` and / or `continent` to restrict to devices of that region; the call fails when fewer than 5 devices of the model remain.
{
"type": "object",
"required": [
"brand",
"model"
],
"properties": {
"brand": {
"type": "string",
"description": "Lowercase Android brand identifier (e.g. 'samsung')."
},
"model": {
"type": "string",
"description": "Model name, matched against resolved street name (e.g. 'Galaxy S23') or raw Build.MODEL (e.g. 'SM-S911B')."
},
"country": {
"type": "string",
"description": "Optional ISO 3166 alpha-2 country code (e.g. 'FR', 'IN', 'US'), case-insensitive. Keeps only devices whose time zone belongs to that country. The region comes from the phone's time-zone setting, not GPS / IP."
},
"continent": {
"enum": [
"Africa",
"Antarctica",
"Asia",
"Europe",
"North America",
"Oceania",
"South America"
],
"type": "string",
"description": "Optional continent. Keeps only devices whose time zone lies there. Combine with `country` for an intersection."
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Public BatterySnap web page for this model. Built from `raw_model_code`; null when `raw_model_code` is null. Locale-agnostic."
},
"brand": {
"type": "string",
"description": "Lowercase Android brand identifier."
},
"model": {
"type": "string",
"description": "Resolved model name."
},
"region": {
"type": "string",
"description": "Present only when a region filter was applied, e.g. 'country:FR' or 'continent:Asia'."
},
"awake_ratio": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"device_count": {
"type": "integer",
"description": "Distinct devices of this model that reported snapshots."
},
"temperature_c": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"raw_model_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Representative raw Android Build.MODEL identifier (e.g. 'SM-S911B') — the most common model code among devices grouped under this street name (the smallest on a tie). Null when no device has a non-empty model code."
},
"snapshot_count": {
"type": "integer",
"description": "Sum of snapshots across all devices of this model."
},
"ac_charge_hours": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"discharge_hours": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"usb_charge_hours": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"battery_level_pct": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"wireless_charge_hours": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
}
}
}{
"title": "Model battery summary",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}fleet_totals — Fleet totals
Live fleet-wide counters: total devices, models, snapshots, sessions, the running snapshot-ingest rate (snapshots/sec) and the timing of the last insert batch. Use this for one-shot 'how big is the dataset / how fast is it growing' questions. Unlike `fleet_summary`, no per-device aggregation is involved — these are raw running counts from the database.
{
"type": "object",
"properties": {},
"additionalProperties": false
}{
"type": "object",
"properties": {
"model_count": {
"type": "integer",
"description": "Distinct resolved models (street names) across the fleet."
},
"device_count": {
"type": "integer",
"description": "Distinct devices that have ever reported a snapshot."
},
"session_count": {
"type": "integer",
"description": "Total reboot-bounded sessions recorded across all devices."
},
"snapshot_count": {
"type": "integer",
"description": "Total battery snapshots stored across all devices, taken from the running counter in the `globals` table."
},
"snapshot_insert_rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Exponentially-smoothed snapshot-ingest rate, in snapshots per second."
},
"last_snapshot_insert_time": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "ISO 8601 timestamp of the most recent snapshot-batch insert."
},
"last_snapshot_insert_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "Number of snapshots in the most recent insert batch."
}
}
}{
"title": "Fleet totals",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}fleet_summary — Fleet battery summary
Aggregate battery metrics across the entire fleet, or across one brand when `brand` is provided, optionally restricted to one `country` / `continent`. Returns mean / median / p25 / p75 / min / max for the same set of metrics as `model_summary`. Use this for fleet-wide baselines that a single device or model can be compared against. A region scope with fewer than 5 devices is refused; to compare several regions at once use `region_summary`.
{
"type": "object",
"properties": {
"brand": {
"type": "string",
"description": "Optional lowercase brand identifier. If set, aggregates across that brand only; otherwise across the entire fleet."
},
"country": {
"type": "string",
"description": "Optional ISO 3166 alpha-2 country code (e.g. 'FR', 'IN', 'US'), case-insensitive. Keeps only devices whose time zone belongs to that country. The region comes from the phone's time-zone setting, not GPS / IP."
},
"continent": {
"enum": [
"Africa",
"Antarctica",
"Asia",
"Europe",
"North America",
"Oceania",
"South America"
],
"type": "string",
"description": "Optional continent. Keeps only devices whose time zone lies there. Combine with `country` for an intersection."
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public BatterySnap page of the brand, or of all brands for the whole fleet."
},
"scope": {
"type": "string",
"description": "'fleet' for the whole fleet, else the comma-joined filters applied, e.g. 'brand:samsung', 'country:FR' or 'brand:samsung,continent:Asia'."
},
"awake_ratio": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"model_count": {
"type": "integer",
"description": "Distinct resolved models in scope."
},
"device_count": {
"type": "integer",
"description": "Distinct devices in scope."
},
"temperature_c": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"snapshot_count": {
"type": "integer",
"description": "Sum of snapshots across all devices in scope."
},
"ac_charge_hours": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"discharge_hours": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"usb_charge_hours": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"battery_level_pct": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"wireless_charge_hours": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
}
}
}{
"title": "Fleet battery summary",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}region_summary — Battery stats by region
Compare battery behaviour across regions in one call: one entry per continent or per country, each with the same mean / median / p25 / p75 / min / max blocks as `fleet_summary` (temperature, level, discharge and charge hours, awake ratio). Narrow with `brand` / `model` (e.g. how one model fares per continent) or with `continent` (e.g. group_by='country' within 'Africa'). The region is derived from the time zone the phone is set to (not GPS / IP), so travellers and manual settings blur it. Regions with fewer than 5 devices are left out and only counted (`suppressed_*`), as are devices whose time zone names no place (`unlocated_device_count`); check each group's `device_count` before comparing — small groups are noisy.
{
"type": "object",
"properties": {
"brand": {
"type": "string",
"description": "Optional lowercase brand filter."
},
"model": {
"type": "string",
"description": "Optional model filter — matches resolved street name or raw Build.MODEL, case-insensitive."
},
"country": {
"type": "string",
"description": "Optional ISO 3166 alpha-2 country code (e.g. 'FR', 'IN', 'US'), case-insensitive. Keeps only devices whose time zone belongs to that country. The region comes from the phone's time-zone setting, not GPS / IP."
},
"group_by": {
"enum": [
"continent",
"country"
],
"type": "string",
"default": "continent",
"description": "'continent' (default) or 'country' (ISO 3166 alpha-2)."
},
"continent": {
"enum": [
"Africa",
"Antarctica",
"Asia",
"Europe",
"North America",
"Oceania",
"South America"
],
"type": "string",
"description": "Optional continent. Keeps only devices whose time zone lies there. Combine with `country` for an intersection."
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"scope": {
"type": "string",
"description": "'fleet', or the comma-joined filters applied (e.g. 'brand:samsung,continent:Europe')."
},
"groups": {
"type": "array",
"items": {
"type": "object",
"properties": {
"country": {
"type": "string",
"description": "ISO 3166 alpha-2 country code of this group (group_by='country')."
},
"continent": {
"type": "string",
"description": "Continent of this group (group_by='continent')."
},
"awake_ratio": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"country_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "English country name (group_by='country')."
},
"device_count": {
"type": "integer",
"description": "Distinct devices in this group."
},
"temperature_c": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"snapshot_count": {
"type": "integer",
"description": "Sum of snapshots across the group's devices."
},
"ac_charge_hours": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"discharge_hours": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"usb_charge_hours": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"battery_level_pct": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
},
"wireless_charge_hours": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"description": "Number of devices contributing a non-null value to this stat."
},
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest per-device value observed."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest per-device value observed."
},
"p25": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "25th percentile across devices."
},
"p75": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "75th percentile across devices."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Arithmetic mean across devices that reported this metric."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "50th percentile (p50) across devices."
}
}
}
}
},
"description": "One entry per region with enough devices, most devices first."
},
"group_by": {
"type": "string",
"description": "'continent' or 'country'."
},
"min_devices_per_group": {
"type": "integer",
"description": "Groups with fewer devices than this are left out of `groups` and only counted below."
},
"suppressed_group_count": {
"type": "integer",
"description": "Regions left out for having too few devices."
},
"unlocated_device_count": {
"type": "integer",
"description": "Devices whose time zone names no place (UTC, GMT, unset): in no group, only counted here."
},
"suppressed_device_count": {
"type": "integer",
"description": "Devices in those left-out regions."
}
}
}{
"title": "Battery stats by region",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}top_devices_by_uptime — Top devices by uptime
Return the devices with the longest single uptime ever recorded between reboots (max_elapsed_time). Optionally filter by brand and/or model. Useful to find which physical phones in the fleet are champions of staying powered on for weeks/months at a time. Each entry includes a `device_uid` you can feed into `device_summary` for deeper analysis, and a `url` pointing at the device's interactive battery history page on https://www.battery-snap.com.
{
"type": "object",
"properties": {
"brand": {
"type": "string",
"description": "Optional lowercase brand filter. When omitted, devices from any brand are ranked together."
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1,
"description": "Number of devices to return, 1..100."
},
"model": {
"type": "string",
"description": "Optional model filter — matches resolved street name or raw Build.MODEL, case-insensitive. When omitted, no model filter applies."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public BatterySnap web page showing this device's interactive battery history, e.g. https://www.battery-snap.com/device_history?device=<uid>. Locale-agnostic."
},
"brand": {
"type": "string",
"description": "Lowercase Android brand identifier."
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Resolved model name (street name), e.g. 'Galaxy S23'."
},
"is_live": {
"type": "boolean",
"description": "True when the device has not yet rebooted past this max and was seen in the last week — the uptime is still climbing live."
},
"raw_model": {
"type": "string",
"description": "Raw Build.MODEL identifier reported by the device."
},
"device_uid": {
"type": "string",
"description": "Stable UUID identifying this device."
},
"max_uptime_hours": {
"type": "number",
"description": "Same value as max_uptime_seconds, in hours."
},
"max_uptime_seconds": {
"type": "integer",
"description": "Longest single uptime ever recorded between reboots, in seconds."
}
}
}
}
},
"x-fastmcp-wrap-result": true
}{
"title": "Top devices by uptime",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}top_devices_by_live_uptime — Top devices by live uptime
Same as `top_devices_by_uptime`, but restricted to devices that have not yet rebooted past their recorded maximum and were seen in the last week — meaning the uptime is currently still climbing. These are the devices that are 'live' champions right now, as opposed to historical record-holders. Each entry includes a `url` pointing at the device's interactive battery history page on https://www.battery-snap.com.
{
"type": "object",
"properties": {
"brand": {
"type": "string",
"description": "Optional lowercase brand filter. When omitted, devices from any brand are ranked together."
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1,
"description": "Number of devices to return, 1..100."
},
"model": {
"type": "string",
"description": "Optional model filter — matches resolved street name or raw Build.MODEL, case-insensitive. When omitted, no model filter applies."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public BatterySnap web page showing this device's interactive battery history, e.g. https://www.battery-snap.com/device_history?device=<uid>. Locale-agnostic."
},
"brand": {
"type": "string",
"description": "Lowercase Android brand identifier."
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Resolved model name (street name), e.g. 'Galaxy S23'."
},
"is_live": {
"type": "boolean",
"description": "True when the device has not yet rebooted past this max and was seen in the last week — the uptime is still climbing live."
},
"raw_model": {
"type": "string",
"description": "Raw Build.MODEL identifier reported by the device."
},
"device_uid": {
"type": "string",
"description": "Stable UUID identifying this device."
},
"max_uptime_hours": {
"type": "number",
"description": "Same value as max_uptime_seconds, in hours."
},
"max_uptime_seconds": {
"type": "integer",
"description": "Longest single uptime ever recorded between reboots, in seconds."
}
}
}
}
},
"x-fastmcp-wrap-result": true
}{
"title": "Top devices by live uptime",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}top_devices — Rank devices by metric
Rank INDIVIDUAL devices by any battery metric — the general-purpose leaderboard. Use it for 'which phones run hottest / last longest / charge fastest', optionally narrowed to one brand and/or model. Returns at most `limit` rows, so it answers superlative questions in a single small call instead of enumerating the fleet. Pair the metric with the right `order`: hottest = temperature_c + desc, fastest AC charging = ac_charge_hours + asc, best battery life = discharge_hours + desc. To compare phones the user names, call `model_summary` for each of them instead. Ranking is over each device's own lifetime aggregate. There is no region filter here: regional questions go to the aggregates (`region_summary`, `top_models`, `fleet_summary`).
{
"type": "object",
"required": [
"metric"
],
"properties": {
"brand": {
"type": "string",
"description": "Optional lowercase brand filter. When omitted, devices from any brand are ranked together."
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1,
"description": "Number of devices to return, 1..100."
},
"model": {
"type": "string",
"description": "Optional model filter — matches resolved street name or raw Build.MODEL, case-insensitive. When omitted, no model filter applies."
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc",
"description": "'desc' (default) ranks the highest values first, 'asc' the lowest. Pick the direction that matches the question: fastest charging is ac_charge_hours + asc; longest battery life is discharge_hours + desc."
},
"metric": {
"enum": [
"temperature_c",
"max_temperature_c",
"min_temperature_c",
"battery_level_pct",
"discharge_hours",
"ac_charge_hours",
"usb_charge_hours",
"wireless_charge_hours",
"awake_ratio",
"snapshot_count",
"uptime_hours"
],
"type": "string",
"description": "Which battery metric to rank on. One of: 'temperature_c' (mean battery temperature, C), 'max_temperature_c' / 'min_temperature_c' (hottest / coldest ever seen, C), 'battery_level_pct' (mean charge level, 0-100), 'discharge_hours' (hours to drain a full 100% - HIGHER means longer battery life), 'ac_charge_hours' / 'usb_charge_hours' / 'wireless_charge_hours' (hours to charge a full 100% on that source - LOWER means faster charging), 'awake_ratio' (fraction of time awake / screen-on, 0..1), 'snapshot_count' (how much data the device contributed), 'uptime_hours' (longest single uptime between reboots)."
},
"min_snapshots": {
"type": "integer",
"default": 100,
"minimum": 0,
"description": "Ignore devices with fewer snapshots than this. Defaults to 100, which filters out barely-sampled devices whose averages are meaningless. Lower it only when a query returns too few rows."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public BatterySnap page with this device's interactive battery history."
},
"brand": {
"type": "string",
"description": "Lowercase Android brand identifier."
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Resolved model name (street name), e.g. 'Galaxy S23'."
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "The requested metric's value for this device, in the unit documented for that metric."
},
"raw_model": {
"type": "string",
"description": "Raw Build.MODEL identifier reported by the device."
},
"device_uid": {
"type": "string",
"description": "Stable UUID identifying this device; feed it to `device_summary` or `device_ranking`."
},
"snapshot_count": {
"type": "integer",
"description": "Snapshots behind this device's aggregate — low counts mean a noisy value."
}
}
}
}
},
"x-fastmcp-wrap-result": true
}{
"title": "Rank devices by metric",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}top_models — Rank models by metric
Rank device MODELS by any battery metric, aggregating across every device of that model. This is the tool for 'which phone model has the best battery life', 'which models charge fastest', 'which run hottest' — questions that would otherwise need one `model_summary` call per model. Pair the metric with the right `order`: hottest = temperature_c + desc, fastest AC charging = ac_charge_hours + asc, best battery life = discharge_hours + desc. To compare phones the user names, call `model_summary` for each of them instead. Ordering is by the per-model MEDIAN of the metric (outlier-resistant); the mean is returned alongside. Use `brand` to rank within one manufacturer and `min_devices` to require a minimum sample size. `country` / `continent` rank the models as they behave in one region (e.g. heat in hot climates).
{
"type": "object",
"required": [
"metric"
],
"properties": {
"brand": {
"type": "string",
"description": "Optional lowercase brand filter. When omitted, devices from any brand are ranked together."
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1,
"description": "Number of devices to return, 1..100."
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc",
"description": "'desc' (default) ranks the highest values first, 'asc' the lowest. Pick the direction that matches the question: fastest charging is ac_charge_hours + asc; longest battery life is discharge_hours + desc."
},
"metric": {
"enum": [
"temperature_c",
"max_temperature_c",
"min_temperature_c",
"battery_level_pct",
"discharge_hours",
"ac_charge_hours",
"usb_charge_hours",
"wireless_charge_hours",
"awake_ratio",
"snapshot_count",
"uptime_hours"
],
"type": "string",
"description": "Which battery metric to rank on. One of: 'temperature_c' (mean battery temperature, C), 'max_temperature_c' / 'min_temperature_c' (hottest / coldest ever seen, C), 'battery_level_pct' (mean charge level, 0-100), 'discharge_hours' (hours to drain a full 100% - HIGHER means longer battery life), 'ac_charge_hours' / 'usb_charge_hours' / 'wireless_charge_hours' (hours to charge a full 100% on that source - LOWER means faster charging), 'awake_ratio' (fraction of time awake / screen-on, 0..1), 'snapshot_count' (how much data the device contributed), 'uptime_hours' (longest single uptime between reboots)."
},
"country": {
"type": "string",
"description": "Optional ISO 3166 alpha-2 country code (e.g. 'FR', 'IN', 'US'), case-insensitive. Keeps only devices whose time zone belongs to that country. The region comes from the phone's time-zone setting, not GPS / IP."
},
"continent": {
"enum": [
"Africa",
"Antarctica",
"Asia",
"Europe",
"North America",
"Oceania",
"South America"
],
"type": "string",
"description": "Optional continent. Keeps only devices whose time zone lies there. Combine with `country` for an intersection."
},
"min_devices": {
"type": "integer",
"default": 3,
"minimum": 1,
"description": "Ignore models backed by fewer devices than this. Defaults to 3 so a single outlier phone cannot win a ranking. Raise it for more robust comparisons. Raised to at least 5 when a region filter is set."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Public BatterySnap page for this model; null when raw_model_code is null."
},
"brand": {
"type": "string",
"description": "Lowercase Android brand identifier."
},
"model": {
"type": "string",
"description": "Resolved model name (street name)."
},
"mean_value": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Mean of the metric across the model's devices."
},
"device_count": {
"type": "integer",
"description": "Distinct devices of this model contributing a value."
},
"median_value": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median of the metric across the model's devices — the value the ranking is ordered by, as it resists outliers."
},
"raw_model_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Representative raw Build.MODEL identifier for URL building."
},
"snapshot_count": {
"type": "integer",
"description": "Total snapshots behind this model's devices."
}
}
}
}
},
"x-fastmcp-wrap-result": true
}{
"title": "Rank models by metric",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}device_ranking — Compare a device to its peers
Answer 'is MY phone normal?' — rank one device's metric against other devices of the same model AND against the whole fleet, in one call. Returns the device's value, its 1-based rank, its percentile, and the cohort median / mean / min / max for both cohorts. Prefer this over fetching `device_summary` + `model_summary` and comparing by hand: it is a single call and gives the percentile directly. The model cohort is the meaningful one for 'is this device degraded'; the fleet cohort puts the model itself in context.
{
"type": "object",
"required": [
"device_uid"
],
"properties": {
"metric": {
"enum": [
"temperature_c",
"max_temperature_c",
"min_temperature_c",
"battery_level_pct",
"discharge_hours",
"ac_charge_hours",
"usb_charge_hours",
"wireless_charge_hours",
"awake_ratio",
"snapshot_count",
"uptime_hours"
],
"type": "string",
"default": "discharge_hours",
"description": "Which battery metric to rank on. One of: 'temperature_c' (mean battery temperature, C), 'max_temperature_c' / 'min_temperature_c' (hottest / coldest ever seen, C), 'battery_level_pct' (mean charge level, 0-100), 'discharge_hours' (hours to drain a full 100% - HIGHER means longer battery life), 'ac_charge_hours' / 'usb_charge_hours' / 'wireless_charge_hours' (hours to charge a full 100% on that source - LOWER means faster charging), 'awake_ratio' (fraction of time awake / screen-on, 0..1), 'snapshot_count' (how much data the device contributed), 'uptime_hours' (longest single uptime between reboots)."
},
"device_uid": {
"type": "string",
"description": "Stable device UUID returned by `devices`, `top_devices` or the share flow."
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public BatterySnap page with this device's interactive battery history."
},
"brand": {
"type": "string",
"description": "Lowercase Android brand identifier."
},
"fleet": {
"type": "object",
"properties": {
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest value in the cohort."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest value in the cohort."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Cohort arithmetic mean."
},
"rank": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "1-based rank of this device within the cohort, 1 = highest value. Null when the device has no value."
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "This device's value for the metric. Null when the device has no value recorded."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Cohort median — the fair 'typical' value to compare against."
},
"percentile": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Fraction of the cohort scoring strictly BELOW this device (0..1). 0.9 means it is higher than 90% of the cohort — whether that is good or bad depends on the metric."
},
"cohort_size": {
"type": "integer",
"description": "Number of devices in this cohort that have a value for the metric."
}
},
"description": "Rank against every device in the fleet, all models mixed."
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Resolved model name (street name)."
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "This device's value for the metric."
},
"metric": {
"type": "string",
"description": "The metric that was ranked."
},
"raw_model": {
"type": "string",
"description": "Raw Build.MODEL identifier."
},
"device_uid": {
"type": "string",
"description": "The device that was ranked."
},
"model_cohort": {
"type": "object",
"properties": {
"max": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Highest value in the cohort."
},
"min": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Lowest value in the cohort."
},
"mean": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Cohort arithmetic mean."
},
"rank": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "1-based rank of this device within the cohort, 1 = highest value. Null when the device has no value."
},
"value": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "This device's value for the metric. Null when the device has no value recorded."
},
"median": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Cohort median — the fair 'typical' value to compare against."
},
"percentile": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Fraction of the cohort scoring strictly BELOW this device (0..1). 0.9 means it is higher than 90% of the cohort — whether that is good or bad depends on the metric."
},
"cohort_size": {
"type": "integer",
"description": "Number of devices in this cohort that have a value for the metric."
}
},
"description": "Rank against other devices of the SAME brand + model — the fair like-for-like comparison."
},
"snapshot_count": {
"type": "integer",
"description": "Snapshots behind this device's aggregate."
}
}
}{
"title": "Compare a device to its peers",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}search — Search brands and models
Resolve free-form user text into the canonical brand / model identifiers the other tools expect. Meant for phones named in free text: the other tools match brands and models exactly, so a guessed spelling returns an empty list. Matching is case-insensitive: every word of the query in the brand or resolved model name, or the whole query in the raw Build.MODEL, ranked by exact match then popularity; '+' and 'plus' are the same word. When nothing matches, glued words are split ('galaxys24') and misspelt ones corrected to the closest known brand / model word, the search is rerun and `corrected_query` says how the query was read. When even that finds nothing ('honor 600', a phone no BatterySnap user has), `brands` and `models` stay empty and `closest_models` lists the nearest phones with data ('honor': HONOR 400, ...), to offer instead.
{
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1,
"description": "Maximum brand hits and model hits to return (each list is capped separately)."
},
"query": {
"type": "string",
"minLength": 1,
"description": "Free text: a brand ('samsug'), a model name ('pixel 8'), a raw Build.MODEL code ('SM-S911B'), or both ('samsung galaxy s23')."
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The query that was resolved."
},
"brands": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public BatterySnap page for the brand."
},
"brand": {
"type": "string",
"description": "Canonical lowercase brand identifier to pass to the other tools."
},
"device_count": {
"type": "integer",
"description": "Devices recorded for this brand."
}
}
},
"description": "Matching brands, best match first."
},
"models": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Public BatterySnap page for the model; null when raw_model_code is null."
},
"brand": {
"type": "string",
"description": "Canonical lowercase brand identifier."
},
"model": {
"type": "string",
"description": "Canonical resolved model name (street name) to pass to the other tools."
},
"device_count": {
"type": "integer",
"description": "Devices recorded for this model."
},
"raw_model_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Representative raw Build.MODEL identifier."
}
}
},
"description": "Matching models, best match first."
},
"closest_for": {
"type": "string",
"description": "Present only when nothing matches, even corrected: the shorter query (words dropped, model numbers first) the closest_* lists were found for."
},
"closest_brands": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public BatterySnap page for the brand."
},
"brand": {
"type": "string",
"description": "Canonical lowercase brand identifier to pass to the other tools."
},
"device_count": {
"type": "integer",
"description": "Devices recorded for this brand."
}
}
},
"description": "When nothing matches: the brands of closest_for. Not the phone asked: BatterySnap has no data for it yet."
},
"closest_models": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Public BatterySnap page for the model; null when raw_model_code is null."
},
"brand": {
"type": "string",
"description": "Canonical lowercase brand identifier."
},
"model": {
"type": "string",
"description": "Canonical resolved model name (street name) to pass to the other tools."
},
"device_count": {
"type": "integer",
"description": "Devices recorded for this model."
},
"raw_model_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Representative raw Build.MODEL identifier."
}
}
},
"description": "When nothing matches: models of closest_for that BatterySnap has data for, the nearest model number first. Not the phone asked: offer them instead."
},
"corrected_query": {
"type": "string",
"description": "Present only when the query as typed matched nothing: the misspelling-corrected query these results are for, a guess to mention in the answer."
}
}
}{
"title": "Search brands and models",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}compare_models — Compare phone models
Compare phone models or brands side by side in one call: resolves each name like `search`, then returns each one's median battery life, charge times per charger, temperature and awake ratio, with its device count. Use it for any question comparing two or more phones or brands, or one against the typical phone (`include_fleet`). The closest model is used for each name (exact name first, then the most devices); `other_matches` lists the rest so the answer can say which one was used. Durations are hours per full 100 %.
{
"type": "object",
"required": [
"queries"
],
"properties": {
"queries": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 4,
"minItems": 1,
"description": "The phone models or brands named in free text, e.g. ['galaxy s23', 'pixel 8'] or ['tecno', 'samsung']: two to four, or one with include_fleet."
},
"include_fleet": {
"type": "boolean",
"default": false,
"description": "Also return the typical phone (all devices) as a reference, for 'better than average' questions."
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"note": {
"type": "string",
"description": "Present when a name matched several models: which one was used."
},
"fleet": {
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Public BatterySnap page for the model."
},
"brand": {
"type": "string",
"description": "Canonical lowercase brand identifier."
},
"error": {
"type": "string",
"description": "Why this phone has no figures (no match, no data)."
},
"model": {
"type": "string",
"description": "Resolved model name (street name) the figures are for; 'all <brand> phones' for a brand."
},
"query": {
"type": "string",
"description": "The phone name as asked."
},
"scope": {
"enum": [
"model",
"brand"
],
"type": "string",
"description": "'model': one model's devices; 'brand': all the brand's devices (a name with a brand and no model number, e.g. 'TECNO phones')."
},
"awake_ratio": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median share of time awake, 0..1."
},
"device_count": {
"type": "integer",
"description": "Devices behind the figures; under 5 = uncertain."
},
"other_matches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Public BatterySnap page for the model."
},
"model": {
"type": "string",
"description": "Model name (street name)."
},
"device_count": {
"type": "integer",
"description": "Devices of that model."
}
}
},
"description": "Other models the name also matched, with their device counts and pages."
},
"temperature_c": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median battery temperature, °C; lower = runs cooler."
},
"ac_charge_hours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median AC charge time, hours per 100 %; fewer = charges faster."
},
"closest_matches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Public BatterySnap page for the model."
},
"model": {
"type": "string",
"description": "Model name (street name)."
},
"device_count": {
"type": "integer",
"description": "Devices of that model."
}
}
},
"description": "With a 'no model matches' error: the nearest phones BatterySnap has data for, with their device counts and pages, to offer instead."
},
"discharge_hours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median battery life on one charge, hours per 100 %; more = lasts longer."
},
"usb_charge_hours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median USB charge time, hours per 100 %; fewer = charges faster."
},
"battery_level_pct": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median battery level, %."
},
"wireless_charge_hours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median wireless charge time, hours per 100 %; fewer = charges faster."
}
},
"description": "The typical phone (median of all devices); only with include_fleet."
},
"phones": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Public BatterySnap page for the model."
},
"brand": {
"type": "string",
"description": "Canonical lowercase brand identifier."
},
"error": {
"type": "string",
"description": "Why this phone has no figures (no match, no data)."
},
"model": {
"type": "string",
"description": "Resolved model name (street name) the figures are for; 'all <brand> phones' for a brand."
},
"query": {
"type": "string",
"description": "The phone name as asked."
},
"scope": {
"enum": [
"model",
"brand"
],
"type": "string",
"description": "'model': one model's devices; 'brand': all the brand's devices (a name with a brand and no model number, e.g. 'TECNO phones')."
},
"awake_ratio": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median share of time awake, 0..1."
},
"device_count": {
"type": "integer",
"description": "Devices behind the figures; under 5 = uncertain."
},
"other_matches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Public BatterySnap page for the model."
},
"model": {
"type": "string",
"description": "Model name (street name)."
},
"device_count": {
"type": "integer",
"description": "Devices of that model."
}
}
},
"description": "Other models the name also matched, with their device counts and pages."
},
"temperature_c": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median battery temperature, °C; lower = runs cooler."
},
"ac_charge_hours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median AC charge time, hours per 100 %; fewer = charges faster."
},
"closest_matches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Public BatterySnap page for the model."
},
"model": {
"type": "string",
"description": "Model name (street name)."
},
"device_count": {
"type": "integer",
"description": "Devices of that model."
}
}
},
"description": "With a 'no model matches' error: the nearest phones BatterySnap has data for, with their device counts and pages, to offer instead."
},
"discharge_hours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median battery life on one charge, hours per 100 %; more = lasts longer."
},
"usb_charge_hours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median USB charge time, hours per 100 %; fewer = charges faster."
},
"battery_level_pct": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median battery level, %."
},
"wireless_charge_hours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"description": "Median wireless charge time, hours per 100 %; fewer = charges faster."
}
}
},
"description": "One row per phone asked, in the order asked."
}
}
}{
"title": "Compare phone models",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}Prompts
0 advertised
Resources
1 advertised
device_summary_app
UI resource (MCP Apps) that renders a device's interactive battery history.
ui://device_summary/app.html90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 4 of 4 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 2 of 2 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 4 of 4 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
- 2026-11-28: 3 of 3 checks answered
- 2026-11-29: 4 of 4 checks answered
- 2026-11-30: 4 of 4 checks answered
- 2026-12-01: 4 of 4 checks answered
- 2026-12-02: 4 of 4 checks answered
- 2026-12-03: 1 of 1 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 3 of 3 (100%)
- Average latency
- 2805 ms
- 95th percentile latency
- 2917 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 2715 ms · metadata changed · 15 tool(s), 1 resource(s), 0 resource template(s), 0 prompt(s)
- · probe · passed · 2767 ms · 14 tool(s), 1 resource(s), 0 resource template(s), 0 prompt(s)
- · probe · passed · 2934 ms · metadata changed · 14 tool(s), 1 resource(s), 0 resource template(s), 0 prompt(s)
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Try asking
Reviewed prompts from cited playbooks. Connect the listed servers before using them.
What are the average temperature and charge times for the Pixel 6 Pro?Show me the top 5 Samsung devices ranked by longest battery discharge time.Agent playbooks using this server
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http batterysnap-mcp https://mcp.battery-snap.com/mcpCodex
codex mcp add batterysnap-mcp --url https://mcp.battery-snap.com/mcpCursor
{
"mcpServers": {
"batterysnap-mcp": {
"url": "https://mcp.battery-snap.com/mcp"
}
}
}Cline
{
"mcpServers": {
"batterysnap-mcp": {
"type": "streamableHttp",
"url": "https://mcp.battery-snap.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"batterysnap-mcp": {
"type": "http",
"url": "https://mcp.battery-snap.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http batterysnap-mcp https://mcp.battery-snap.com/mcpClaude Desktop
https://mcp.battery-snap.com/mcpWindsurf
{
"mcpServers": {
"batterysnap-mcp": {
"serverUrl": "https://mcp.battery-snap.com/mcp"
}
}
}Let your agent find its tools
Find servers like BatterySnap MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other data and analytics servers
Do you run BatterySnap MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.