
Mcp Check Licenses
Scans your package.json dependencies and flags license compatibility issues by fetching license data from the npm registry. Exposes an audit_licenses tool that classifies packages into permissive (MIT, Apache), copyleft (GPL, AGPL), weak copyleft (LGPL, MPL), and unknown buckets, then checks for conflicts like GPL dependencies in MIT projects. Returns a JSON report with risk levels (low, medium, high) and specific warnings about viral licenses that could force you to open source your code. Analyzes up to 20 dependencies at a time. Useful when onboarding new dependencies or preparing for commercial distribution where license compliance matters.
- GitHub stars
- 1
- tool
- 1
- transport
- STDIO
- last updated
- Apr 7, 2026
Tools
1 toolsPublic tool metadata for what this MCP can expose to an agent.
audit-licensesAudits your project's dependency licenses for compatibility issues, flagging GPL/AGPL conflicts and generating a compliance report.
Audits your project's dependency licenses for compatibility issues, flagging GPL/AGPL conflicts and generating a compliance report.
No parameter schema in public metadata yet.
Sponsors
Readme
mcp-license-audit
MCP server that audits your project's dependency licenses for compatibility issues. Flags GPL/AGPL conflicts and generates compliance reports.
What It Does
- Parses a
package.jsonfile (dependencies + devDependencies) - Fetches license info for each package from the npm registry
- Classifies licenses: permissive (MIT, Apache, BSD, ISC), copyleft (GPL, AGPL), weak-copyleft (LGPL, MPL), unknown
- Detects conflicts (e.g., GPL dependency in an MIT-licensed project)
- Returns a structured JSON report with risk level and summary
Install
npm install -g mcp-license-audit
# or run directly:
npx mcp-license-audit
Configure in Claude Code
Add to your .claude/mcp.json or ~/.claude/mcp.json:
{
"mcpServers": {
"license-audit": {
"command": "npx",
"args": ["mcp-license-audit"]
}
}
}
Or if installed globally:
{
"mcpServers": {
"license-audit": {
"command": "mcp-license-audit"
}
}
}
Analytics
Details
- Repository
- github.com/webmoleai/mcp-check-licenses
- Package
mcp-check-licenses- Transport
- STDIO
- Registry
- MCP registry, active