{
  "markdown": "# license-compliance-mcp\n\nMCP server that scans npm project dependencies for license compliance issues. Catch GPL contamination before code ships.\n\n## Tools\n\n### `check-licenses`\n\nScan a project's npm dependencies against a license policy and get a detailed compliance report.\n\n**Parameters:**\n- `path` (required) — Absolute path to the project root\n- `policy` (optional, default: `\"permissive\"`) — Policy preset or custom SPDX expression\n  - `\"permissive\"` — Only MIT, ISC, BSD, Apache-2.0, etc.\n  - `\"weak-copyleft\"` — Adds LGPL, MPL-2.0, EPL-2.0\n  - `\"copyleft\"` — Adds GPL, AGPL\n  - Custom: `\"(MIT OR Apache-2.0)\"` — Any valid SPDX expression\n\n### `explain-license`\n\nGet a plain-language explanation of any SPDX license — permissions, conditions, limitations, compatibility, and gotchas.\n\n**Parameters:**\n- `license` (required) — SPDX identifier (e.g., `\"MIT\"`, `\"GPL-3.0-only\"`, `\"Apache-2.0\"`)\n\n## Install\n\n### Claude Code\n\n```bash\nclaude mcp add license-compliance -- npx -y license-compliance-mcp\n```\n\n### Claude Desktop / Cursor\n\nAdd to your config (`claude_desktop_config.json` or `.cursor/mcp.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"license-compliance\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"license-compliance-mcp\"]\n    }\n  }\n}\n```\n\n## How It Works\n\n1. Scans `node_modules` using `license-checker-rseidelsohn`\n2. Normalizes license strings to valid SPDX using `spdx-correct`\n3. Evaluates each package against the policy using `spdx-satisfies`\n4. Traces dependency chains to show how problematic packages entered the project\n5. Generates a markdown report grouped by severity (critical > warning > info)\n\n## Requirements\n\n- Node.js >= 18\n- Project must have `node_modules` installed (`npm install`)\n\n",
  "bytes": 1723,
  "sha": "70263107f594a43ded5b727ac1750fd82a3fb6effaf2aaf1c06d3992797e56c6",
  "repo_slug": "bighippoman/license-compliance-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_bighippoman_license_compliance_284682e0/readme"
}