lookup_license
Pack: licenses · 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/lookup_license for the schema, then POST the same URL with its arguments for the data.
Look up an open-source license by its exact SPDX id (e.g. “MIT”, “Apache-2.0”, “GPL-3.0-only”, “BSD-3-Clause”). Returns the full name, OSI/FSF approval, deprecation status, and reference URLs. Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
spdx_id | string | yes | An SPDX license id, e.g. “Apache-2.0”. |
Example call
Arguments
{
"spdx_id": "MIT"
}
curl
curl -X POST https://gateway.pipeworx.io/licenses/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"lookup_license","arguments":{"spdx_id":"MIT"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('lookup_license', {
"spdx_id": "MIT"
});
More examples
{
"spdx_id": "Apache-2.0"
}
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 licenses pack
{
"mcpServers": {
"licenses": {
"url": "https://gateway.pipeworx.io/licenses/mcp"
}
}
}
See Getting Started for client-specific install steps.