bmi-calculator
3.5
The BMI Calculator MCP Server provides comprehensive health assessments based on user inputs.
The BMI Calculator MCP Server is designed to provide accurate and comprehensive Body Mass Index (BMI) calculations. It offers valuable insights into users' health status by considering multiple inputs, including weight, height, age, and gender. This server delivers precise BMI values along with related health metrics such as ideal weight, body surface area, and basal metabolic rate. By integrating this service, developers can empower their applications with advanced health assessment capabilities, promoting wellness and fitness among users.
Features
- {'name': 'Comprehensive Health Metrics', 'description': 'Generates detailed health assessments including BMI, ideal weight range, BMR, WHR, and WHtR.'}
- {'name': 'User Inputs', 'description': 'Accepts weight, height, age, sex, waist, and hip measurements for accurate health metrics.'}
- {'name': 'Endpoint Request and Response', 'description': 'Processes inputs through a specific endpoint to deliver health metrics in a structured JSON format.'}
MCP Tools
- Find BMI: Processes user inputs to generate health metrics, including BMI, ideal weight range, BMR, and waist-to-hip ratio.
Usage with Different Platforms
python
python
import requests
url = 'https://bmi-calculator-mcp-server.com/api/calculate'
headers = {'Authorization': 'Bearer YOUR_ACCESS_KEY'}
data = {
'weight': 70,
'height': 175,
'age': 30,
'sex': 'm',
'waist': 80,
'hip': 90
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
javascript
javascript
const axios = require('axios');
const url = 'https://bmi-calculator-mcp-server.com/api/calculate';
const headers = { 'Authorization': 'Bearer YOUR_ACCESS_KEY' };
const data = {
weight: 70,
height: 175,
age: 30,
sex: 'm',
waist: 80,
hip: 90
};
axios.post(url, data, { headers })
.then(response => console.log(response.data))
.catch(error => console.error(error));