Skip to main content
Glama
README.md
# pkgcheck

Paste a `package.json` or `requirements.txt` and see which dependencies look wrong: names that do not exist on npm or PyPI (possible hallucinated or typosquatted names), deprecated or yanked versions, inactive PyPI projects, and versions several majors behind the latest.

Live page: https://kumar-miskin.github.io/pkgcheck/

It runs in your browser and only asks the public registry APIs (registry.npmjs.org and pypi.org). Nothing is uploaded and there is no signup.

## CLI (Node 18+)

```
node cli.mjs package.json
node cli.mjs requirements.txt --json
```

Exit code is 1 if anything is flagged, 0 if not, 2 on bad usage.

## MCP server (stdio, no dependencies)

```
node mcp.mjs
```

Tool: `check_packages` with a list of `{ecosystem: "npm" | "pypi", name, version?}`. Run from a clone of this repo for now. It is not published to npm.

## For agents

See [llms.txt](llms.txt). Use it before installing packages you suggested from memory.

## Limits

- It checks existence, deprecation flags and major-version distance. It does not check whether a specific function or class exists in a version (see [apiverify](https://github.com/kumar-miskin/apiverify) for Python).
- Early version, small tests only.

Built with AI help by Kumar Miskin. MIT license. Feedback and wrong results: open an issue.