list_licenses
Pack: spdx-license · Endpoint: https://gateway.pipeworx.io/spdx-license/mcp
List SPDX licenses with optional filters (OSI-approved, FSF Free/Libre, deprecated).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
osiApproved | boolean | no | |
fsfLibre | boolean | no | |
deprecated | boolean | no | Include deprecated. Default false. |
Example call
Arguments
{
"osiApproved": true
}
curl
curl -X POST https://gateway.pipeworx.io/spdx-license/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_licenses","arguments":{"osiApproved":true}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('list_licenses', {
"osiApproved": true
});
More examples
{
"fsfLibre": true,
"deprecated": false
}
Response shape
Always returns: licenseListVersion, releaseDate, count, licenses
| Field | Type | Description |
|---|---|---|
licenseListVersion | string | Version of the SPDX license list |
releaseDate | string | Release date of the license list |
count | integer | Number of licenses in filtered results |
licenses | array |
Full JSON Schema
{
"type": "object",
"properties": {
"licenseListVersion": {
"type": "string",
"description": "Version of the SPDX license list"
},
"releaseDate": {
"type": "string",
"description": "Release date of the license list"
},
"count": {
"type": "integer",
"description": "Number of licenses in filtered results"
},
"licenses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"licenseId": {
"type": "string",
"description": "SPDX license identifier"
},
"name": {
"type": "string",
"description": "Full license name"
},
"isOsiApproved": {
"type": "boolean",
"description": "Whether OSI approved"
},
"isFsfLibre": {
"type": "boolean",
"description": "Whether FSF Free/Libre"
},
"isDeprecatedLicenseId": {
"type": "boolean",
"description": "Whether license is deprecated"
},
"reference": {
"type": "string",
"description": "Reference URL for the license"
}
},
"required": [
"licenseId",
"name",
"isOsiApproved",
"isFsfLibre",
"isDeprecatedLicenseId",
"reference"
]
}
}
},
"required": [
"licenseListVersion",
"releaseDate",
"count",
"licenses"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"spdx-license": {
"url": "https://gateway.pipeworx.io/spdx-license/mcp"
}
}
}
See Getting Started for client-specific install steps.