npm and PyPI Package Adoption MCP Server
Reads npm registry and download APIs to return adoption data for npm packages, including downloads over 1, 7, 30, 180, and 365 days, 30-day trend, monthly totals, latest version, release dates, releases in the last 12 months, license, repository, maintainer count, and deprecation status.
Reads PyPI's JSON API and pypistats.org to return adoption data for PyPI packages, including downloads over 1, 7, 30, and 180 days, 30-day trend, monthly totals, latest version, release dates, releases in the last 12 months, license, repository, maintainer count, and deprecation status.
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., "@npm and PyPI Package Adoption MCP Server Compare monthly npm downloads for express and fastify."
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.
npm and PyPI Package Adoption MCP Server
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
Node.js 18 or newer.
An Apify API token from console.apify.com/account/integrations, set as
APIFY_TOKEN. The server lists its tool without a token; a call needs one.
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 |
| 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. |
| 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. |
| 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 |
| $0.003 | $0.00285 | $0.0027 | $0.00255 |
| $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 toolget_package_adoptionGet npm and PyPI package downloads and release statsARead-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
Scored across 1 tool
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.
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.
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.
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
Related MCP Connectors
Downloads, versions, licenses, as one MCP tool through Apify
Package intelligence for AI agents across npm, PyPI, crates.io and deps.dev. No API keys.
Package intelligence for AI agents across npm, PyPI, crates.io and deps.dev. No API keys.
Dive into the world of npm with our NPM Package Info MCP. Access crucial metadata about any npm
Related MCP Servers
- AlicenseAqualityCmaintenanceChecks npm and PyPI packages for outdated versions, deprecation status, and breaking changes with cited sources, enabling AI agents to verify dependency freshness.1ISC
- AlicenseBqualityDmaintenanceEnables querying NPM package download statistics, metadata, and dependency information through natural language.2MIT
- AlicenseAqualityDmaintenancePackage intelligence for AI coding agents that checks npm and PyPI package health, deprecation, vulnerabilities, bundle size, and compares alternatives.5MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to track weekly npm package download trends, growth rates, and rankings for market and developer ecosystem research.3MIT