Licence Compatibility Check

Check whether software licences are compatible for a given use.

Pay by wallet (x402) license-compatibility-check

Example

Input
{
  "licenses": [
    "MIT"
  ],
  "use_case": "commercial"
}
Answer
{
  "summary": "All 1 licenses are compatible for commercial use.",
  "use_case": "commercial",
  "warnings": [],
  "conflicts": [],
  "compatible": true,
  "license_count": 1,
  "licenses_analyzed": [
    {
      "type": "permissive",
      "input": "MIT",
      "spdx_id": "MIT",
      "osi_approved": true,
      "compatible_with_use_case": true
    }
  ]
}

Inputs

FieldTypeRequiredWhat it is
licensesarrayYesSPDX license identifiers
use_casestringNocommercial, open-source, saas, internal

Output fields

How reliably each field appears in a successful answer.

FieldTypeAppears
summarystringAlways (present in every successful answer)
use_casestringAlways (present in every successful answer)
warningsarrayAlways (present in every successful answer)
conflictsarrayAlways (present in every successful answer)
compatiblebooleanAlways (present in every successful answer)
license_countintegerAlways (present in every successful answer)
licenses_analyzed—Always (present in every successful answer)

How to call it

The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.

# Needs an API key. max_price_cents caps what this call may cost.
curl -X POST https://api.strale.io/v1/do \
  -H "Authorization: Bearer $STRALE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "capability_slug": "license-compatibility-check",
    "inputs": {
      "licenses": [
        "MIT"
      ],
      "use_case": "commercial"
    },
    "max_price_cents": 5
  }'

Limitations

  • Covers 30+ common licences

    Unknown SPDX identifiers are flagged as 'unknown' and treated conservatively.

Bundled checks that include it