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

NameTypeRequiredDescription
osiApprovedbooleanno
fsfLibrebooleanno
deprecatedbooleannoInclude 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

FieldTypeDescription
licenseListVersionstringVersion of the SPDX license list
releaseDatestringRelease date of the license list
countintegerNumber of licenses in filtered results
licensesarray
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.

Regenerated from source · build July 7, 2026