search

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

Substring search across SPDX id and full license name (case-insensitive).

Parameters

NameTypeRequiredDescription
querystringyes

Example call

Arguments

{
  "query": "Apache"
}

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":"search","arguments":{"query":"Apache"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('search', {
  "query": "Apache"
});

More examples

{
  "query": "BSD"
}

Response shape

Always returns: query, count, results

FieldTypeDescription
querystringLowercase search query string
countintegerNumber of matching licenses
resultsarray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Lowercase search query string"
    },
    "count": {
      "type": "integer",
      "description": "Number of matching licenses"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "reference": {
            "type": "string",
            "description": "Reference URL"
          },
          "isDeprecatedLicenseId": {
            "type": "boolean",
            "description": "Whether license is deprecated"
          },
          "detailsUrl": {
            "type": "string",
            "description": "Details URL"
          },
          "referenceNumber": {
            "type": "integer",
            "description": "Reference number"
          },
          "name": {
            "type": "string",
            "description": "Full license name"
          },
          "licenseId": {
            "type": "string",
            "description": "SPDX license identifier"
          },
          "seeAlso": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "isOsiApproved": {
            "type": "boolean",
            "description": "Whether OSI approved"
          },
          "isFsfLibre": {
            "type": "boolean",
            "description": "Whether FSF Free/Libre"
          }
        }
      }
    }
  },
  "required": [
    "query",
    "count",
    "results"
  ]
}

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