Repository avatar
Other Tools
v1.0.1
active

clearlydefined-oss-licenses-mcp

io.github.theluckystrike/clearlydefined-oss-licenses-mcp

Live ClearlyDefined SPDX license compliance, copyright attributions, and curation scores.

Documentation

clearlydefined-oss-licenses-mcp

Live ClearlyDefined open-source license compliance data over Model Context Protocol (MCP). Legal compliance teams, AppSec engineers, and SBOM pipelines can inspect declared and discovered SPDX expressions, extract copyright attributions, and score curation quality across npm, PyPI, Maven, and Crates without an API key or account. It connects right away.

Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

https://clearlydefined-oss-licenses-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
search_clearlydefined_packagesSearch indexed package coordinates across npm, PyPI, Maven, Crates, and GitHub
get_clearlydefined_definitionFetch declared and discovered SPDX licenses, hashes, and curation scores
get_package_license_scoreInspect license score breakdown across declared, discovered, and SPDX checks
get_package_copyright_attributionsExtract copyright attribution holders for third-party NOTICE generation
audit_npm_package_licenseRun a focused npm SPDX license and copyleft signal audit by version

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "clearlydefined-oss-licenses": {
      "url": "https://clearlydefined-oss-licenses-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run this server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries api.clearlydefined.io with a polite User-Agent header (mcpstamp-clearlydefined-oss-licenses/1.0.1 (hello@mcpstamp.com)) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions down to the SDK version cleanly.

More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.