Skip to main content
Glama

MyWeight MCP Server

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

Quick Start Guide

1. Setup & Run Locally

# Clone this repository git clone https://github.com/shinichi-takayanagi/myweight-mcp-server.git # 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., 20240530000000 for May 30, 2024)
  • to: Ending date/time in YYYYMMDDHHmmss format (e.g., 20240531235959 for May 31, 2024)

Example Response:

[ { "date": "2024/05/30", "weight": 65.2 }, { "date": "2024/05/31", "weight": 65.1 } ]

Deploy to Production

Preparing for Cloudflare Workers Deployment

  1. Create a Cloudflare account and login to the Cloudflare Dashboard.
  2. Set up Cloudflare Workers:
    • Enable Workers on your account
    • Choose a worker name for your deployment
    • Install the Wrangler CLI
  3. Configure your project:
    • Edit the wrangler.toml file to include your Cloudflare information:
name = "your-worker-name" account_id = "your-account-id" workers_dev = true
  1. Deploy your project:
npm run deploy
  1. 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
  • Reset Wrangler cache: rm -rf ~/.wrangler

General Issues

  • Verify your wrangler.toml configuration
  • If deployment fails, check the Cloudflare dashboard for detailed error messages
-
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. 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 -
        8
      • 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
        100
        39
        MIT License
      • -
        security
        A
        license
        -
        quality
        A server that integrates the MCP library with OpenAI's API, allowing users to interact with various tools, such as the weather tool, through natural language queries.
        Last updated -
        MIT License
      • A
        security
        A
        license
        A
        quality
        An MCP server that enables LLMs to query data from various NASA APIs, allowing access to astronomical data, space weather information, Earth imagery, and exoplanet information directly from compatible AI clients.
        Last updated -
        21
        4
        MIT License
        • Apple
        • Linux

      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