Health Information API

by sryno

230 downloads Not rated yet MIT license

About

Simple MCP server to provide health related metrics

Details

License
MIT license

Explore

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

1. Clone the repository:

git clone https://github.com/yourusername/bmi_calc.git
cd bmi_calc

2. Install dependencies:

pip install -r requirements.txt

3. Set up environment variables:


bash
uvicorn main:app --reload

The API will be available at http://localhost:8000

bash
pytest -v
```

A FastAPI application that provides various health and nutrition calculators using FastAPI-MCP.

Features

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

Installation

1. Clone the repository:

git clone https://github.com/yourusername/bmi_calc.git
cd bmi_calc

2. Install dependencies:

pip install -r requirements.txt

3. Set up environment variables:
```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.