Scan your whole stack
From OX Research Newsroom
Are you using creem?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.1.0
creem was last scanned on 27 Nov 2026 at version 2.1.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.1.0 LATEST | 27 Nov 2026 | No rules fired |
| 2.0.0 | 20 Nov 2026 | No rules fired |
| 1.14.0 | 12 Nov 2026 | No rules fired |
| 1.13.0 | 17 Sep 2026 | Not shown |
| 1.12.0 | 16 Sep 2026 | Not shown |
Findings for v2.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 2.1.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Developer-friendly & type-safe Typescript SDK specifically catered to leverage creem API.
Creem API: Creem is an all-in-one platform for managing subscriptions and recurring revenue, tailored specifically for today's SaaS companies. It enables you to boost revenue, enhance customer retention, and scale your operations seamlessly.
For more information about the API: Creem Documentation
The SDK can be installed with either npm, pnpm, bun or yarn package managers.
npm add creem
pnpm add creem
bun add creem
yarn add creem
[!NOTE] This package is published with CommonJS and ES Modules (ESM) support.
This SDK is also an installable MCP server where the various SDK methods are exposed as tools that can be invoked by AI applications.
Node.js v20 or greater is required to run the MCP server from npm.
Add the following server definition to your claude_desktop_config.json file:
{
"mcpServers": {
"Creem": {
"command": "npx",
"args": [
"-y", "--package", "creem",
"--",
"mcp", "start",
"--api-key", "..."
]
}
}
}
Create a .cursor/mcp.json file in your project root with the following content:
{
"mcpServers": {
"Creem": {
"command": "npx",
"args": [
"-y", "--package", "creem",
"--",
"mcp", "start",
"--api-key", "..."
]
}
}
}
You can also run MCP servers as a standalone binary with no additional dependencies. You must pull these binaries from available Github releases:
curl -L -o mcp-server \
https://github.com/{org}/{repo}/releases/download/{tag}/mcp-server-bun-darwin-arm64 && \
chmod +x mcp-server
If the repo is a private repo you must add your Github PAT to download a release -H "Authorization: Bearer {GITHUB_PAT}".
{
"mcpServers": {
"Todos": {
"command": "./DOWNLOAD/PATH/mcp-server",
"args": [
"start"
]
}
}
}
For a full list of server arguments, run:
npx -y --package creem -- mcp start --help
For supported JavaScript runtimes, please consult RUNTIMES.md.
import { Creem } from "creem";
const creem = new Creem({
apiKey: process.env["CREEM_API_KEY"] ?? "",
});
async function run() {
const result = await creem.products.search({
externalId: "pro-monthly",
});
for await (const page of result) {
console.log(page);
}
}
run();
This SDK supports the following security scheme globally:
| Name | Type | Scheme | Environment Variable |
|---|---|---|---|
apiKey |
apiKey | API key | CREEM_API_KEY |
To authenticate with the API the apiKey parameter must be set when initializing the SDK client instance. For example:
import { Creem } from "creem";
const creem = new Creem({
apiKey: process.env["CREEM_API_KEY"] ?? "",
});
async function run() {
const result = await creem.products.search({
externalId: "pro-monthly",
});
for await (const page of result) {
console.log(page);
}
}
run();
All the methods listed above are available as standalone functions. These functions are ideal for use in applications running in the browser, serverless runtimes or other environments where application bundle size is a primary concern. When using a bundler to build your application, all unused functionality will be either excluded from the final bundle or tree-shaken away.
To read more about standalone functions, check FUNCTIONS.md.
affiliatesCreateInvite - Create an affiliate invitationaffiliatesList - List all affiliatesaffiliatesListCommissions - List affiliate commissionsaffiliatesListInvites - List affiliate invitationsaffiliatesRetrieve - Retrieve an affiliatecatalogPromote - Promote the test catalog to live (meters and products).catalogValidate - Validate a batch of catalog writes together, without writing anything.checkoutsCreate - Creates a new checkout session.checkoutsRetrieve - Retrieve a checkout session.customerCreditsCloseAccount - Close an accountcustomerCreditsCreateAccount - Create a customer credits accountcustomerCreditsCreditAccount - Credit an accountcustomerCreditsDebitAccount - Debit an accountcustomerCreditsFreezeAccount - Freeze an accountcustomerCreditsGetAccount - Retrieve a customer credits accountcustomerCreditsGetAccountBalance - Get account balancecustomerCreditsGetTransaction - Retrieve a transactioncustomerCreditsListAccounts - List customer credits accountscustomerCreditsListEntries - List account entriescustomerCreditsListTransactionsByReference - List transactions by referencecustomerCreditsPostTransaction - Post a transactioncustomerCreditsReverseTransaction - Reverse a transactioncustomerCreditsReverseTransactionById - Reverse a transactioncustomerCreditsUnfreezeAccount - Unfreeze an accountcustomersCreate - Create a customercustomersGenerateBillingLinks - Generate Customer LinkscustomersGetOrders - List customer orderscustomersList - List all customerscustomersListLicenses - List customer licensescustomersListSubscriptions - List customer subscriptionscustomersRetrieve - Retrieve a customercustomersUpdate - Update a customerdiscountsCreate - Creates a discount, or updates the one with the same external_id.discountsDelete - Delete a discount.discountsGet - Retrieve discountdiscountsSearch - Search discountsdiscountsUpdate - Update a discount.eventsIngestEvents - Ingest usage eventseventsListEvents - List usage eventseventsPreviewEvents - Preview usage eventsfilesConfirmUpload - Confirm an uploaded filefilesCreateUpload - Upload a filelicensesActivate - Activates a license key.licensesDeactivate - Deactivate a license key instance.licensesListInstances - List license instances.licensesValidate - Validates a license key or instance.metersArchiveMeter - Archive a metermetersCreateMeter - Create a metermetersGetConsumedUnits - Get consumed units for a customermetersGetMeter - Retrieve a metermetersListMeters - List metersmetersPreviewExistingMeter - Preview an existing metermetersPreviewMeter - Preview an unsaved meter definitionmetersUnarchiveMeter - Unarchive a metermetersUpdateMeter - Update a metermoderationScreenPrompt - Screen a promptproductGroupsAddProduct - Add a product to a product groupproductGroupsCreate - Create a product groupproductGroupsDelete - Delete a product groupproductGroupsGet - Retrieve a product groupproductGroupsList - List product groupsproductGroupsRemoveProduct - Remove a product from a product groupproductGroupsUpdate - Update a product groupproductsArchive - Archive a productproductsCreate - Creates a product, or updates the one with the same external_id.productsGet - Get a product by IDproductsListPrices - List the price versions of a productproductsSearch - List all productsproductsUpdate - Update a productsplitsCreate - Create a splitsplitsDelete - Delete a splitsplitsList - List all splitssplitsRetrieve - Retrieve a splitstatsGetSummary - Get store metrics summarysubscriptionsCancel - Cancel a subscription.subscriptionsGet - Retrieve a subscriptionsubscriptionsPause - Pause a subscription.subscriptionsResume - Resume a subscription.subscriptionsSearch - List all subscriptionssubscriptionsUpdate - Update a subscription.subscriptionsUpgrade - Upgrade a subscription to a different producttransactionsGetById - Get a transaction by IDtransactionsRefund - Refund a paymenttransactionsSearch - List all transactionswebhooksAcknowledgeEvent - Acknowledge a CLI webhook eventwebhooksCreate - Create a webhook endpointwebhooksDelete - Delete a webhook endpointwebhooksGet - Retrieve a webhook endpointwebhooksGetSecret - Retrieve a webhook signing secretwebhooksList - List webhook endpointswebhooksListPendingEvents - List pending events for a CLI webhook endpointwebhooksUpdate - Update a webhook endpointSome of the endpoints in this SDK support pagination. To use pagination, you
make your SDK calls as usual, but the returned response object will also be an
async iterable that can be consumed using the [for await...of][for-await-of]
syntax.
Here's an example of one such pagination call:
import { Creem } from "creem";
const creem = new Creem({
apiKey: process.env["CREEM_API_KEY"] ?? "",
});
async function run() {
const result = await creem.products.search({
externalId: "pro-monthly",
});
for await (const page of result) {
console.log(page);
}
}
run();
Some of the endpoints in this SDK support retries. If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API. However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.
To change the default retry strategy for a single API call, simply provide a retryConfig object to the call:
import { Creem } from "creem";
const creem = new Creem({
apiKey: process.env["CREEM_API_KEY"] ?? "",
});
async function run() {
const result = await creem.products.search({
externalId: "pro-monthly",
}, {
retries: {
strategy: "backoff",
backoff: {
initialInterval: 1,
maxInterval: 50,
exponent: 1.1,
maxElapsedTime: 100,
},
retryConnectionErrors: false,
},
});
for await (const page of result) {
console.log(page);
}
}
run();
If you'd like to override the default retry strategy for all operations that support retries, you can provide a retryConfig at SDK initialization:
import { Creem } from "creem";
const creem = new Creem({
retryConfig: {
strategy: "backoff",
backoff: {
initialInterval: 1,
maxInterval: 50,
exponent: 1.1,
maxElapsedTime: 100,
},
retryConnectionErrors: false,
},
apiKey: process.env["CREEM_API_KEY"] ?? "",
});
async function run() {
const result = await creem.products.search({
externalId: "pro-monthly",
});
for await (const page of result) {
console.log(page);
}
}
run();
CreemError is the base class for all HTTP error responses. It has the following properties:
| Property | Type | Description |
|---|---|---|
error.message |
string |
Error message |
error.statusCode |
number |
HTTP response status code eg 404 |
error.headers |
Headers |
HTTP response headers |
error.body |
string |
HTTP body. Can be empty string if no body is returned. |
error.rawResponse |
Response |
Raw HTTP response |
error.data$ |
Optional. Some errors may contain structured data. See Error Classes. |
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.