API & MCP

Everything a person can do on Serverless Performance Explorer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Serverless Performance Explorer

Paste AWS Lambda REPORT log lines, JSON platform.report records or a CSV/Logs Insights export. Get cold-start rate, init and duration percentiles, memory utilisation with a right-sizing suggestion, and the cost per 1 million invocations on x86_64 and arm64 using the public Lambda prices (overridable).

Inputs of Serverless Performance Explorer
FieldTypeDefaultDescription
logstextarea—REPORT lines or CSV. CloudWatch REPORT lines, JSON log-format platform.report records, or CSV with columns like requestId,duration,billedDuration,memorySize,maxMemoryUsed,initDuration[,function,timestamp]. Separate functions with "=== function: name ===".
filefile—Or upload a log/CSV file
architectureselect (x86_64, arm64)"x86_64"Current architecture
priceGbSecondX86number0.0000166667Price per GB-second (x86_64). Default: us-east-1 first tier, verified 2026-10-14.
priceGbSecondArmnumber0.0000133334Price per GB-second (arm64)
pricePerMillionRequestsnumber0.2Price per 1M requests
monthlyInvocationsinteger—Monthly invocations per function (optional). Adds a monthly cost estimate (free tier not deducted). The same number is applied to every function in the logs; if their volumes differ, analyse each function’s logs separately.
headroomPercentnumber20Memory headroom. Added to the peak observed memory when suggesting a size.

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "serverless-performance-explorer": { "type": "http", "url": "https://serverlessperformanceexplorer.usefulweb.site/mcp" }
  }
}