packagerating MCP Server
OfficialThis server lets MCP-compatible clients (like Claude) access packagerating.com package health and risk scores live from a coding session.
list_packages— List npm/PyPI packages that have been scored, sorted by composite score, and optionally filtered by language and limited to 1–200 results.get_package— Fetch the full health/risk score and dimension breakdown for a single package, optionally for a specific version; triggers and waits for a first crawl if needed.request_crawl— Enqueue one or more packages for crawling without waiting, useful for pre-warming scores before comparison.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@packagerating MCP Server Is express safe to use?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
packagerating MCP Server
Give Claude (or any MCP-compatible client) live, on-demand access to packagerating.com package health/risk scores — right inside your coding session, not just in CI.
Three tools, each a thin mirror of the public REST API:
Tool | What it does |
| List scored packages, sorted by composite score by default |
| Full score + dimension breakdown for one package by name. Transparently waits for a first-ever crawl to finish. |
| Pre-warm one or more packages for crawling without waiting on the result |
A never-before-scored package can take up to ~60 seconds to return on first lookup via
get_package(the server waits for the crawl to finish); every subsequent lookup is fast.
Setup
Get a free API key at packagerating.com.
Add the server. In Claude Code:
claude mcp add packagerating -e PACKAGERATING_API_KEY=your-api-key-here -- npx -y @packagerating/mcp-serverThat adds it in Claude Code's local scope (personal, this project only). To share it with a
team via a committed .mcp.json, add --scope project.
For any other MCP-compatible client, add this to its config:
{
"mcpServers": {
"packagerating": {
"command": "npx",
"args": ["-y", "@packagerating/mcp-server"],
"env": {
"PACKAGERATING_API_KEY": "your-api-key-here"
}
}
}
}No local install, no build step either way — npx fetches the latest published version each time.
Related MCP server: pkg-intel-mcp
Example
"Is
left-padsafe to add as a dependency? What aboutlodash?"
Claude calls get_package for each name and can compare the results directly in conversation —
liveness, community, security, dependency posture, versioning, and dependency-tree risk, plus the
three composite scores (General, Automation, Risk).
Development
npm install
npm test # unit tests, mocked HTTP — no live API calls
npm run typecheck
npm run build # bundles to dist/index.js via @vercel/ncc
npm run smoke-test # exercises the real production API — requires a real PACKAGERATING_API_KEYRelated
packagerating/skills— Claude Code plugin built on this serverpackagerating/audit-dependencies— GitHub Action, npm dependenciespackagerating/audit-dependencies-python— GitHub Action, Python dependenciespackagerating.com — sign up for an API key and learn about the product
Available Tools
3 toolsget_packageGet package scoreA
Get the full health/risk score for a single package by name. If the package has never been scored, this triggers a crawl and waits (bounded) for it to finish before returning.
Inputs: name (required), version, language.
list_packagesList packagesA
List npm/PyPI packages that have at least one score, sorted by composite score by default.
Inputs: sort, limit, order, language.
request_crawlRequest a crawlA
Enqueue one or more packages for crawling without waiting for the result. Useful for pre-warming several packages at once, e.g. before comparing alternatives.
Inputs: language (required), packages (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a distinct purpose: listing scored packages, fetching a single package's score, and enqueueing crawls without waiting. Although get_package can trigger a crawl, the key difference is that request_crawl is for background pre-warming, so there is no ambiguity.
All tool names follow the same verb_noun pattern: list_packages, get_package, request_crawl. The naming is predictable and consistently formatted.
With only 3 tools, the server is tightly scoped to its purpose of providing package ratings. Each tool is necessary and there is no bloat, making the count feel intentional rather than thin.
The tool surface covers the core workflows: listing available packages, retrieving detailed scores, and requesting background crawls for pre-warming. There are no obvious operational gaps for the stated domain.
Maintenance
Related MCP Connectors
Provide AI-powered real-time analysis and intelligence on NPM packages, including security, depend…
Live trust signals for domains & packages: age, registrar, typosquat resemblance.
Real-time package and vulnerability data (Python, npm, Cargo, Go, and more) for AI coding agents.
Safety grade (A to F) for any public GitHub repo, in plain English, before you install it.
Related MCP Servers
- AlicenseAqualityBmaintenanceSupply chain risk scoring for npm, PyPI, and GitHub repos89MIT
- AlicenseAqualityDmaintenancePackage intelligence for AI coding agents that checks npm and PyPI package health, deprecation, vulnerabilities, bundle size, and compares alternatives.5MIT
- AlicenseNot gradedqualityCmaintenanceEnables coding agents to retrieve maintainer-written release notes and compare installed versus target dependency versions, search packages, and report on projects pushed to a dashboard.MIT
- AlicenseAqualityBmaintenanceScores npm packages, PyPI packages and GitHub repositories 0-100 with an A-F grade and plain-language risks. Scans package.json, requirements.txt and lock files; no API key needed.344 npm1Apache 2.0