ClearlyDefined: package licence definitions
ClearlyDefined curated licence data for an open source package version: declared licence, discovered licence expressions, copyright holders found and the licence and description scores.
No API key needed to call
- Source
- ClearlyDefined
- Licence and terms
- CC0 1.0
- Coverage
- open source packages
- Refresh cadence
- Answers are shared and cached for 43200 seconds.
Questions you can ask
Operations
Licence definition of a package version
Answers: which licence does this exact package version declare, what licences were found in its files, and how complete is the licence data?
| type | required, string, npm | pypi | maven | nuget | gem | crate, Package type. |
|---|---|
| namespace | optional, string, default -, npm scope (for example @types) or Maven groupId; - when there is none. |
| name | required, string, Package name (Maven artifactId). |
| revision | required, string, Exact version. |
Example: What licence does lodash 4.17.21 on npm declare?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"clearlydefined","operation":"clearlydefined_definition","params":{"type":"npm","name":"lodash","revision":"4.17.21"}}}Over HTTP
curl '/v1/connectors/clearlydefined/clearlydefined_definition?type=npm&name=lodash&revision=4.17.21'Source notice
Source: ClearlyDefined (Open Source Initiative project). The curated data licence reads: "Creative Commons CC0 1.0 Universal (clearlydefined/curated-data LICENSE)". This is licence information, not legal advice.