Tymewear
FreeNot checkedConnects Claude to Tyme Wear's breathing sensor platform to analyze ventilatory data, activities, thresholds, and training zones.
About
Connects Claude to Tyme Wear's breathing sensor platform to analyze ventilatory data, activities, thresholds, and training zones.
README
A Model Context Protocol server that connects Claude to the Tyme Wear breathing sensor platform. Analyze your ventilatory data, activities, thresholds, and training zones directly through Claude.
Built on the same architecture as trainingpeaks-mcp.
What is Tyme Wear?
Tyme Wear makes the VitalPro chest strap, a wearable breathing sensor that measures ventilatory metrics (breathing rate, tidal volume, minute ventilation) alongside heart rate. It uses ventilatory thresholds (VT1, VT2) to define personalized training zones. Used by Team Visma | Lease a Bike.
Features
- 20 MCP tools for profile, activities, breathing data, VE thresholds, zone distributions, max values, and exports
- Secure credential storage via system keyring (macOS Keychain / Windows Credential Manager) with AES-256-GCM encrypted file fallback
- Auto-authentication with token caching and automatic re-auth on expiry
- Smart breathing data with summary, window, and full modes to avoid context overflow
Quick Start
1. Install
git clone https://github.com/tkelkermans/tymewear-mcp.git
cd tymewear-mcp
python -m venv .venv
source .venv/bin/activate
pip install -e .
2. Authenticate
tymewear-mcp auth
Enter your Tyme Wear email and password. Credentials are stored securely in your system keyring with an encrypted file fallback.
3. Configure Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"tymewear": {
"command": "/path/to/tymewear-mcp/.venv/bin/tymewear-mcp",
"args": ["serve"]
}
}
}
Or run tymewear-mcp config to generate the snippet with the correct path.
4. Restart Claude Desktop
The Tyme Wear tools will appear in Claude's tool list.
CLI Commands
| Command | Description |
|---|---|
tymewear-mcp auth |
Store Tyme Wear credentials (interactive or --email/--password) |
tymewear-mcp auth-status |
Check if stored credentials are valid |
tymewear-mcp auth-clear |
Remove stored credentials |
tymewear-mcp config |
Output Claude Desktop config snippet |
tymewear-mcp serve |
Start the MCP server (stdio transport) |
Available Tools
Auth & Profile
| Tool | Description |
|---|---|
tw_auth_status |
Check authentication status and token validity |
tw_get_profile |
Get athlete profile: weight, height, VE targets (VT1, BP, VT2, VO2max) per sport, subscription status, external accounts |
tw_update_profile |
Update profile fields (weight, height, units) |
Activities
| Tool | Description |
|---|---|
tw_get_activities |
List activities with cursor pagination, filter by sport type (1=run, 2=bike) |
tw_get_activity |
Full activity detail: duration, thresholds, zones, TSS, firmware, third-party links |
tw_get_activity_status |
Algorithm processing status for an activity |
tw_pin_activity |
Pin/unpin an activity for threshold detection |
tw_get_pinned_activity |
Get currently pinned activity |
tw_delete_activity |
Delete an activity (irreversible) |
Breathing Data
| Tool | Description |
|---|---|
tw_get_processed_data |
Per-second breathing time-series with 3 modes: summary (aggregated stats — default), window (raw data for a time range), full (all records) |
tw_get_new_processed_data |
New-format processed data (if available for the activity) |
Thresholds & Zones
| Tool | Description |
|---|---|
tw_get_ve_targets |
Current VE targets (VT1, BP, VT2, VO2max) per sport |
tw_get_zone_distribution |
Zone time distribution across activities |
tw_tag_threshold |
Tag a ventilatory threshold (vt1, vt2, bp, vo2max) from a specific activity |
tw_tag_new_zone |
Tag a new-model zone value (fatmax, vt1, vt2, vo2max) from a specific activity |
Max Values
| Tool | Description |
|---|---|
tw_get_max_value_detections |
List pending max value detection notifications |
tw_respond_max_value |
Accept or dismiss a detected max value |
Exports
| Tool | Description |
|---|---|
tw_export_csv |
Export activity as CSV |
tw_export_csv_full |
Export full CSV with all data channels |
tw_export_fit |
Export activity as FIT file |
Example Prompts
Once configured, you can ask Claude things like:
- "Show me my last 10 bike activities"
- "Analyze the breathing data from my ride yesterday — what were my average VE and time in each zone?"
- "What are my current VT1 and VT2 thresholds for cycling?"
- "Export my last activity as a FIT file"
- "Compare my VE targets between running and cycling"
Security
- Credentials stored in system keyring (preferred) or AES-256-GCM encrypted file with PBKDF2 key derivation (600K iterations, machine-specific salt)
- Tokens and credentials are never returned in MCP tool results (sanitized before reaching Claude)
- Environment variable auth available for CI/containers:
TYMEWEAR_EMAIL+TYMEWEAR_PASSWORD - File permissions set to 600 (owner read/write only) on encrypted credential files
Architecture
tymewear-mcp/
├── src/tymewear_mcp/
│ ├── cli.py # CLI entry point
│ ├── server.py # MCP server + 20 tool registrations
│ ├── auth/ # Credential storage (keyring → encrypted → env)
│ ├── client/ # Async HTTP client + Pydantic models
│ └── tools/ # Tool implementations
└── tests/ # 53 tests
Tech stack: Python 3.10+, MCP SDK, httpx, Pydantic, keyring, cryptography
Development
pip install -e ".[dev]"
pytest tests/ -v # Run tests
ruff check src/ # Lint
mypy src/ # Type check
License
MIT
Install Tymewear in Claude Desktop, Claude Code & Cursor
unyly install tymewear-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add tymewear-mcp -- uvx --from git+https://github.com/tkelkermans/tymewear-mcp tymewear-mcpFAQ
Is Tymewear MCP free?
Yes, Tymewear MCP is free — one-click install via Unyly at no cost.
Does Tymewear need an API key?
No, Tymewear runs without API keys or environment variables.
Is Tymewear hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Tymewear in Claude Desktop, Claude Code or Cursor?
Open Tymewear on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Tymewear with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
