Skip to main content
Glama
npm and PyPI Package Adoption MCP Server

npm and PyPI Package Adoption MCP Server

npm and PyPI Package Adoption MCP Server

MCP Registry npm version npm downloads license

An MCP server for the Mamba Labs npm and PyPI Package Adoption actor on Apify. npm and PyPI downloads, trend, versions, and release dates per package.

What's Inside

Related MCP server: pkg-peep

What it does

Give npm or PyPI package names. The actor reads the npm registry and download APIs, PyPI's JSON API, and pypistats.org, and returns one row per package: downloads over the last day, 7, 30, 180, and 365 days, the 30 day trend, monthly totals, latest version, release dates, releases in the last 12 months, license, repository, maintainers count, and deprecation. npm download counts cover 365 days; PyPI counts cover 180 days.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

{
  "mcpServers": {
    "mamba-npm-pypi-package-adoption": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-npm-pypi-package-adoption"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}

Restart the client. The get_package_adoption tool appears.

Prerequisites

Example prompts

  • "Compare monthly npm downloads for express and fastify."

  • "Which of these PyPI packages grew most in the last 30 days: requests, httpx, aiohttp?"

  • "When did these npm packages last ship a release, and are any deprecated?"

Tool

get_package_adoption. One tool. Example arguments:

{
  "npm_packages": [
    "express",
    "fastify"
  ],
  "pypi_packages": [
    "requests",
    "httpx"
  ]
}

Inputs

Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.

Input

Type

Required

Description

npm_packages

array

no

npm package names or npmjs.com package URLs, for example express, @angular/core, or https://www.npmjs.com/package/react. One per line; one line can hold several names separated by commas. In Clay, put the column inside a one item list.

pypi_packages

array

no

PyPI package names or pypi.org project URLs, for example requests, django, or https://pypi.org/project/httpx/. One per line; one line can hold several names separated by commas.

max_charge_usd

string

no

Optional. The run stops before a charge that would pass this amount. Summary rows are always returned.

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

Event

Free plan

Bronze

Silver

Gold

package-row, one package

$0.003

$0.00285

$0.0027

$0.00255

apify-actor-start, per run start

$0.004

$0.004

$0.004

$0.004

Package names that do not exist, repeats, rate limits, API errors, and refused input are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.

Full actor documentation

apify.com/mambalabs/npm-pypi-package-adoption

License

MIT. See LICENSE.

Available Tools

1 tool
get_package_adoptionGet npm and PyPI package downloads and release statsA
Read-onlyIdempotent

Give npm or PyPI package names. Returns one row per package from the public registry APIs: downloads for the last day, 7, 30, 180, and 365 days, the 30 day trend against the prior 30 days, monthly totals, latest version, first and latest release dates, releases in the last 12 months, license, repository, homepage, maintainers count, deprecation, runtime requirement, dependencies count, and keywords. Pay per event on Apify: 0.003 USD per package row.

Inputs: npm_packages, pypi_packages, max_charge_usd.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 1 tool

    Disambiguation5/5

    There is only one tool, so there is no possibility of overlap or misselection. Its purpose — fetching adoption metrics for named npm/PyPI packages — is clearly stated and unambiguous.

    Naming Consistency5/5

    The single tool follows a clear verb_noun snake_case convention (get_package_adoption). With one tool there are no deviations or mixed conventions to worry about.

    Tool Count3/5

    The task is essentially one retrieval operation, so a single tool is defensible and earns its place by returning many fields at once. Still, at one tool the surface is thin and leaves no room for related operations like searching or comparing packages.

    Completeness4/5

    One call returns downloads, trends, versions, license, repo, deprecation, and dependency counts, which covers the core adoption question well. Minor gaps remain: no way to discover or search package names, no cross-package ranking or comparison, and no aggregation beyond per-row output.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers