MyWeight MCP Server

MIT License

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
-
license - not tested
-
quality - not tested

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. 1. Setup & Run Locally
      2. 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
      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol (MCP) server implementation that interfaces with the Hevy fitness tracking app and its API. This server enables AI assistants to access and manage workout data, routines, exercise templates, and more through the Hevy API (requires PRO subscription).
        Last updated -
        15
        72
        4
        TypeScript
        MIT License

      View all related MCP servers

      ID: vk0gi21ge0