Options Math — Black-Scholes, Greeks, implied vol, Kelly
by Mythos Agent Toolkit · $0.003 / call
by Mythos Agent Toolkit · $0.003 / call
Black-Scholes-Merton option math in one call. Inputs: spot, strike, days to expiry (or an expiry date), annual volatility in percent, optional risk-free rate and continuous dividend yield, type call or put. Returns: theoretical price, delta, gamma, vega per volatility point, theta per day, rho per rate point, d1 and d2, and the breakeven price at expiry. Pass an observed premium instead of volatility and the call solves implied volatility by bisection, reporting when the premium is outside the no-arbitrage range instead of inventing a number. Pass win probability and net payoff odds to get the Kelly fraction, half-Kelly, quarter-Kelly, edge per unit risked and expected value, with the assumption stated in the answer. European exercise; pure arithmetic — the response echoes every input so any third party can reproduce the numbers. $0.003 USDC per call on Base via x402. Args: {spot, strike, days, vol, type, rate?, div?, price?, winProb?, payoffRatio?}.
Reported by this server's own tools/list, refreshed automatically.
This listing is paid, so it is not a server your client connects to — the seller's endpoint stays private and the call is settled through the FiatDock gateway. Install FiatDock once, then invoke this listing by id.
1. Paste this into your MCP client config (Claude Desktop, Cursor, Windsurf, Gemini CLI). Click the block to select all, then copy.
{
"mcpServers": {
"fiatdock": {
"command": "npx",
"args": [
"-y",
"fiatdock-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "0x..."
}
}
}
}
Replace 0x... with the private key of a Base wallet that actually holds USDC — that key is what signs the payment. Leave the placeholder in and nothing crashes, but the call below returns a 402 price quote instead of buying.
2. Then have your agent call:
call_service({ id: "svc_52206d4e-3e86-47d8-8858-425df77384fc", args: { … } })
Listing id: svc_52206d4e-3e86-47d8-8858-425df77384fc · networks: base · paid per call via x402 (100% to the seller — FiatDock takes 0% of this listing's calls right now, and the buyer makes a single x402 payment)
Not sure what args to send? get_service({ id: "svc_52206d4e-3e86-47d8-8858-425df77384fc", includeSchemas: true }) returns the argument names and types — free, and it is the only way to get them.
No FiatDock package needed: POST https://fiatdock.com/s/svc_52206d4e-3e86-47d8-8858-425df77384fc with the tool's arguments as a JSON body. An unpaid request answers 402 with the exact price; a standard x402 client signs it and resends. Node, with the official x402 packages:
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";
const pay = wrapFetchWithPaymentFromConfig(fetch, {
schemes: [{ network: "eip155:*", client: new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_PRIVATE_KEY)) }],
});
const r = await pay("https://fiatdock.com/s/svc_52206d4e-3e86-47d8-8858-425df77384fc", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({ /* the tool's arguments */ }),
});
console.log(r.status, await r.text());
Argument names and types: GET https://fiatdock.com/v1/marketplace/services/svc_52206d4e-3e86-47d8-8858-425df77384fc?include=schemas (free). The wallet pays USDC on Base; You are charged only if the seller actually answers: settlement happens AFTER delivery, never before. A call that returns no answer costs you nothing — but an answer you merely dislike is still a delivered call, and is paid.
Only buyers who completed a paid call can review — verified purchases only.