lookup_license
Pack: licenses · Endpoint: https://gateway.pipeworx.io/licenses/mcp
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, or use one-click install buttons:
{
"mcpServers": {
"licenses": {
"url": "https://gateway.pipeworx.io/licenses/mcp"
}
}
}
See Getting Started for client-specific install steps.