@spaik/mcp-server-roi
Version:
MCP server for AI ROI prediction and tracking with Monte Carlo simulations
256 lines • 8.01 kB
TypeScript
import { z } from 'zod';
export declare const IndustryUseCaseSchema: z.ZodObject<{
name: z.ZodString;
category: z.ZodString;
volume: z.ZodNumber;
currentCost: z.ZodNumber;
currentTime: z.ZodNumber;
automationPotential: z.ZodEnum<["low", "medium", "high"]>;
industryMetrics: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
}, "strip", z.ZodTypeAny, {
name: string;
category: string;
volume: number;
currentCost: number;
currentTime: number;
automationPotential: "low" | "medium" | "high";
industryMetrics?: Record<string, any> | undefined;
}, {
name: string;
category: string;
volume: number;
currentCost: number;
currentTime: number;
automationPotential: "low" | "medium" | "high";
industryMetrics?: Record<string, any> | undefined;
}>;
export type IndustryUseCase = z.infer<typeof IndustryUseCaseSchema>;
export declare abstract class IndustryCalculator {
protected readonly industryName: string;
protected logger: any;
constructor(industryName: string);
/**
* Calculate ROI for industry-specific use cases
*/
abstract calculateROI(useCase: IndustryUseCase): {
monthlyBenefit: number;
implementationCost: number;
timeToValue: number;
confidenceScore: number;
specificMetrics: Record<string, any>;
};
/**
* Generate industry-specific use case recommendations
*/
abstract generateRecommendations(companySize: string, currentChallenges?: string[]): IndustryUseCase[];
/**
* Get industry-specific KPIs and benchmarks
*/
abstract getIndustryKPIs(): {
name: string;
description: string;
unit: string;
benchmarkValue: number;
importance: 'critical' | 'high' | 'medium' | 'low';
}[];
/**
* Calculate automation percentage based on potential
*/
protected getAutomationPercentage(potential: 'low' | 'medium' | 'high'): number;
/**
* Calculate time reduction based on automation
*/
protected calculateTimeReduction(automationPercentage: number, processType: string): number;
}
/**
* Retail Industry Calculator
*/
export declare class RetailCalculator extends IndustryCalculator {
constructor();
calculateROI(useCase: IndustryUseCase): {
monthlyBenefit: number;
implementationCost: number;
timeToValue: number;
confidenceScore: number;
specificMetrics: {
laborSavings: number;
transactionCostSavings: number;
customerSatisfactionValue: number;
inventoryOptimizationValue: number;
laborHoursPerMonth: number;
laborToSalesRatio: number;
};
};
generateRecommendations(companySize: string, currentChallenges?: string[]): {
name: string;
category: string;
volume: number;
currentCost: number;
currentTime: number;
automationPotential: "low" | "medium" | "high";
industryMetrics?: Record<string, any> | undefined;
}[];
getIndustryKPIs(): ({
name: string;
description: string;
unit: string;
benchmarkValue: number;
importance: "critical";
} | {
name: string;
description: string;
unit: string;
benchmarkValue: number;
importance: "high";
})[];
private calculateCustomerSatisfactionValue;
private calculateInventoryValue;
private calculateLaborToSalesRatio;
}
/**
* Healthcare Industry Calculator
*/
export declare class HealthcareCalculator extends IndustryCalculator {
constructor();
calculateROI(useCase: IndustryUseCase): {
monthlyBenefit: number;
implementationCost: number;
timeToValue: number;
confidenceScore: number;
specificMetrics: {
laborSavings: number;
transactionCostSavings: number;
complianceValue: number;
patientSafetyValue: number;
patientImpact: number;
regulatoryRisk: string;
};
};
generateRecommendations(companySize: string, currentChallenges?: string[]): {
name: string;
category: string;
volume: number;
currentCost: number;
currentTime: number;
automationPotential: "low" | "medium" | "high";
industryMetrics?: Record<string, any> | undefined;
}[];
getIndustryKPIs(): ({
name: string;
description: string;
unit: string;
benchmarkValue: number;
importance: "critical";
} | {
name: string;
description: string;
unit: string;
benchmarkValue: number;
importance: "high";
})[];
private calculateComplianceValue;
private calculatePatientSafetyValue;
private calculatePatientImpact;
}
/**
* Manufacturing Industry Calculator
*/
export declare class ManufacturingCalculator extends IndustryCalculator {
constructor();
calculateROI(useCase: IndustryUseCase): {
monthlyBenefit: number;
implementationCost: number;
timeToValue: number;
confidenceScore: number;
specificMetrics: {
laborSavings: number;
transactionCostSavings: number;
downtimeValue: number;
qualityValue: number;
safetyValue: number;
oeeImprovement: number;
throughputIncrease: number;
};
};
generateRecommendations(companySize: string, currentChallenges?: string[]): {
name: string;
category: string;
volume: number;
currentCost: number;
currentTime: number;
automationPotential: "low" | "medium" | "high";
industryMetrics?: Record<string, any> | undefined;
}[];
getIndustryKPIs(): ({
name: string;
description: string;
unit: string;
benchmarkValue: number;
importance: "critical";
} | {
name: string;
description: string;
unit: string;
benchmarkValue: number;
importance: "high";
})[];
private calculateDowntimeValue;
private calculateQualityValue;
private calculateSafetyValue;
private calculateOEEImprovement;
}
/**
* Financial Services Industry Calculator
*/
export declare class FinancialServicesCalculator extends IndustryCalculator {
constructor();
calculateROI(useCase: IndustryUseCase): {
monthlyBenefit: number;
implementationCost: number;
timeToValue: number;
confidenceScore: number;
specificMetrics: {
laborSavings: number;
transactionCostSavings: number;
riskReductionValue: number;
fraudPreventionValue: number;
complianceValue: number;
processingSpeed: number;
accuracyImprovement: number;
};
};
generateRecommendations(companySize: string, currentChallenges?: string[]): {
name: string;
category: string;
volume: number;
currentCost: number;
currentTime: number;
automationPotential: "low" | "medium" | "high";
industryMetrics?: Record<string, any> | undefined;
}[];
getIndustryKPIs(): ({
name: string;
description: string;
unit: string;
benchmarkValue: number;
importance: "critical";
} | {
name: string;
description: string;
unit: string;
benchmarkValue: number;
importance: "high";
})[];
private calculateRiskReductionValue;
private calculateFraudPreventionValue;
private calculateFinanceComplianceValue;
}
/**
* Factory for creating industry-specific calculators
*/
export declare class IndustryCalculatorFactory {
private static calculators;
static getCalculator(industry: string): IndustryCalculator;
static getSupportedIndustries(): string[];
}
//# sourceMappingURL=industry-calculators.d.ts.map