Rightshold Sign up

How do I check the license of an npm or PyPI package?

Short answer: Example: a package declaring MIT, shipped commercially: Yes.

Packages declare their license in registry metadata. Rightshold reads it for you: pass the package page URL as source_url.

Example: a package declaring MIT, shipped commercially: Yes

License: MIT License (MIT, curated)

Duties: attribution, license_notice

Context

Sources

Check it yourself (free, no key)

{
  "tool": "check_license",
  "arguments": {
    "license": "MIT",
    "intended_use": {
      "commercial_use": true,
      "redistribution": true
    }
  }
}

Computed from Rightshold's license profiles; not legal advice. Updated 2026-10-19. JSON · Markdown