SDK Deprecation Checker MCP Server (Currency) avatar

SDK Deprecation Checker MCP Server (Currency)

Pricing

from $10.00 / 1,000 deprecation checks

Go to Apify Store
SDK Deprecation Checker MCP Server (Currency)

SDK Deprecation Checker MCP Server (Currency)

MCP server for coding agents: checks JavaScript and TypeScript code for deprecated SDK calls (Clerk, Stripe, OpenAI, Anthropic, Vercel AI SDK, Next.js, Supabase, Prisma, Firebase, PostHog), with the replacement and a dated source.

Pricing

from $10.00 / 1,000 deprecation checks

Rating

0.0

(0)

Developer

Tankster AI

Tankster AI

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

3 days ago

Last modified

Categories

Features

Limited permissionsSingle-tenantServer interface

Share

Coding agents write code against SDK versions they learned in training. When an SDK removes a method, the agent keeps calling it, and you find out at build time or in production. This Actor is an MCP server that gives your agent sourced, dated deprecation data for 10 popular JavaScript and TypeScript SDKs: it checks a code snippet for deprecated calls and names each replacement and its primary source (an official changelog, migration guide or release note).

Every answer says how fresh the data is (generated, freshness), so your agent can tell current facts from stale ones.

What can this MCP server do?

  • 🔍 check_snippet: finds calls to deprecated or removed SDK methods in a JavaScript or TypeScript snippet (JSX allowed), for the packages you name. Each finding gives the line, the replacement and the source. It also lists the dated advisories for those packages (API shutdowns, model retirements, breaking changes).
  • 📚 lookup_deprecations: every known deprecation, removal and dated advisory for one npm package.
  • 🗂️ list_covered_sdks: what the data covers, with pattern and advisory counts. Free.

All three tools are read-only: they never change anything, and they call no network. The data is built into the Actor, so answers are fast and consistent.

Which SDKs are covered?

78 sourced entries for 10 SDKs, across these npm packages:

SDKPackages
Clerk@clerk/nextjs, @clerk/expo, @clerk/backend, @clerk/ui, @clerk/react-router
PostHogposthog-js
Supabase@supabase/supabase-js, @supabase/server, @supabase/auth-helpers-nextjs
OpenAIopenai
Anthropic@anthropic-ai/sdk
Vercel AI SDKai
Next.jsnext
Stripestripe
Prisma@prisma/client, prisma
Firebasefirebase

Call list_covered_sdks for the current list and the date the data was last checked against its sources.

How to connect your agent

This Actor runs in Standby mode: it is a server that is ready when your agent calls it. Point your MCP client at:

https://<username>--sdk-deprecation-mcp.apify.actor/mcp
Authorization: Bearer <your Apify API token>

Apify Console shows the exact MCP URL in the Actor's Server tab. The endpoint speaks Streamable HTTP and serves both the 2025 MCP clients and the 2026-07-28 ones.

For example, in Claude Code:

claude mcp add --transport http sdk-deprecations https://<username>--sdk-deprecation-mcp.apify.actor/mcp --header "Authorization: Bearer <your Apify API token>"

Example: an agent checks its own code

Before it commits, your agent calls check_snippet with:

{ "code": "const upcoming = await stripe.invoices.retrieveUpcoming({ customer });", "packages": ["stripe"] }

and gets back (shortened):

{
"findings": [{
"patternId": "stripe-invoices-upcoming",
"severity": "high",
"replacement": "stripe.invoices.createPreview({ customer, subscription })",
"source": "https://docs.stripe.com/changelog/basil/2025-03-31/invoice-preview-api-deprecations",
"calls": [{ "line": 1, "column": 23, "matchedIdentifier": "retrieveUpcoming" }]
}],
"advisories": [{ "id": "stripe-v22-client-construction", "severity": "high", "source": "https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md" }],
"generated": "2026-11-13",
"freshness": { "ageDays": 1, "targetDays": 7, "stale": false }
}

It then rewrites the call to invoices.createPreview(), as the source says.

Pricing

You pay per successful check (pay per event):

EventPriceWhen
deprecation-check$0.005One successful check_snippet or lookup_deprecations answer

So 1,000 checks cost $5 in check events, plus the platform usage of your server's runs.

  • Free: list_covered_sdks, and any call that ends in an error: an untracked package, a snippet that does not parse or is over the size limit, a refusal at a spending limit, or a refusal by the checks below.
  • Platform usage: your server runs in your own Apify account (single-tenant), at 256 MB of memory, so you also pay for its runs while they are up, including while they wait for requests until the idle timeout stops them. To change the idle timeout (or the memory), open the Actor in Apify Console, select Save as a new task, change the task's Settings, and connect your MCP client to the task's hostname instead of the Actor's.
  • Run start: if the Actor's pricing includes Apify's standard start event, it costs $0.00005 per run start at this Actor's memory (one event per start up to 1 GB).

Spending limits

  • Your account's monthly usage hard limit caps spending across all runs: once it is reached, Apify rejects new requests to Server Actors.
  • A per-run limit applies only if the run has one. Apify's pay-per-event limit is per run, not per user, and Standby may start more runs (when one run is busy, after an idle timeout, or to replace a run), each with its own limit. When the run you reach has spent its limit, paid calls to it are refused with spending_limit and nothing is charged; a new run has its own limit. If another check on the same run is still using the last of its budget, the refusal says so, and a retry a moment later may succeed.

When something is wrong on Apify's side

  • Billing unavailable: if Apify does not confirm a charge within a few seconds, the check is refused with billing_unavailable, not charged, and its answer withheld. Retry in a minute.
  • Pricing or setup misconfigured: if the Actor's pricing does not price the deprecation-check event, or the Actor is not single-tenant, paid checks are refused with pricing_misconfigured or tenancy_misconfigured and nothing is charged; the run's status message says why. list_covered_sdks keeps working.

Limits

  • check_snippet takes at most 2,048 bytes of code and 10 packages per call. Send the lines that call the SDK, not whole files.
  • Matching is by called name, not traced imports, so check each finding against the code. Advisories are facts to read, not detected in code.
  • The data has no version ranges yet: lookup_deprecations returns every entry for a package, and each message says which releases it concerns.
  • PostHog: the entries are filed under posthog-js, but its flag deprecations describe the server SDK, posthog-node. Read each PostHog finding's message before acting on it in browser code.
  • Stale data: the data is built into the Actor. When it is older than its 7-day freshness target, answers are still charged and carry a notice saying how old it is: every entry stays sourced and true, but deprecations announced since generated may be missing.

FAQ

Is a package missing? An untracked package is an error, never an empty "all clear": the answer says it is not tracked and lists what is.

How current is the data? Each answer carries generated (the date the entries were last checked against their sources) and freshness against a 7-day target, with a stale flag.

What does a run started from the input form do? It serves nothing: it writes the coverage list to the run's OUTPUT record, charges no check, and finishes. Use the Standby URL with an MCP client to check code.

Where do the facts come from? Every entry links its primary source: the vendor's changelog, migration guide, release notes or the SDK's own @deprecated tags.