search
Pack: spdx-license · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/search for the schema, then POST the same URL with its arguments for the data.
Substring search across SPDX id and full license name (case-insensitive).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes |
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
| Field | Type | Description |
|---|---|---|
query | string | Lowercase search query string |
count | integer | Number of matching licenses |
results | array |
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 — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the spdx-license pack
{
"mcpServers": {
"spdx-license": {
"url": "https://gateway.pipeworx.io/spdx-license/mcp"
}
}
}
See Getting Started for client-specific install steps.