BMI
- python
0
GitHub Stars
python
Language
5 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You have an MCP BMI Server that exposes a single BMI calculator tool. It lets you discover available MCP tools and invoke the bmiCalculator with weight and height inputs to get a calculated body mass index, making it easy to integrate BMI calculations into your workflow or applications.
How to use
You connect to the server as an MCP client to discover tools and run them. Start by discovering the available tools through the MCP discovery endpoint. Then, invoke the bmiCalculator tool by sending the required parameters, and you will receive the calculated BMI.
How to install
Prerequisites: Python and pip installed on your system.
pip install -r requirements.txt
export API_KEY=changeme # optional
uvicorn main:app --host 0.0.0.0 --port 10000
Additional sections
Configuration, security, and usage notes are provided below to help you run and integrate this MCP BMI server smoothly.
Available tools
bmiCalculator
Calculates body mass index from weight and height inputs; accepts units via the unit parameter and returns the BMI value.