MyWeight MCP Server

Integrations
  • Enables deployment of the MCP server to Cloudflare Workers for production use, allowing the weight tracking functionality to be accessed through a Cloudflare Workers URL.

  • Connects to the Health Planet API to retrieve and analyze weight measurements, providing access to time-based weight data with tools like fetchInnerScanData for specified date ranges.

MyWeight MCP Server

This server connects to the Health Planet API to access Takayanagi-san's weight data. Any MCP-compatible client can use this server to retrieve and analyze weight measurements.

👉 Check out the original website to view the data directly.

What It Does

  • Retrieves Data: Fetches weight records from Health Planet API
  • Works with Any Client: Compatible with all MCP clients
  • Secure Access: Protected by OAuth2 authentication

Quick Start Guide

1. Setup & Run Locally

# Clone this repository git clone [repository URL] # Install required packages npm install # Launch the development server npm run dev

Your server will be running at http://localhost:8787.

2. Connect Your MCP Client

Add this configuration to your MCP client:

{ "mcpServers": { "myweight": { "command": "npx", "args": [ "mcp-remote", "http://localhost:8787/sse" ] } } }

Using the API

Get Weight Data

With the fetchInnerScanData tool, you can retrieve weight measurements for any time period:

Parameters:

  • from: Starting date/time in YYYYMMDDHHmmss format (e.g., 20240101000000 for Jan 1, 2024)
  • to: Ending date/time in YYYYMMDDHHmmss format (e.g., 20240131235959 for Jan 31, 2024)

Example Response:

[ { "date": "2024/01/01", "weight": 65.2 }, { "date": "2024/01/02", "weight": 65.1 } ]

Deploy to Production

To deploy to Cloudflare Workers:

npm run deploy

After deployment, update your MCP client configuration with your Cloudflare URL:

{ "mcpServers": { "myweight": { "command": "npx", "args": [ "mcp-remote", "https://[your-worker-name].[your-account].workers.dev/sse" ] } } }

Troubleshooting

Connection Problems

  • Make sure the server is running: npm run dev
  • Clear OAuth data if needed: rm -rf ~/.mcp-auth
  • Reset Wrangler cache: rm -rf ~/.wrangler

Authentication Issues

  • If the auth screen doesn't appear, check your client configuration
  • After failed authentication, try restarting your MCP client
-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

A server that connects to the Health Planet API to fetch and provide weight measurement data through any MCP-compatible client, allowing for retrieval and analysis of personal weight records.

  1. What It Does
    1. Quick Start Guide
      1. Setup & Run Locally
      2. Connect Your MCP Client
    2. Using the API
      1. Get Weight Data
    3. Deploy to Production
      1. Troubleshooting
        1. Connection Problems
        2. Authentication Issues

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server for tracking personal health and well-being, offering tools for workout logging, nutrition management, and daily journaling with AI-assisted analysis integration.
        Last updated -
        2
        Python
      • -
        security
        A
        license
        -
        quality
        An MCP server that provides healthcare tools for interacting with FHIR data and medical resources on EMRs like Cerner and Epic
        Last updated -
        28
        JavaScript
        MIT License
        • Apple
      • -
        security
        F
        license
        -
        quality
        MCP server that interfaces with the Adjust API, allowing you to query mobile analytics reports, metrics, and performance data using natural language from any MCP client like Cursor or Claude Desktop.
        Last updated -
        250
        1
        TypeScript
      • -
        security
        -
        license
        -
        quality
        A Model Context Protocol server that enables Claude to search and access detailed nutritional information from the USDA's FoodData Central database.
        Last updated -
        1
        TypeScript

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/shinichi-takayanagi/myweight-mcp-server'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server