getPenaltyInformation
Retrieve HIPAA violation penalty details including fines, enforcement actions, and compliance requirements to understand regulatory consequences for healthcare applications.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes |
Implementation Reference
- server.ts:138-145 (handler)The async handler function that returns the HIPAA penalty information from the hipaaData knowledge base.async () => { return { content: [{ type: 'text', text: hipaaData['hipaa_fines'] }] }; }
- server.ts:136-136 (schema)The Zod input schema definition for the tool, specifying no input parameters are required.schema: z.object({}),
- server.ts:132-146 (registration)The MCP server.tool registration that defines the tool name, description, schema, and inline handler function.server.tool( 'getPenaltyInformation', { description: 'Returns the up-to-date, four-tiered structure of civil monetary penalties (fines) for HIPAA violations.', schema: z.object({}), }, async () => { return { content: [{ type: 'text', text: hipaaData['hipaa_fines'] }] }; } );
- server.ts:8-18 (helper)Loading of the hipaaData from hipaa-content.json, which provides the 'hipaa_fines' content used by the tool handler.const knowledgeBasePath = path.join(process.cwd(), 'hipaa-content.json'); let hipaaData; try { hipaaData = JSON.parse(fs.readFileSync(knowledgeBasePath, 'utf-8')); console.log('✅ HIPAA knowledge base loaded successfully'); } catch (error) { console.error(`FATAL ERROR: Could not load knowledge base from ${knowledgeBasePath}.`); console.error('Please ensure the hipaa-content.json file exists in the same directory.'); console.error('Error details:', error); process.exit(1); // Exit if the core data is missing }