Authorization notice. Oc is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA developer or coding agent deciding whether to add an npm dependency to a project.
The problemThe npm registry page or raw JSON record is large, and the answer needed is a few fields.
The outcomeA short summary of the package's key fields that fits easily in an agent's context.
What you need first
- Node.js 20 or newer and npm
- A terminal the agent or you can run commands in
- Permission to install an npm package globally, or use npx instead
Steps
- Run
npm install -g @only-cli/oc - Run
oc npm pkg react(replace react with your package name) - If you need every field, run
oc raw
Prompt for your agent
Use the only-cli/oc repo: run `oc npm pkg <package>` for the target package name. Expect a short block with version, license, engines, and dependencies. Verify that the package name in the output matches the target before using the data.
Caveat. The npm shortcut keeps only the fields the project chose, so use Oc raw when a field is missing from the compact view.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for only-cli/oc and "Check a package's version, license, and deps cheaply"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer