Health Information API

by sryno

230 downloads
Not rated
GitHub

About

Simple MCP server to provide health related metrics

Details

Author
sryno
Downloads
230
Categories
Developer Tools

- BMI Calculator
- Body Frame Size Calculator
- Body Fat Percentage Calculator (U.S. Navy Method)
- Macronutrient Calculator
- Food Nutrition Calculator (USDA FoodData Central 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.

Health Information API

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.