RC

rwestergren/cronometer-api-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

75 stars 43 forks 품질 77 트렌드 21MIT

rwestergren/cronometer-api-mcp는 MCP 서버 후보가 https://github.com/rwestergren/cronometer-api-mcp.에서 수입되었습니다

개요

rwestergren/cronometer-api-mcp는 MCP 서버 후보가 https://github.com/rwestergren/cronometer-api-mcp.에서 수입되었습니다

개요(AI 번역)

** Claude.ai, ChatGPT 및 Grok가 곧 출시되었습니다. ** ** 대기 목록 →**

MCP (모델 Context Protocol) 서버는 역설계 모바일 REST API에 내장된 Cronometer 영양 추적을 위한 서버입니다.

Cronometer의 웹 백엔드에 대한 포괄적 인 GWT-RPC 접근 방식을 취하는 cronometer-mcp와는 달리, 이 서버는 Cronometer Android 앱에 의해 사용되는 동일한 JSON REST API에 대해 이야기합니다 – 깨끗한 페이로드 및 안정, 버전 엔드포인트.

특징

-Food log – 음식 이름, 수량, 식사 그룹과 일기 항목 -Nutrition data – per-nutrient 자신감을 가진 일일 매크로/마이크로 총 및 영양 점수 -Food search – Cronometer 식품 데이터베이스를 검색하고 자세한 영양 정보를 얻으십시오.

  • Diary Management – 추가/제거 항목, 복사 일, 마크 일 완료 -Custom food – 맞춤 영양 데이터로 식품 만들기
  • Macro 대상 – 매주 일정 및 저장된 템플릿을 읽으십시오 -Fasting – 역사와 집단 통계보기 -Biometrics – 무게, 체지방, 심박수 및 기타 트랙 메트릭

빠른 시작

##1. uv 설치

##2. 자격 설정

선택: 2단계 인증

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

cronometer-api-mcp

Hosted version for Claude.ai, ChatGPT, and Grok coming soon. Join the waitlist →

An MCP (Model Context Protocol) server for Cronometer nutrition tracking, built on the reverse-engineered mobile REST API.

Unlike cronometer-mcp, which takes a comprehensive GWT-RPC approach against Cronometer’s web backend, this server talks to the same JSON REST API used by the Cronometer Android app – with clean payloads and stable, versioned endpoints.

Features

  • Food log – diary entries with food names, amounts, meal groups
  • Nutrition data – daily macro/micro totals and nutrition scores with per-nutrient confidence
  • Food search – search the Cronometer food database, get detailed nutrition info
  • Diary management – add/remove entries, copy days, mark days complete
  • Custom foods – create foods with custom nutrition data
  • Macro targets – read weekly schedule and saved templates
  • Fasting – view history and aggregate statistics
  • Biometrics – weight, body fat, heart rate, and other tracked metrics over a date range

Quick Start

1. Install uv

curl -LsSf https://astral.sh/uv/install.sh | sh

2. Set credentials

export CRONOMETER_USERNAME="[email protected]"
export CRONOMETER_PASSWORD="your-password"

Optional: two-factor authentication

If the account has two-factor authentication enabled, /api/v2/login answers TOTP_CODE_REQUIRED unless the request carries the current 6-digit code. Give the server the base32 key that Cronometer showed when 2FA was set up (the same key you scanned into your authenticator app) and it derives the code itself at every login (RFC 6238, SHA-1, 30 s period):

export CRONOMETER_TOTP_SECRET="ABCD EFGH IJKL MNOP QRST UVWX YZ23 4567"

Spaces and lowercase are fine. Leave it unset for accounts without 2FA.

Optional: override the account timezone

Diary entries are stamped in your Cronometer account’s timezone, which the server reports at login. If that zone is wrong (for example, an older build had reset it) you can force a specific IANA zone without changing your account settings:

GitHub에서 전체 README 보기

설치

uvx cronometer-api-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "cronometer": { "command": "uvx", "args": ["cronometer-api-mcp"], "env": { "CRONOMETER_USERNAME": "[email protected]", "CRONOMETER_PASSWORD": "your-password", "CRONOMETER_TOTP_SECRET": "your-base32-key", "CRONOMETER_ACCOUNT_TZ": "America/Los_Angeles" } } } }