OPPO Health export: LSPosed hook 提取加密健康数据 + 标准 MCP server 接口 (v5.0.0)
Doc 导航:English README · AI Agent Guide · MCP tool schemas
通过 LSPosed hook 从 OPPO/欢太健康 App 导出加密健康数据,经标准 MCP (Model Context Protocol) 接口接入任意 AI agent 分析。
- 手机端:LSPosed/libxposed 模块 hook OPPO 健康的 SQLCipher 加解密方法拿到密钥,逐表流式分批导出,按 ===TABLE:TIMECOL:=== 分节 + 增量水位(/api/cursor)只导新增,每满 2 万行一个分块上传。 - 服务端:server/mcpserver.py 是标准 MCP server(stdio),暴露 health 工具,任意 MCP 客户端可接入;行哈希 rowhash UNIQUE 幂等入库,杜绝重复。
1. 从 libxposed/api 下载最新的 .aar,解压出 classes.jar,重命名为 libxposed-api.jar 放到 android/app/libs/。 2. 配置 SDK(android/local.properties 写 sdk.dir=),compileSdk=34。 3. 构建:
4. 安装 app/build/outputs/apk/debug/app-debug.apk,在 LSPosed 里启用,勾选作用域 com.heytap.health。
模块依赖 libxposed API,不能打包进 APK(compileOnly)。
注册到任意 MCP 客户端(如 Hermes ~/.hermes/config.yaml):
工具 功能 ------ healthingest 接收增量分节数据(幂等入库 + 更新水位) healthwatermark 查询各表水位(增量同步游标) healthlisttables / healthstats 列出表 / 统计概览 healthquery 按时间/列查询已入库数据 healthschema 表结构
- 5.1.0:分块批次去重 — 上传 meta 携带 batchid/final/totalchunks,服务端仅对最后一个分块触发一次分析,杜绝一次导出多次重复分析。 - 5.0.0:MCP 规范化服务端 + 模块版本对齐;增量水位/流式分片/分块上传/幂等去重。
MIT — 源码;libxposed-api.jar 属其原作者,按 LGPL-3.0 分发。
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/foxlesbiao--oppo-health-export.html)
Open-source, multi-platform harness for AI agents — a native, multi-threaded operator's console (JVM, not Electron) to run Claude Code, Codex, Gemini or OpenCode with a real browser, terminal, editor,
bilieebiliee1-design/SOMCPAndroid-native SO reverse engineering MCP server
Cazriel/mcp-serverAndroid MCP server exposing device tools over HTTP.
aoreshkov/kotlin-lib-mcpMCP server exposing the sources, public API and KDoc of Maven-published Kotlin/Java libraries
GRAINALCOHOL/linkie-mcpMCP server that exposes Linkie's deobfuscated Minecraft mappings as tools for LLM clients — search classes, methods and fields across yarn/mojang namespaces and fetch decompiled source.
maciejewskii/solver-mcpGeneral-purpose Timefold-powered MCP solver server for AI agents
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.