MCP.so
登录

Health Information API MCP Server

@sryno

基本信息

分类

开发工具

许可证

MIT license

传输方式

stdio

作者

sryno

关于 Health Information API MCP Server

Simple MCP server to provide health related metrics

#health-api#nutrition-calculator#fitness-tools

Health Information API MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Health Information API MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Health Information API?

A FastAPI application that provides health and nutrition calculators including BMI, body frame size, body fat percentage, macronutrient targets, and food nutrition via the USDA FoodData Central API. It is designed for developers who want to integrate these health metrics into their applications.

How to use Health Information API?

Clone the repository, install dependencies with pip install -r requirements.txt, set the USDA_API_KEY environment variable (and optionally OPENAI_API_KEY), then run uvicorn main:app --reload. The API will be available at http://localhost:8000 with interactive documentation at /docs and /redoc.

Key features of Health Information API

  • BMI Calculator
  • Body Frame Size Calculator
  • Body Fat Percentage Calculator (U.S. Navy Method)
  • Macronutrient Calculator
  • Food Nutrition Calculator (USDA FoodData Central API)

Use cases of Health Information API

  • Calculate BMI from weight and height for health assessments.
  • Determine body frame size based on wrist circumference and height.
  • Estimate body fat percentage using the U.S. Navy method.
  • Compute daily calorie and macronutrient targets based on personal data and goals.
  • Look up the nutritional content of food ingredients using the USDA database.

常见问题

1

What endpoints does Health Information API offer?

The API provides a `POST /bmi` endpoint for BMI, `POST /body-frame` for body frame size, `POST /body-fat` for body fat percentage, `POST /macros` for macronutrients, and a `GET /food-nutrition` endpoint for food nutrition.

2

How do I get a USDA API key for the Food Nutrition Calculator?

Sign up for a free API key at https://fdc.nal.usda.gov/api-key-signup.html and set it as the `USDA_API_KEY` environment variable.

3

What dependencies are required to run the server?

Python libraries listed in `requirements.txt`. The README instructs to clone the repository and run `pip install -r requirements.txt`.

4

Is there an optional OpenAI API key?

Yes, an `OPENAI_API_KEY` can be set, but it is optional and not required for the basic functionality.

5

How do I run tests for Health Information API?

Use `pytest -v` from the root of the cloned repository.

评论

开发工具 分类下的更多 MCP 服务器