Scan npm dependencies for license compliance issues. Catch GPL contamination.
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)Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y license-compliance-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-bighippoman-license-compliance": {
"command": "npx",
"args": [
"-y",
"license-compliance-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencelicense-compliance-mcpnpmio.github.bighippoman/license-compliance works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.