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
| Field | Type | Required | What it is |
|---|---|---|---|
licenses | array | Yes | SPDX license identifiers |
use_case | string | No | commercial, open-source, saas, internal |
Output fields
How reliably each field appears in a successful answer.
| Field | Type | Appears |
|---|---|---|
summary | string | Always (present in every successful answer) |
use_case | string | Always (present in every successful answer) |
warnings | array | Always (present in every successful answer) |
conflicts | array | Always (present in every successful answer) |
compatible | boolean | Always (present in every successful answer) |
license_count | integer | Always (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
}' {
"tool": "strale_execute",
"arguments": {
"slug": "license-compatibility-check",
"inputs": {
"licenses": [
"MIT"
],
"use_case": "commercial"
},
"max_price_cents": 5
}
} import { Strale } from "straleio";
const strale = new Strale({ apiKey: process.env.STRALE_API_KEY! });
const result = await strale.do({
capability_slug: "license-compatibility-check",
inputs: {
"licenses": [
"MIT"
],
"use_case": "commercial"
},
max_price_cents: 5,
}); import os
from straleio import Strale, DoRequest
strale = Strale(api_key=os.environ["STRALE_API_KEY"])
result = strale.do(DoRequest(
capability_slug="license-compatibility-check",
inputs={
"licenses": [
"MIT",
],
"use_case": "commercial",
},
max_price_cents=5,
)) # No account. The first request answers 402 with the price in USDC;
# an x402 client pays it from your wallet and repeats the request.
curl -i -X POST https://api.strale.io/x402/v2/license-compatibility-check \
-H 'Content-Type: application/json' \
-d '{
"licenses": [
"MIT"
],
"use_case": "commercial"
}' Limitations
Covers 30+ common licences
Unknown SPDX identifiers are flagged as 'unknown' and treated conservatively.
Bundled checks that include it
- Pre-Merge Check €0.32
- Repo Health Check €0.22
- Dependency Risk Check €0.25
Related tools
- CVE Details €0.03
- Known Vulnerabilities Lookup €0.05
- Package Security Audit €0.05
- Password Strength €0.02
- Secret Scan €0.02
- Security Header Check €0.05