Name | mcp-server-bmi-calculator JSON |
Version |
0.2.2
JSON |
| download |
home_page | None |
Summary | A Model Context Protocol server for BMI (Body Mass Index) calculation and health assessment |
upload_time | 2025-10-22 09:12:21 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
license | MIT |
keywords |
bmi
calculator
health
llm
mcp
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# BMI Calculator MCP Server
A Model Context Protocol server for calculating BMI (Body Mass Index) and providing health status assessments.
## Features
- BMI calculation based on height and weight
- Health status assessment according to WHO standards
- Support for metric units (meters and kilograms)
## Installation
### Using uvx (recommended)
```bash
uvx mcp-server-bmi-calculator@latest
```
### Using pip
```bash
pip install mcp-server-bmi-calculator
```
## Usage
### With Claude Desktop
Add to your `claude_desktop_config.json`:
```json
{
"mcpServers": {
"bmi-calculator": {
"command": "uvx",
"args": ["mcp-server-bmi-calculator@latest"]
}
}
}
```
### With Cline
Add to your MCP settings:
```json
{
"mcpServers": {
"bmi-calculator": {
"command": "uvx",
"args": ["mcp-server-bmi-calculator@latest"]
}
}
}
```
## Available Tools
### calculate_bmi
Calculate Body Mass Index (BMI) and return health status assessment.
**Parameters:**
- `height` (number, required): Height in meters (e.g., 1.75)
- `weight` (number, required): Weight in kilograms (e.g., 70)
**Returns:**
- `bmi`: Calculated BMI value (rounded to 1 decimal place)
- `category`: Health category (underweight/normal/overweight/obese)
- `health_status`: Chinese description of health status
**Health Status Categories:**
- BMI < 18.5: Underweight (体重过轻)
- 18.5 ≤ BMI < 24: Normal weight (体重正常)
- 24 ≤ BMI < 28: Overweight (超重)
- BMI ≥ 28: Obese (肥胖)
**Example:**
Input:
```json
{
"height": 1.75,
"weight": 70
}
```
Output:
```json
{
"bmi": 22.9,
"category": "normal",
"health_status": "体重正常"
}
```
## Development
### Setup
```bash
# Clone the repository
git clone https://github.com/yourusername/mcp-server-bmi-calculator
cd mcp-server-bmi-calculator
# Install dependencies
pip install -e .
```
### Running locally
```bash
python -m mcp_server_bmi_calculator
```
### Building
```bash
python -m build
```
## License
MIT License - see LICENSE file for details
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Raw data
{
"_id": null,
"home_page": null,
"name": "mcp-server-bmi-calculator",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "bmi, calculator, health, llm, mcp",
"author": null,
"author_email": "BMI Calculator Team <bmi@example.com>",
"download_url": "https://files.pythonhosted.org/packages/d8/79/99b3b85f6d96ac3108f974a348d22099912812a04713955eaf394a6a87ec/mcp_server_bmi_calculator-0.2.2.tar.gz",
"platform": null,
"description": "# BMI Calculator MCP Server\n\nA Model Context Protocol server for calculating BMI (Body Mass Index) and providing health status assessments.\n\n## Features\n\n- BMI calculation based on height and weight\n- Health status assessment according to WHO standards\n- Support for metric units (meters and kilograms)\n\n## Installation\n\n### Using uvx (recommended)\n\n```bash\nuvx mcp-server-bmi-calculator@latest\n```\n\n### Using pip\n\n```bash\npip install mcp-server-bmi-calculator\n```\n\n## Usage\n\n### With Claude Desktop\n\nAdd to your `claude_desktop_config.json`:\n\n```json\n{\n \"mcpServers\": {\n \"bmi-calculator\": {\n \"command\": \"uvx\",\n \"args\": [\"mcp-server-bmi-calculator@latest\"]\n }\n }\n}\n```\n\n### With Cline\n\nAdd to your MCP settings:\n\n```json\n{\n \"mcpServers\": {\n \"bmi-calculator\": {\n \"command\": \"uvx\",\n \"args\": [\"mcp-server-bmi-calculator@latest\"]\n }\n }\n}\n```\n\n## Available Tools\n\n### calculate_bmi\n\nCalculate Body Mass Index (BMI) and return health status assessment.\n\n**Parameters:**\n- `height` (number, required): Height in meters (e.g., 1.75)\n- `weight` (number, required): Weight in kilograms (e.g., 70)\n\n**Returns:**\n- `bmi`: Calculated BMI value (rounded to 1 decimal place)\n- `category`: Health category (underweight/normal/overweight/obese)\n- `health_status`: Chinese description of health status\n\n**Health Status Categories:**\n- BMI < 18.5: Underweight (\u4f53\u91cd\u8fc7\u8f7b)\n- 18.5 \u2264 BMI < 24: Normal weight (\u4f53\u91cd\u6b63\u5e38)\n- 24 \u2264 BMI < 28: Overweight (\u8d85\u91cd)\n- BMI \u2265 28: Obese (\u80a5\u80d6)\n\n**Example:**\n\nInput:\n```json\n{\n \"height\": 1.75,\n \"weight\": 70\n}\n```\n\nOutput:\n```json\n{\n \"bmi\": 22.9,\n \"category\": \"normal\",\n \"health_status\": \"\u4f53\u91cd\u6b63\u5e38\"\n}\n```\n\n## Development\n\n### Setup\n\n```bash\n# Clone the repository\ngit clone https://github.com/yourusername/mcp-server-bmi-calculator\ncd mcp-server-bmi-calculator\n\n# Install dependencies\npip install -e .\n```\n\n### Running locally\n\n```bash\npython -m mcp_server_bmi_calculator\n```\n\n### Building\n\n```bash\npython -m build\n```\n\n## License\n\nMIT License - see LICENSE file for details\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Model Context Protocol server for BMI (Body Mass Index) calculation and health assessment",
"version": "0.2.2",
"project_urls": {
"Homepage": "https://github.com/yourusername/mcp-server-bmi-calculator",
"Issues": "https://github.com/yourusername/mcp-server-bmi-calculator/issues",
"Repository": "https://github.com/yourusername/mcp-server-bmi-calculator"
},
"split_keywords": [
"bmi",
" calculator",
" health",
" llm",
" mcp"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "df00e2803f8e9ddd13f04ead91fe3fd8221f877f65baa20e37a1d60cc56baa68",
"md5": "8eda502bef0b6348aaa8e6f498d1945e",
"sha256": "0feecb5d56a2ed70fb97a2d40261b4025961c955f2f5d19ef4ee083b5a77817e"
},
"downloads": -1,
"filename": "mcp_server_bmi_calculator-0.2.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8eda502bef0b6348aaa8e6f498d1945e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 4468,
"upload_time": "2025-10-22T09:12:18",
"upload_time_iso_8601": "2025-10-22T09:12:18.219491Z",
"url": "https://files.pythonhosted.org/packages/df/00/e2803f8e9ddd13f04ead91fe3fd8221f877f65baa20e37a1d60cc56baa68/mcp_server_bmi_calculator-0.2.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "d87999b3b85f6d96ac3108f974a348d22099912812a04713955eaf394a6a87ec",
"md5": "e9781d32819318a0c614451758266ec5",
"sha256": "3d09bd022ac22d9204f2fc92c76d0410a34cb631d70b6b353e38d878b29ae143"
},
"downloads": -1,
"filename": "mcp_server_bmi_calculator-0.2.2.tar.gz",
"has_sig": false,
"md5_digest": "e9781d32819318a0c614451758266ec5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 3574,
"upload_time": "2025-10-22T09:12:21",
"upload_time_iso_8601": "2025-10-22T09:12:21.184486Z",
"url": "https://files.pythonhosted.org/packages/d8/79/99b3b85f6d96ac3108f974a348d22099912812a04713955eaf394a6a87ec/mcp_server_bmi_calculator-0.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-22 09:12:21",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yourusername",
"github_project": "mcp-server-bmi-calculator",
"github_not_found": true,
"lcname": "mcp-server-bmi-calculator"
}