Skip to main content
Glama

Healthcare MCP Server

medical-calculator-tool.js584 B
import { BaseTool } from './base-tool.js'; /** * Tool for performing medical calculations */ export class MedicalCalculatorTool extends BaseTool { constructor(cacheService) { super(cacheService); } /** * Calculate Body Mass Index (BMI) */ calculateBmi(heightMeters, weightKg) { if (!heightMeters || !weightKg) { return this.formatErrorResponse('Height and weight are required'); } const bmi = weightKg / (heightMeters * heightMeters); return this.formatSuccessResponse({ bmi: bmi.toFixed(2) }); } } export default MedicalCalculatorTool;

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Cicatriiz/healthcare-mcp-public'

If you have feedback or need assistance with the MCP directory API, please join our Discord server