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. 本地设置并运行
      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 -
        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
        -
        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
      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol server that bridges LLMs (like Claude) with the Fitbit API, allowing the LLM to request and retrieve user health and fitness data through defined tools.
        Last updated -
        3
        100
        2
        TypeScript
        MIT License

      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