License Detect
license_detectIdentify a software / content licence from a LICENSE file, source header or SPDX expression and explain what it allows: 40 licences incl. MIT, Apache-2.0, BSD-2/3/4, ISC, 0BSD, GPL/LGPL/AGPL v2/v3, MPL-2.0, EPL, EUPL, Unlicense, CC0, Creative Commons BY/SA/NC/ND, and source-available BUSL / SSPL / Elastic / PolyForm / Commons Clause. Returns SPDX id, confidence, category (permissive, weak / strong / network copyleft, non-commercial, source-available), OSI approval, permissions / conditions / limitations, "or later" detection, SPDX-License-Identifier tags and copyright holders. Offline; not legal advice. Price: $0.002 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/license-detect
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "license_detect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spdx | No | Or an SPDX licence expression, e.g. "MIT OR Apache-2.0", "GPL-2.0-or-later WITH Classpath-exception-2.0" | |
| text | No | LICENSE / COPYING text, README section or source file header |