MCP Calc Tools

black_scholes

Calculate Black-Scholes option price

Input Schema

NameRequiredDescriptionDefault
KYesStrike price of the option
SYesCurrent price of the asset
TYesTime to expiration in years
optionTypeNoOption type: "call" or "put"call
rYesRisk-free interest rate
sigmaYesVolatility of the asset

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": true, "properties": { "K": { "description": "Strike price of the option", "type": "number" }, "S": { "description": "Current price of the asset", "type": "number" }, "T": { "description": "Time to expiration in years", "type": "number" }, "optionType": { "default": "call", "description": "Option type: \"call\" or \"put\"", "enum": [ "call", "put" ], "type": "string" }, "r": { "description": "Risk-free interest rate", "type": "number" }, "sigma": { "description": "Volatility of the asset", "type": "number" } }, "required": [ "S", "K", "T", "r", "sigma" ], "type": "object" }