Skip to main content
Glama
packagerating

packagerating MCP Server

Official

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_packages

List scored packages, sorted by composite score by default

get_package

Full score + dimension breakdown for one package by name. Transparently waits for a first-ever crawl to finish.

request_crawl

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

  1. Get a free API key at packagerating.com.

  2. Add the server. In Claude Code:

claude mcp add packagerating -e PACKAGERATING_API_KEY=your-api-key-here -- npx -y @packagerating/mcp-server

That 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: Depfender MCP Server

Example

"Is left-pad safe to add as a dependency? What about lodash?"

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_KEY

Available Tools

3 tools
get_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.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesPackage name in its registry, e.g. "axios" or "requests".
versionNoSpecific version to look up. Defaults to the most recently crawled version.
languageNoLanguage ecosystem. Defaults to javascript.

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the burden and does disclose the non-obvious side effect: triggering a crawl and waiting bounded if never scored. It doesn't cover timeout behavior, output shape, or idempotence, but the key behavioral trait is clearly stated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two focused sentences: the first states the purpose, the second a necessary caveat about triggering a crawl. No redundant words or repetition of schema details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no annotations and no output schema, it covers the main purpose, side-effect, and bounded wait. Missing details are mostly output structure and explicit relationships to siblings, but the description is sufficient for correct selection and basic invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and all parameters have descriptive metadata (name, version, language). The description adds 'by name' and 'full score' but does not provide meaning beyond the schema, matching the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Get') with a clear resource ('full health/risk score for a single package by name'). It distinguishes from sibling tools by emphasizing 'single package' and the score result, versus list_packages (listing) and request_crawl (triggering crawls).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It implies when to use: when you need a score for one package, and warns that it may trigger a crawl if unscored. However, it does not explicitly name alternatives like request_crawl for cases where you don't want to wait, so it stops short of full when/when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_packagesList packagesA

List npm/PyPI packages that have at least one score, sorted by composite score by default.

ParametersJSON Schema
NameRequiredDescriptionDefault
sortNoField to sort by. Defaults to general_score.
limitNoMax results, 1-200. Defaults to 50.
orderNoSort direction. Defaults to desc.
languageNoFilter by language ecosystem.

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the transparency burden. It discloses key filtering behavior (only packages with at least one score) and default sorting, but it does not mention the response format, pagination, or explicitly state that this is a read-only operation beyond the verb 'List'. There is no contradiction with any structured metadata.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, well-structured sentence that front-loads the core action and adds relevant qualifiers without any filler. Every word contributes to understanding the tool's purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complete parameter schema and simple list operation, the description adequately covers the key behavior: what is listed, the score filter, and default ordering. The lack of an output schema is somewhat mitigated by the straightforward nature of a list tool, though explicit return structure or pagination details would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema provides 100% coverage with full descriptions and enums for all four parameters, so the baseline is 3. The description adds minor context about 'composite score' and default sort, but it does not meaningfully expand on parameter usage beyond what the schema already declares.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('List') and resource ('npm/PyPI packages') with a clear scope ('that have at least one score') and default ordering ('sorted by composite score by default'). This distinguishes it from siblings like get_package (single package lookup) and request_crawl (initiating crawls).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides clear context for when to use the tool: when you need a list of scored npm/PyPI packages. It does not explicitly name alternatives or exclusions, but the context is sufficient for an agent to distinguish this list operation from package details or crawling requests.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
languageYesLanguage ecosystem of the packages to crawl.
packagesYesPackage names to enqueue for crawling.

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are present, so the description carries the burden. It discloses that the operation is non-blocking ('without waiting for the result') and that it enqueues, but it does not clarify return behavior, authentication needs, or queue side effects, leaving some ambiguity.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the core action, and every clause contributes value. No wasted words or repetition of schema fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple tool with 2 parameters and no output schema, the description covers the main behavior and a use case. It lacks explicit mention of what the caller receives after enqueueing, but given the tool's low complexity, it is reasonably complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already provides 100% coverage of both parameters with descriptions, so the description adds little beyond reinforcing that multiple packages can be submitted ('one or more'). It does not introduce new constraints or format details beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Enqueue' and the resource 'packages for crawling,' and distinguishes itself from siblings by emphasizing 'without waiting for the result,' which contrasts with synchronous retrieval tools like get_package.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides a clear use case: 'pre-warming several packages at once, e.g. before comparing alternatives,' which implies when this tool is appropriate. However, it does not explicitly name alternatives or state when not to use it, so it falls short of a full 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

A4.4/5.0
Disambiguation5/5

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.

Naming Consistency5/5

All tool names follow the same verb_noun pattern: list_packages, get_package, request_crawl. The naming is predictable and consistently formatted.

Tool Count5/5

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.

Completeness5/5

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

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Provides crowdsourced package intelligence and security alerts for AI coding assistants by analyzing project dependencies and framework co-occurrence. It enables automated project scans, package alternative discovery, and data-driven recommendations across multiple programming ecosystems.
    10
    22
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables users to scan software packages for data exfiltration and security threats directly within their IDE across npm, PyPI, Cargo, and Maven ecosystems. This tool helps ensure the safety of project dependencies by identifying potential risks before they are integrated.
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Package intelligence for AI coding agents that checks npm and PyPI package health, deprecation, vulnerabilities, bundle size, and compares alternatives.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/packagerating/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server