get_license_text

Pack: spdx-license · Endpoint: https://gateway.pipeworx.io/spdx-license/mcp

Get the full license text for a single SPDX license id (returns standard text + cross-references).

Parameters

NameTypeRequiredDescription
idstringyes

Example call

Arguments

{
  "id": "GPL-3.0-or-later"
}

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":"get_license_text","arguments":{"id":"GPL-3.0-or-later"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_license_text', {
  "id": "GPL-3.0-or-later"
});

Response shape

Always returns: licenseId, name, licenseText

FieldTypeDescription
licenseIdstringSPDX license identifier
namestringFull license name
licenseTextstringFull license text
standardLicenseHeaderstring | nullStandard license header if available
seeAlsoarrayCross-reference URLs
Full JSON Schema
{
  "type": "object",
  "properties": {
    "licenseId": {
      "type": "string",
      "description": "SPDX license identifier"
    },
    "name": {
      "type": "string",
      "description": "Full license name"
    },
    "licenseText": {
      "type": "string",
      "description": "Full license text"
    },
    "standardLicenseHeader": {
      "type": [
        "string",
        "null"
      ],
      "description": "Standard license header if available"
    },
    "seeAlso": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Cross-reference URLs"
    }
  },
  "required": [
    "licenseId",
    "name",
    "licenseText"
  ]
}

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 6, 2026