clearlydefined_definition
Pack: clearlydefined · Endpoint: https://gateway.pipeworx.io/clearlydefined/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/clearlydefined_definition for the schema, then POST the same URL with its arguments for the data.
Get the curated licence and attribution record for one exact component version from ClearlyDefined: declared SPDX licence, every licence expression discovered in the files, the copyright holders that must be attributed, the upstream source repo + commit the release was built from, release date, file hashes, and 0-100 completeness scores. AUTHORITATIVE for “what licence is
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
include_files | boolean | no | Include the per-file licence/attribution rows (can be long). Default false. |
file_limit | number | no | How many file rows to include when include_files is true. Default 50, max 500. |
Example call
Arguments
{
"type": "npm",
"provider": "npmjs",
"name": "express",
"revision": "4.18.2"
}
curl
curl -X POST https://gateway.pipeworx.io/clearlydefined/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"clearlydefined_definition","arguments":{"type":"npm","provider":"npmjs","name":"express","revision":"4.18.2"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('clearlydefined_definition', {
"type": "npm",
"provider": "npmjs",
"name": "express",
"revision": "4.18.2"
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"clearlydefined": {
"url": "https://gateway.pipeworx.io/clearlydefined/mcp"
}
}
}
See Getting Started for client-specific install steps.