# B2B Tech Stack, CMS & Growth Signals Detector (MCP) (`the_magic_dragon/b2b-tech-stack-cms-detector-mcp`) Actor

Fingerprint B2B websites across 6 deterministic categories: CMS & frameworks (Shopify, WordPress, Next.js, Webflow), CRM & marketing tags, payments, CDN/hosting headers, ATS/hiring growth signals, and publicly visible contacts. MCP-ready.

- **URL**: https://apify.com/the_magic_dragon/b2b-tech-stack-cms-detector-mcp.md
- **Developed by:** [Cade Hockley](https://apify.com/the_magic_dragon) (community)
- **Categories:** AI, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.70 / 1,000 site fingerprinteds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

## B2B Tech Stack, CMS & Growth Signals Detector (MCP)

Fingerprint B2B websites and bare domains across **6 deterministic intelligence categories** — **CMS & Frameworks**, **CRM & Marketing Automation**, **Payments & Commerce**, **CDN & Hosting**, **ATS / Hiring & Growth Signals**, and **Publicly Observed Contacts** — with a single lightweight HTTP GET (`512 KB` response cap) and zero headless browser overhead.

Built for **Apify Pay-per-Event** (`$0.005` per valid site fetched = `US$5.00 / 1,000 sites` on Free; automatic Store discounts for paid tiers; malformed inputs incur `$0.00`) and ready for **MCP / AI Agents**, **n8n**, and **Clay** lead-qualification pipelines.

### Key Features

- **6 Deterministic Fingerprinting Categories:**
  1. **CMS & Frameworks (`cmsAndFramework`):** Shopify, WordPress, Webflow, Wix, Squarespace, Next.js, Nuxt, React, Vue.js, Angular, Astro, Ghost, Drupal, HubSpot CMS, Framer, Gatsby, Remix, SvelteKit, Magento.
  2. **CRM & Marketing (`crmAndMarketing`):** HubSpot, Salesforce / Pardot, Marketo, Klaviyo, Intercom, Drift, Segment, Google Analytics (GA4/UA), Google Tag Manager, Meta Pixel, LinkedIn Insight Tag, ActiveCampaign, Mailchimp, Hotjar, Zendesk, PostHog, Mixpanel, Crisp.
  3. **Payments & Commerce (`paymentsAndCommerce`):** Stripe, PayPal, Adyen, Square, Afterpay, Klarna, Shop Pay, Chargebee, Paddle, Braintree, Affirm.
  4. **CDN & Hosting (`cdnAndHosting`):** Cloudflare, AWS CloudFront, Fastly, Akamai, Vercel, Netlify, AWS / S3, Google Cloud, Microsoft Azure, Fly.io, Render, WP Engine.
  5. **Hiring & Growth Signals (`hiringAndGrowthSignals`):** Greenhouse, Lever, Ashby, Workday, BambooHR, SmartRecruiters, Recruitee, Rippling, SEEK links plus `/careers`, `/jobs`, `/pricing`, and `/book-a-demo` CTAs.
  6. **Public Contacts (`publicContacts`):** Deduplicated `mailto:` / visible business emails and company social profile links tagged as publicly observed on page.
- **Safe & Resilient HTTP Engine:** Normalizes bare domains (`shopify.com` -> `https://shopify.com`), follows redirects, reads `gzip`/`deflate` up to `min(maxHtmlBytes, 524288)` bytes, and handles `403`/`404` WAF headers gracefully.

### Use Cases

- **Outbound B2B Account Scoring:** Qualify leads in Clay by detecting target technologies (e.g. HubSpot + Stripe + Greenhouse) without slow browser-based scrapers.
- **AI SDR Research Agents:** Give MCP agents instant visibility into a prospect's CMS, analytics stack, careers links, and sales CTAs before drafting outreach.
- **Competitive Technographic Tracking:** Monitor stacks across hundreds of target SaaS URLs at high speed on **256 MB** RAM.

### Pay-per-Event Pricing & Store Discounts

This Actor uses **Apify Pay-per-Event (PPE)** billing on the `site-fingerprinted` event, with **automatic Apify Store discounts** for paid subscription tiers:

| Apify Tier | Price per Valid Site | Effective Rate / 1,000 Sites |
| --- | --- | --- |
| Free (`FREE`) | `$0.0050` | `US$5.00` |
| Starter (`BRONZE`) | `$0.0042` | `US$4.20` (16% off) |
| Scale (`SILVER`) | `$0.0035` | `US$3.50` (30% off) |
| Business (`GOLD`) | `$0.0027` | `US$2.70` (46% off) |
| Enterprise (`PLATINUM` / `DIAMOND`) | `$0.0022` / `$0.0017` | `US$2.20` / `US$1.70` |

- **Zero-Charge Guard:** Malformed URLs, unsupported schemes, and pre-HTTP DNS/TLS failures incur **`$0.00`**.

### Input Parameters

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `urls` | `array<string>` | Required (`["https://www.shopify.com", "https://stripe.com"]`) | Up to 250 URLs or bare domains to fingerprint. |
| `timeoutSeconds` | `integer` | `12` | HTTP connection/read timeout in seconds (`3-30`). |
| `maxHtmlBytes` | `integer` | `524288` | Maximum response bytes read per site (`4096-524288`). |
| `extractPublicContacts` | `boolean` | `true` | Extract deduplicated `mailto:` / visible emails and social profile URLs. |
| `conciseMcpMode` | `boolean` | `true` | Omit raw evidence/header maps for compact LLM / MCP payloads. |

### Example Input

```json
{
  "urls": [
    "https://www.shopify.com",
    "https://stripe.com"
  ],
  "extractPublicContacts": true,
  "conciseMcpMode": true
}
```

### Example Output Item

```json
{
  "input": "https://stripe.com",
  "normalizedUrl": "https://stripe.com",
  "finalUrl": "https://stripe.com/",
  "status": "ok",
  "ok": true,
  "httpStatus": 200,
  "pageTitle": "Stripe | Financial Infrastructure to Grow Your Revenue",
  "cmsAndFramework": ["React"],
  "crmAndMarketing": ["Google Tag Manager"],
  "paymentsAndCommerce": ["Stripe"],
  "cdnAndHosting": ["Cloudflare"],
  "hiringAndGrowthSignals": {
    "atsProviders": ["Greenhouse"],
    "growthPaths": ["/jobs", "/pricing", "/contact-sales"],
    "hasCareersLink": true,
    "hasPricingLink": true,
    "hasDemoOrSalesCta": true
  },
  "publicContacts": {
    "enabled": true,
    "emails": [],
    "socialLinks": {
      "xTwitter": ["https://x.com/stripe"]
    },
    "sourceNote": "Publicly observed in fetched HTML/mailto/links; not externally verified."
  }
}
```

### MCP Integration (`mcp.apify.com`)

```json
{
  "mcpServers": {
    "apify": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.apify.com/?actors=the_magic_dragon/b2b-tech-stack-cms-detector-mcp",
        "--header",
        "Authorization: Bearer ${APIFY_TOKEN}"
      ]
    }
  }
}
```

### n8n & Clay Integration

- **n8n:** Chain `b2b-tech-stack-cms-detector-mcp` -> `b2b-email-deliverability-mcp` -> `au-domain-entity-rdap-mcp` to qualify B2B accounts before CRM sync.
- **Clay:** Run `the_magic_dragon~b2b-tech-stack-cms-detector-mcp` with `conciseMcpMode: true` to populate `cmsAndFramework`, `crmAndMarketing`, `paymentsAndCommerce`, and `hiringAndGrowthSignals`.

### FAQ & Troubleshooting

- **Why does it not require a headless browser?** Single-GET HTML + HTTP header fingerprinting avoids Chromium memory overhead, running fast in **256 MB** RAM while still detecting SSR frameworks, script tags, cookies, and CDN response headers.
- **Does `publicContacts` verify email deliverability?** No — extracted emails reflect addresses publicly visible on the page. Pair with `b2b-email-deliverability-mcp` to audit the domain's MX/SPF/DMARC stack.
- **What happens if a site returns HTTP `403`?** Header/CDN fingerprints (`Cloudflare`, `Akamai`, etc.) are still recorded cleanly without crashing the run.

# Actor input Schema

## `urls` (type: `array`):

List of up to 250 URLs or bare domains (e.g. 'shopify.com' or 'https://www.shopify.com') to fingerprint.

## `timeoutSeconds` (type: `integer`):

Per-site HTTP connection and read timeout in seconds (3-30).

## `maxHtmlBytes` (type: `integer`):

Maximum response bytes to read and decompress per site (4096-524288; capped at 512 KB).

## `extractPublicContacts` (type: `boolean`):

Extract deduplicated public mailto:/visible emails and company social profile URLs observed in fetched HTML.

## `conciseMcpMode` (type: `boolean`):

Keep per-site evidence payloads compact so AI / MCP agents stay well within LLM context budgets.

## Actor input object example

```json
{
  "urls": [
    "https://www.shopify.com",
    "https://stripe.com"
  ],
  "timeoutSeconds": 12,
  "maxHtmlBytes": 524288,
  "extractPublicContacts": true,
  "conciseMcpMode": true
}
```

# Actor output Schema

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

Structured per-site CMS/framework, CRM/marketing, payment stack, CDN/hosting, hiring/growth signals, and public contact records.

# 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 = {
    "urls": [
        "https://www.shopify.com",
        "https://stripe.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("the_magic_dragon/b2b-tech-stack-cms-detector-mcp").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 = { "urls": [
        "https://www.shopify.com",
        "https://stripe.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("the_magic_dragon/b2b-tech-stack-cms-detector-mcp").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 '{
  "urls": [
    "https://www.shopify.com",
    "https://stripe.com"
  ]
}' |
apify call the_magic_dragon/b2b-tech-stack-cms-detector-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,the_magic_dragon/b2b-tech-stack-cms-detector-mcp"
        }
    }
}
```

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/mebejSgKO7lcOXtlx/builds/qR6X9l9pDUtdxR7RN/openapi.json
