# Tech Stack & SDK Breaking Changes Radar for AI Agents (MCP) (`scrapesmart/tech-changelog-agent-radar`) Actor

Deterministic, zero-token changelog & breaking changes intelligence engine for AI coding agents (Cursor, Windsurf, Claude Code, Cline, Copilot). Scans npm, PyPI, Crates.io, and GitHub releases to extract version deprecations, breaking changes, and token-optimized MCP Markdown briefs.

- **URL**: https://apify.com/scrapesmart/tech-changelog-agent-radar.md
- **Developed by:** [Dysen K](https://apify.com/scrapesmart) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 package or sdk release changelog analyzed for breaking changes, deprecations & cves

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 🛡️ Tech Stack & SaaS Breaking-Changes Radar for AI Coding Agents (MCP)

> **Deterministic, zero-token changelog radar and upgrade risk analyzer for AI coding agents (Cursor, Claude Code, Windsurf, Cline, GitHub Copilot) and DevOps teams.**

[![Apify Actor](https://img.shields.io/badge/Apify-Actor-orange?logo=apify)](https://apify.com)
[![Ecosystems](https://img.shields.io/badge/Ecosystems-npm%20%7C%20PyPI%20%7C%20Crates.io%20%7C%20GitHub-blue)](#supported-ecosystems)
[![MCP Ready](https://img.shields.io/badge/MCP-Ready%20\(<500%20tokens\)-green)](#ai-agent-integration-cursor-claude-windsurf)
[![License](https://img.shields.io/badge/License-Apache%202.0-lightgrey)](LICENSE)

***

### ⚡ The Problem: Why Coding Agents Hallucinate Obsolete Code

AI coding models (Claude 3.7 / 3.5 Sonnet, GPT-4o, DeepSeek-R1, Gemini 2.0) are constrained by **training data cutoffs**. When developers ask them to implement features with modern frameworks—like **Next.js**, **Pydantic**, **Tailwind CSS**, or SDKs like **Anthropic**, **OpenAI**, and **Stripe**—agents frequently:

1. ❌ **Hallucinate deprecated APIs** that were removed in major releases (e.g. Next.js App Router cookies API changed from synchronous to async, Tailwind CSS v4 replaced `tailwind.config.js` with CSS-first `@theme`).
2. 💸 **Waste 50,000+ context tokens** when web scrapers dump massive documentation trees into your prompt window.
3. 🚨 **Miss critical security advisories (CVEs)** or silent breaking changes that cause compilation failures.

***

### 🚀 The Solution: 100% Deterministic Changelog Radar

**Tech Changelog Agent Radar** deterministically resolves any package name or GitHub repository across **npm**, **PyPI**, **Crates.io**, and **GitHub Releases** in under 1 second. It classifies changelog entries into **Breaking Changes**, **Deprecations**, and **Security Fixes**, and formats a compact **`<500-token` MCP Brief** ready for instant context injection.

- **Zero LLM Cost:** 100% deterministic parsing with zero latency and zero hallucination risk.
- **100% Uptime Guaranteed:** Queries official package registries and GitHub REST APIs with an **automatic zero-auth GitHub Atom feed fallback** (`releases.atom`), ensuring continuous operation even without a GitHub token.
- **Built-in 45+ Developer SDK Aliases:** Bare keywords like `next`, `pydantic`, `stripe`, `supabase`, `anthropic`, `openai`, `tailwindcss`, `drizzle`, or `prisma` instantly resolve to their canonical package and exact GitHub repository.

***

### 🤖 AI Agent Integration (Cursor, Claude, Windsurf)

#### 1. Direct Context Injection (`.cursorrules`, `CLAUDE.md`, `.windsurfrules`)

Run this Actor against your project's `dependencies` list. The Actor outputs a compiled Markdown prompt into the Apify Key-Value Store under `MCP_PROMPT`. Simply paste it into your agent rules:

```markdown
## 🛡️ TECH STACK BREAKING-CHANGES & SDK RADAR (AI AGENT INSTRUCTIONS)
#### ⚡ next (Ecosystem: NPM)
- **Latest Stable**: `16.4.5` (Released: 2026-11-03)
- **Required Runtime**: `Node >=20.9.0`
- **Upgrade Risk**: ⚠️ **HIGH (Major SemVer Bump Detected)**
- **🛑 Deprecated APIs (Avoid Generating):**
  - ⚠️ [lts-active] Use fast-jwt instead of jsonwebtoken
- **🔒 Security Fixes:**
  - 🛡️ Cross-tenant sensitive information disclosure in Next.js 'use cache' (GHSA-mfr8-8qww-v76h)
- **Changelog**: https://github.com/vercel/next.js/releases
```

#### 2. Model Context Protocol (MCP) Tool Integration

Connect your AI agent directly to this Actor via the Apify MCP Server or REST API. Before planning major refactors, your agent can call this radar to check for breaking changes before writing code.

***

### 📦 Supported Ecosystems & Resolvers

| Ecosystem | Registry Source | Supported Query Format Examples |
|---|---|---|
| **npm** | `registry.npmjs.org` | `"next"`, `"tailwindcss"`, `"@modelcontextprotocol/sdk"`, `"npm:express"` |
| **PyPI** | `pypi.org` | `"pydantic"`, `"fastapi"`, `"langchain"`, `"pypi:django"` |
| **Crates.io** | `crates.io` | `"tokio"`, `"serde"`, `"axum"`, `"crates:actix-web"` |
| **GitHub** | `api.github.com` + `releases.atom` | `"stripe/stripe-node"`, `"github:vercel/ai"`, `"facebook/react"` |

***

### ⚙️ Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `packages` | `Array<string>` | `["next", "pydantic", "tailwindcss", "@modelcontextprotocol/sdk"]` | List of package names, aliases, or GitHub repos to analyze. |
| `ecosystem` | `string` | `"auto"` | `"auto"`, `"npm"`, `"pypi"`, `"crates"`, or `"github"`. |
| `releasesToAnalyze` | `number` | `5` | Number of recent releases or tags to parse for breaking changes. |
| `includePrereleases`| `boolean` | `false` | Whether to inspect canary, beta, alpha, and rc tags. |
| `concurrency` | `number` | `5` | Parallel worker count for ultra-fast processing. |
| `githubToken` | `string` | `null` | Optional GitHub PAT for higher REST rate limits (optional, Atom feed fallback provides 100% uptime without a token). |

***

### 📊 Dataset Output Format

Each item pushed to the default dataset contains:

```json
{
  "query": "next",
  "canonicalName": "next",
  "ecosystem": "npm",
  "latestVersion": "16.4.5",
  "publishedAt": "2026-11-03T18:01:54.667Z",
  "upgradeRiskLevel": "HIGH (Major SemVer Bump Detected)",
  "breakingChangesCount": 0,
  "deprecationsCount": 1,
  "securityFixesCount": 5,
  "majorFeaturesCount": 0,
  "hasMajorSemverBump": true,
  "breakingChanges": [],
  "deprecations": [
    "[lts-active] Use fast-jwt instead of jsonwebtoken"
  ],
  "securityFixes": [
    "[Cross-tenant sensitive information disclosure in Next.js 'use cache'](https://github.com/vercel/next.js/security/advisories/GHSA-mfr8-8qww-v76h)"
  ],
  "majorFeatures": [],
  "runtimeEngines": {
    "node": ">=20.9.0"
  },
  "dependenciesCount": 6,
  "peerDependenciesCount": 6,
  "githubRepo": "vercel/next.js",
  "repositoryUrl": "git+https://github.com/vercel/next.js.git",
  "changelogUrl": "https://github.com/vercel/next.js/releases",
  "releasesAnalyzed": 5,
  "mcpMarkdownBrief": "### ⚡ next (Ecosystem: NPM)...",
  "checkedAt": "2026-11-06T17:22:09.579Z"
}
```

***

### 🏷️ Upgrade Risk Classification Logic

The radar computes a deterministic **Upgrade Risk Level** for every package:

- 🚨 **`CRITICAL (Breaking Changes Detected)`**: Breaking change headers (`## Breaking Changes`), conventional commits (`feat!:`), or breaking keywords detected.
- ⚠️ **`HIGH (Major SemVer Bump Detected)`**: Major version change detected between recent releases (e.g. v15 to v16).
- ⚠️ **`HIGH (Security Vulnerability / CVE Patch)`**: Security advisory, CVE, or GHSA patch included in recent releases.
- 🟡 **`MODERATE (Deprecations Noted)`**: Deprecation notices detected in recent changelogs.
- 🟢 **`LOW (Standard Minor/Patch Release)`**: Standard bug fixes, internal maintenance, or non-breaking minor updates.

***

### 💻 Programmatic Usage

#### Node.js (Official Apify Client)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });

const run = await client.actor('your-username/tech-changelog-agent-radar').call({
    packages: ['next', 'pydantic', 'tailwindcss', '@modelcontextprotocol/sdk'],
    releasesToAnalyze: 5
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python SDK

```python
from apify_client import ApifyClient

client = ApifyClient('YOUR_APIFY_TOKEN')

run_input = {
    'packages': ['fastapi', 'langchain', 'pydantic', 'openai'],
    'ecosystem': 'pypi',
    'releasesToAnalyze': 5
}

run = client.actor('your-username/tech-changelog-agent-radar').call(run_input=run_input)
for item in client.dataset(run['defaultDatasetId']).iterate_items():
    print(f"{item['canonicalName']} [{item['latestVersion']}]: {item['upgradeRiskLevel']}")
```

***

### 📄 License

Apache-2.0

# Actor input Schema

## `packages` (type: `array`):

List of package names, aliases, or GitHub repos to analyze. Supports npm packages ('next', 'tailwindcss'), PyPI ('pydantic', 'fastapi'), Crates.io ('tokio'), scoped packages ('@modelcontextprotocol/sdk'), or direct GitHub repos ('stripe/stripe-node', 'github:vercel/ai').

## `ecosystem` (type: `string`):

Default package registry to query. 'auto' automatically detects npm, PyPI, Crates.io, or GitHub repos via built-in aliases and registry fallbacks.

## `releasesToAnalyze` (type: `integer`):

Number of recent releases or tags to parse for breaking changes, deprecations, and features.

## `includePrereleases` (type: `boolean`):

Whether to analyze canary, beta, alpha, and release candidate versions.

## `concurrency` (type: `integer`):

Number of packages to inspect in parallel.

## `githubToken` (type: `string`):

Optional GitHub Personal Access Token (classic or fine-grained) to increase REST API rate limits. If omitted, the Actor automatically uses GitHub's public Atom feed fallback with 100% uptime and zero token required.

## Actor input object example

```json
{
  "packages": [
    "next",
    "pydantic",
    "tailwindcss",
    "@modelcontextprotocol/sdk"
  ],
  "ecosystem": "auto",
  "releasesToAnalyze": 5,
  "includePrereleases": false,
  "concurrency": 5
}
```

# Actor output Schema

## `results` (type: `string`):

JSON/table dataset containing all enriched records and per-record mcpMarkdownBrief fields.

## `mcpPrompt` (type: `string`):

Token-optimized Markdown brief stored in the default Key-Value Store for direct LLM/MCP consumption.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "packages": [
        "next",
        "pydantic",
        "tailwindcss",
        "@modelcontextprotocol/sdk"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapesmart/tech-changelog-agent-radar").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "packages": [
        "next",
        "pydantic",
        "tailwindcss",
        "@modelcontextprotocol/sdk",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("scrapesmart/tech-changelog-agent-radar").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "packages": [
    "next",
    "pydantic",
    "tailwindcss",
    "@modelcontextprotocol/sdk"
  ]
}' |
apify call scrapesmart/tech-changelog-agent-radar --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapesmart/tech-changelog-agent-radar"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/g1wyS5cYhMgzjb6pR/builds/9hPIh6wrICw31ZUzP/openapi.json
