# Open-source license compatibility checker (SPDX IDs and expressions, both directions, with clause citations) (license-checker 0.1.0)
Send 2 to 6 SPDX license IDs or expressions (AND, OR, WITH exceptions, or-later) and an optional use context; get, for each pair and each direction (code under A included into a project under B, and the reverse), compatible / conditional / incompatible, the obligations that apply (attribution, NOTICE, source disclosure, same-license, patent grant and termination, AGPL network clause, state changes, relinking), and the exact license-text clause each one rests on. Covers MIT, BSD-2-Clause, BSD-3-Clause, ISC, Zlib, Unlicense, CC0-1.0, Apache-2.0, MPL-2.0, EPL-2.0, CDDL-1.0, LGPL-2.1-only, LGPL-3.0-only, GPL-2.0-only, GPL-3.0-only, AGPL-3.0-only, GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later, LGPL-3.0-or-later, AGPL-3.0-or-later and deprecated SPDX IDs. Built on an SPDX license list snapshot (2026-11-25, 745 licenses) and a curated matrix. Free public data only. Read-only; no outbound requests.
- POST https://licensecheck.ordstirr.com/v1/check: License compatibility for 2 to 6 SPDX licenses or expressions: per direction compatible / conditional / incompatible with obligations and the exact clauses they rest on. Informational, not legal advice. Empty or invalid input, and input where no license can be assessed, is not charged. Price: $0.005 USDC per call.
Free sample: POST /v1/sample (any body) returns a real report for Apache-2.0 and GPL-2.0-or-later. It makes no outbound requests.
Supported licenses: MIT, BSD-2-Clause, BSD-3-Clause, ISC, Zlib, Unlicense, CC0-1.0, Apache-2.0, MPL-2.0, EPL-2.0, CDDL-1.0, LGPL-2.1-only, LGPL-3.0-only, GPL-2.0-only, GPL-3.0-only, AGPL-3.0-only, GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later, LGPL-3.0-or-later, AGPL-3.0-or-later. Deprecated SPDX IDs (GPL-2.0, GPL-2.0+, GPL-3.0+, LGPL-2.1, AGPL-3.0, GPL-2.0-with-classpath-exception and so on) are replaced by their SPDX successors and the replacement is reported. Case is normalised.
Expressions: AND, OR, WITH, parentheses, and + (or later). Or-later IDs mean a choice of versions and the best option is used for the incoming code; a project offered under or-later versions only works if the combination works under the version(s) you choose, and the report says which. Exceptions modeled: Classpath-exception-2.0, GCC-exception-3.1, LLVM-exception, Linux-syscall-note; other SPDX exceptions are read but not modeled (an incompatible result with an unmodeled exception is reported as uncertain).
Verdicts: compatible = the combination works as-is (the incoming license's notice and similar duties still apply); conditional = it works only if the listed conditions hold (for example the MPL Secondary License route, LGPL relinking terms, or distributing under one GPL version only); incompatible = the combined work cannot stay under the project's license; uncertain = an ID or exception we cannot assess. Each verdict also has a position: settled (the license text decides it), widely_held (FSF/ASF-style community position) or contested.
Use context: structured use {distribution: distributed | network_service | internal_only, linking: source_copy | static | dynamic | separate_process, modified: true | false} or free text in context. With no linking style the answer assumes one combined program and by_linking shows the other styles.
Every clause cited is quoted verbatim in the clauses table, with the SPDX license text it comes from.
Rules version 2026-12-02.1 is in every report so an old answer stays explainable. SPDX list snapshot 2026-11-25.
Not charged: empty, malformed or oversized input and invalid SPDX syntax (400), input where no license could be assessed (404), rate limits (429).
Payment: x402 v2, scheme exact, USDC on Base (mainnet), pay to 0x31CA287B2eCe9849db915AFb4cE522f02dB1A1F6. An unpaid POST returns 402 with the price.
Never charged: bad input (400), a lookup that finds nothing (404), rate limits (429), or our own failure (503).
Signed receipts: Ed25519 over RFC 8785 JCS. Public keys at https://licensecheck.ordstirr.com/.well-known/ordstirr-receipt-keys.json; settlement receipts at https://licensecheck.ordstirr.com/v1/receipts/<request_id>.
Terms: https://ordstirr.com/agents/terms. Refunds/contact: li8ertyapps@gmail.com.
This report is informational and is not legal advice. The verdicts come from a curated compatibility matrix that reads the license texts and widely used community positions (for example the FSF and Apache Software Foundation views on Apache-2.0 and GPL). Courts have not settled every case, and some answers depend on facts we cannot see: how the code is combined, what the copyright holders have added, which other terms apply. Where a position is contested the report says so. Ask a lawyer before shipping a product on the strength of it.
openapi.json · /.well-known/x402 · terms