Skip to main content
Glama

MyWeight MCP Server

MyWeight MCP 服务器

此服务器连接到 Health Planet API,用于访问高柳先生的体重数据。任何兼容 MCP 的客户端都可以使用此服务器来检索和分析体重测量数据。

👉 查看原始网站直接查看数据。

它的作用

  • 检索数据:从 Health Planet API 获取体重记录
  • 适用于任何客户端:兼容所有 MCP 客户端
  • 安全访问:受 OAuth2 身份验证保护

快速入门指南

1. 本地设置并运行

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

您的服务器将在http://localhost:8787运行。

2. 连接您的 MCP 客户端

将此配置添加到您的 MCP 客户端:

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

使用 API

获取体重数据

使用fetchInnerScanData工具,您可以检索任何时间段的体重测量值:

参数:

  • from :开始日期/时间,格式为 YYYYMMDDHHmmss(例如, 20240101000000表示 2024 年 1 月 1 日)
  • to :结束日期/时间,格式为 YYYYMMDDHHmmss(例如, 20240131235959表示 2024 年 1 月 31 日)

响应示例:

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

部署到生产环境

要部署到 Cloudflare Workers:

npm run deploy

部署后,使用您的 Cloudflare URL 更新您的 MCP 客户端配置:

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

故障排除

连接问题

  • 确保服务器正在运行: npm run dev
  • 如果需要,清除 OAuth 数据: rm -rf ~/.mcp-auth
  • 重置 Wrangler 缓存: rm -rf ~/.wrangler

身份验证问题

  • 如果没有出现身份验证屏幕,请检查您的客户端配置
  • 身份验证失败后,请尝试重新启动 MCP 客户端
-
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.

连接到 Health Planet API 的服务器,通过任何兼容 MCP 的客户端获取并提供体重测量数据,从而可以检索和分析个人体重记录。

  1. 它的作用
    1. 快速入门指南
      1. 1. 本地设置并运行
      2. 2. 连接您的 MCP 客户端
    2. 使用 API
      1. 获取体重数据
    3. 部署到生产环境
      1. 故障排除
        1. 连接问题
        2. 身份验证问题

      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
        Python
      • 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
        255
        34
        TypeScript
        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 -
        Python
        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
        3
        Python
        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