Scan npm dependencies for license compliance issues. Catch GPL contamination.
Runs on your machine from its package; the steps are below.
At most: only reads or looks up information.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y license-compliance-mcp
MCP client config
{
"mcpServers": {
"license-compliance": {
"command": "npx",
"args": [
"-y",
"license-compliance-mcp"
]
}
}
}MCP server that scans npm project dependencies for license compliance issues. Catch GPL contamination before code ships.
check-licensesScan a project's npm dependencies against a license policy and get a detailed compliance report.
Parameters:
path (required) — Absolute path to the project rootpolicy (optional, default: "permissive") — Policy preset or custom SPDX expression
"permissive" — Only MIT, ISC, BSD, Apache-2.0, etc."weak-copyleft" — Adds LGPL, MPL-2.0, EPL-2.0"copyleft" — Adds GPL, AGPL"(MIT OR Apache-2.0)" — Any valid SPDX expressionexplain-licenseGet a plain-language explanation of any SPDX license — permissions, conditions, limitations, compatibility, and gotchas.
Parameters:
license (required) — SPDX identifier (e.g., "MIT", "GPL-3.0-only", "Apache-2.0")claude mcp add license-compliance -- npx -y license-compliance-mcp
Add to your config (claude_desktop_config.json or .cursor/mcp.json):
{
"mcpServers": {
"license-compliance": {
"command": "npx",
"args": ["-y", "license-compliance-mcp"]
}
}
}
node_modules using license-checker-rseidelsohnspdx-correctspdx-satisfiesnode_modules installed (npm install)