API & MCP

Everything a person can do on TLS Cipher-Suite Simulator, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

TLS Cipher-Suite Simulator

Pick a Mozilla server preset (modern, intermediate, old) or paste your own cipher list in OpenSSL or IANA names, and see what 34 recorded clients (browsers, Android, Java, OpenSSL, plus curl) would negotiate: protocol version, cipher suite, key-exchange group, signature algorithm, forward secrecy and AEAD, or why the handshake fails. Includes an IANA ↔ OpenSSL name table and a configuration grade. Offline simulation from documented data, no connection is made.

Inputs of TLS Cipher-Suite Simulator
FieldTypeDefaultDescription
serverPresetselect (modern, intermediate, old, custom)"intermediate"Server configuration
customSuitestextarea—Custom cipher suites (in server preference order). OpenSSL names (ECDHE-RSA-AES128-GCM-SHA256), IANA names (TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) or hex codes (0xC02F), separated by colons, commas or new lines. OpenSSL keywords like HIGH or !aNULL are not expanded. Used only with "Custom cipher list".
customProtocolsmultiselect (SSLv3, TLSv1, TLSv1.1, TLSv1.2, TLSv1.3)["TLSv1.2","TLSv1.3"]Custom: enabled protocol versions
customGroupstext"X25519, prime256v1, secp384r1"Custom: key-exchange groups. Curve/group names in preference order, e.g. X25519MLKEM768, X25519, prime256v1, secp384r1, ffdhe2048.
certificateselect (preset, ecdsa, rsa, both)"preset"Server certificate
rsaBitsinteger2048RSA key size
dhBitsinteger—DHE parameter size. Optional. Defaults to the preset value (old: 1024, intermediate: 2048) or 2048 for custom lists.
orderselect (preset, server, client)"preset"Cipher order
clientsmultiselect (android-2.3.7, android-4.4.2, android-5.0.0, android-7.0, android-8.1, android-9.0, chrome-49-xp-sp3, chrome-70-win-10, chrome-80-win-10, chrome-131-win-10, firefox-31.3.0-esr-win-7, fire—Clients to simulate. Leave empty to simulate all clients.

Example request

Mozilla intermediate against all clients

curl -X POST https://tlsciphersuitesimulator.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"serverPreset":"intermediate"}'

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": {
    "tls-cipher-suite-simulator": { "type": "http", "url": "https://tlsciphersuitesimulator.usefulweb.site/mcp" }
  }
}