# Website Contact, DNS Hygiene & Tech-Stack Enricher (MCP) (`salmon_chaparral/domain-contact-tech-enricher`) Actor

Fast pure-HTTP domain enrichment API and Streamable HTTP MCP Server. Extracts emails, phones, social profiles, JSON-LD org metadata, DNS/MX/SPF/DMARC deliverability hygiene, and 70+ tech-stack signatures at 256MB RAM with single-price Pay-Per-Event billing.

- **URL**: https://apify.com/salmon_chaparral/domain-contact-tech-enricher.md
- **Developed by:** [Max Lee](https://apify.com/salmon_chaparral) (community)
- **Categories:** Lead generation, AI, MCP servers
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 domains enriched

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## Website Contact, DNS/Email Hygiene & Tech-Stack Enricher (+ MCP Server)

[![Website Contact, DNS Hygiene & Tech-Stack Enricher (MCP) MCP connector](https://glama.ai/mcp/connectors/io.github.CraftCamp1/domain-contact-tech-enricher/badges/score.svg)](https://glama.ai/mcp/connectors/io.github.CraftCamp1/domain-contact-tech-enricher) [![Apify Store](https://img.shields.io/badge/Apify-Store-00C271?logo=apify)](https://apify.com/salmon_chaparral/domain-contact-tech-enricher)

Pure-HTTP domain enrichment Actor and Streamable HTTP MCP Server. Extracts contact emails, phone numbers, social profiles, page/JSON-LD organization metadata, DNS/MX/SPF/DMARC email hygiene, 70+ deterministic tech-stack signatures, and optional RDAP registration data — with no headless browser overhead (256MB RAM) and single-price Pay-Per-Event billing ($0.0025 per successfully enriched domain).

### What It Extracts

- **Website Contacts (Smart Lightweight Crawl):** Fetches the homepage plus up to `maxPagesPerDomain` (default `4`, max `10`) high-value internal pages (`/contact`, `/contact-us`, `/about`, `/about-us`, `/team`, `/imprint`, `/legal`, plus matching nav/footer links) with strict per-request timeouts, a 5-redirect cap, SSRF protection, and a 1.5MB response body cap.
  - **Emails:** Extracted from `mailto:`, JSON-LD, and visible page text. Filters out image filenames (`@2x.png`), Sentry/Wix/example placeholders, and hashes; deduplicates; classifies `role` (`info@`, `sales@`, `support@`, etc.) vs `personal`; records `sourceUrl`.
  - **Phones:** Extracted from `tel:`, JSON-LD, and visible text with filtering against dates, IPv4s, version strings, and numeric IDs.
  - **Social Profiles:** LinkedIn, X/Twitter, GitHub, YouTube, Instagram, Facebook, TikTok, and Discord (excluding share/intent links).
  - **Metadata & JSON-LD:** `title`, `description`, `language`, `favicon`, `canonicalUrl`, plus `Organization` / `LocalBusiness` fields (`name`, `legalName`, `address`, `telephone`, `email`, `sameAs`).
- **DNS & Email Deliverability Hygiene (Native DNS, zero port-25 SMTP):**
  - `MX` records + automatic email provider classification (Google Workspace, Microsoft 365, Proton Mail, Fastmail, Zoho, Mimecast, Proofpoint, Cloudflare Email Routing, Amazon SES, Custom/Self-hosted, None).
  - `SPF` presence and policy (`hardfail` `-all`, `softfail` `~all`, `neutral` `?all`, `pass` `+all`, `none`).
  - `DMARC` (`_dmarc.<domain>`) presence, policy (`reject`, `quarantine`, `none`), subdomain policy, and `pct`.
  - Disposable email domain detection, `acceptsMail` flag, and `deliverabilityScore` (0–100).
  - Per-email hygiene checks for any supplied `emails` input (or via the `verify_email_hygiene` MCP tool).
- **Deterministic Tech-Stack Fingerprinting (70+ Signatures):**
  - Matches HTTP headers, `Set-Cookie`, `<meta>`, `<script src>`, `<link href>`, and HTML patterns across 5 categories:
    - `CMS/Ecommerce` (Shopify, WooCommerce, WordPress, Webflow, Wix, Squarespace, Framer, Ghost, HubSpot CMS, Magento, BigCommerce, Next.js, Nuxt, Astro, Gatsby, SvelteKit, React, Vue, Drupal, Contentful, Sanity)
    - `Analytics` (GA4, GTM, Plausible, PostHog, Mixpanel, Segment, Amplitude, Hotjar, Clarity, Fathom, Heap, Datadog RUM)
    - `Marketing/CRM/Chat` (HubSpot, Intercom, Drift, Crisp, Zendesk, Gorgias, Klaviyo, Mailchimp, ActiveCampaign, Marketo, Pardot, LiveChat, Tawk.to, Customer.io)
    - `Payments` (Stripe, PayPal, Paddle, Braintree, Adyen, Klarna, Shop Pay, Chargebee)
    - `CDN/Hosting/Infra` (Cloudflare, Vercel, Netlify, Fastly, AWS CloudFront, Akamai, Render, Fly.io, Heroku, GitHub Pages, Nginx, Apache, AWS S3, BunnyCDN, DigitalOcean)
  - Every match returns `{ name, category, confidence, evidence }`.
- **Optional RDAP Domain Registration (`includeRdap: true`):** Queries `rdap.org/domain/{domain}` for registrar, `createdAt`, `expiresAt`, `updatedAt`, and registration status. Off by default for speed.

### Dual Mode Usage

#### 1. Standard Batch Run (Apify Dataset / n8n / Make)

Provide `domains`, `urls`, and/or `emails` as Actor input:

```json
{
  "domains": ["stripe.com", "linear.app"],
  "maxPagesPerDomain": 4,
  "includeDns": true,
  "includeTechStack": true,
  "includeRdap": false,
  "concurrency": 5
}
```

Unreachable domains are recorded with `status: "error"` and are **not charged**.

#### Sample JSON Output

```json
{
  "domain": "stripe.com",
  "status": "ok",
  "finalUrl": "https://stripe.com/",
  "httpStatus": 200,
  "companyName": "Stripe",
  "emails": [
    { "email": "press@stripe.com", "type": "role", "sourceUrl": "https://stripe.com/contact" }
  ],
  "phones": [],
  "social": {
    "linkedin": "https://www.linkedin.com/company/stripe",
    "twitter": "https://x.com/stripe",
    "github": "https://github.com/stripe"
  },
  "dns": {
    "emailProvider": "Google Workspace",
    "acceptsMail": true,
    "spfPolicy": "hardfail",
    "dmarcPolicy": "reject",
    "deliverabilityScore": 95
  },
  "techStack": [
    { "name": "Stripe", "category": "Payments", "confidence": "high", "evidence": "script:js.stripe.com" },
    { "name": "Cloudflare", "category": "CDN/Hosting/Infra", "confidence": "high", "evidence": "header:cf-ray" }
  ],
  "pagesCrawled": ["https://stripe.com/", "https://stripe.com/contact"],
  "durationMs": 842,
  "enrichedAt": "2026-12-04T12:00:00.000Z",
  "error": null
}
```

#### 2. Standby Mode: Streamable HTTP MCP Server & REST API

When started in Apify Standby mode (or locally with `RUN_MODE=standby`), the Actor runs an Express server exposing:

- `GET /` — Readiness probe (`200 OK`)
- `POST /mcp`, `GET /mcp`, `DELETE /mcp` — Streamable HTTP MCP Server with three tools:
  - `enrich_domain` — Full contacts, social, metadata, DNS/MX hygiene, tech stack, and optional RDAP
  - `verify_email_hygiene` — Syntax, MX, email provider, SPF, DMARC, disposable, role check, deliverability score & verdict
  - `detect_tech_stack` — Fast single-request homepage tech-stack fingerprint
- `POST /api/enrich` — Direct JSON REST endpoint accepting `{ "domain": "stripe.com" }` or `{ "domains": ["stripe.com", "linear.app"] }`

#### MCP Tools Reference

| Tool | Key Parameters | What It Does |
| --- | --- | --- |
| `enrich_domain` | `domain`, `maxPagesPerDomain`, `includeDns`, `includeTechStack`, `includeRdap` | Extract website contacts, social links, JSON-LD org metadata, MX/SPF/DMARC deliverability hygiene, 70+ tech-stack signatures, and optional RDAP. |
| `verify_email_hygiene` | `email` | Validate syntax, MX provider, SPF/DMARC policy, disposable domain status, role address detection, and 0-100 deliverability score. |
| `detect_tech_stack` | `domain` | Single-request homepage fingerprinting across CMS/Ecommerce, Analytics, Marketing/CRM, Payments, and CDN/Hosting signatures. |

#### 1-Click MCP Client Configuration

Connect via **Apify Hosted MCP (OAuth 2.1, recommended)** or the **Direct Standby MCP endpoint (Bearer token)**:

- **Hosted OAuth MCP URL:** `https://mcp.apify.com/?tools=salmon_chaparral/domain-contact-tech-enricher`
- **Direct Standby MCP URL:** `https://salmon-chaparral--domain-contact-tech-enricher.apify.actor/mcp`

**1. Claude Desktop (Native Remote Connector — zero tokens to paste):**

1. Open **Settings -> Connectors -> Add custom connector**.
2. Enter URL: `https://mcp.apify.com/?tools=salmon_chaparral/domain-contact-tech-enricher`
3. Click **Connect**, sign in to Apify via OAuth, and enable the tools.

**2. Claude Code CLI:**

```bash
claude mcp add --transport http domain-contact-tech "https://mcp.apify.com/?tools=salmon_chaparral/domain-contact-tech-enricher" \
  --header "Authorization: Bearer <APIFY_API_TOKEN>"
```

**3. Cursor (`.cursor/mcp.json`):**

```json
{
  "mcpServers": {
    "domain-contact-tech": {
      "url": "https://mcp.apify.com/?tools=salmon_chaparral/domain-contact-tech-enricher",
      "headers": {
        "Authorization": "Bearer <APIFY_API_TOKEN>"
      }
    }
  }
}
```

**4. VS Code / GitHub Copilot (`.vscode/mcp.json`):**

```json
{
  "servers": {
    "domain-contact-tech": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=salmon_chaparral/domain-contact-tech-enricher",
      "headers": {
        "Authorization": "Bearer ${input:apify_token}"
      }
    }
  }
}
```

**5. Windsurf (`~/.codeium/windsurf/mcp_config.json`):**

```json
{
  "mcpServers": {
    "domain-contact-tech": {
      "serverUrl": "https://mcp.apify.com/?tools=salmon_chaparral/domain-contact-tech-enricher",
      "headers": {
        "Authorization": "Bearer <APIFY_API_TOKEN>"
      }
    }
  }
}
```

**6. n8n (MCP Client Tool Node):**

- Add an **MCP Client Tool** node in your n8n AI Agent workflow.
- Set **Endpoint / SSE-HTTP URL** to `https://mcp.apify.com/?tools=salmon_chaparral/domain-contact-tech-enricher` (or direct Standby `https://salmon-chaparral--domain-contact-tech-enricher.apify.actor/mcp`).
- Set Authentication to **Header Auth** -> `Authorization: Bearer <APIFY_API_TOKEN>`.

### API Examples (Python & Node.js)

**Python (`pip install apify-client`):**

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_API_TOKEN>")
run = client.actor("salmon_chaparral/domain-contact-tech-enricher").call(run_input={
    "domains": ["stripe.com", "linear.app"],
    "includeDns": True,
    "includeTechStack": True,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["domain"], item["dns"]["emailProvider"], len(item["techStack"]))
```

**Node.js (`npm install apify-client`):**

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<APIFY_API_TOKEN>' });
const run = await client.actor('salmon_chaparral/domain-contact-tech-enricher').call({
  domains: ['stripe.com', 'linear.app'],
  includeDns: true,
  includeTechStack: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

### Pricing (Pay-Per-Event)

| Event | FREE | BRONZE | SILVER | GOLD / PLATINUM / DIAMOND |
| --- | --- | --- | --- | --- |
| `apify-actor-start` (one-time) | $0.00005 | $0.00005 | $0.00005 | $0.00005 |
| `domain-enriched` (per domain / MCP lookup) | $0.0025 | $0.0020 | $0.0016 | $0.0012 |

Unreachable domains with `status: "error"` are never charged.

### Common Use Cases

- **Outbound Lead Enrichment:** Turn raw company domains into verified contact emails (`role` vs `personal`), phones, LinkedIn/X/GitHub links, and tech-stack tags in one HTTP call.
- **Cold-Email Deliverability Pre-Check:** Inspect MX provider (Google Workspace, Microsoft 365, Proofpoint, Mimecast), SPF (`hardfail`/`softfail`), DMARC policy, and disposable domains before launching outbound sequences — with zero port-25 SMTP probes.
- **Technographic Account Scoring:** Identify prospects running specific stacks (Stripe, HubSpot, Klaviyo, Next.js, Shopify, Cloudflare, Intercom) with deterministic `evidence` strings.
- **AI SDR & Research Agents:** Connect to Claude Desktop, Cursor, or n8n so agents can qualify domains and verify email hygiene in real time.

### Frequently Asked Questions

#### Does email verification send SMTP pings or emails?

No. All deliverability checks use native DNS lookups (`MX`, `TXT` SPF, `_dmarc` TXT) plus syntax and disposable-domain filtering, avoiding port-25 blocks and bounce risk.

#### Am I charged for dead or unreachable domains?

Never. Domains returning `status: "error"` or invalid inputs are logged cleanly in the dataset and billed $0.

#### How are false-positive emails and phone numbers avoided?

The extractor strips image filenames (`@2x.png`), Sentry/Wix hashes, placeholder domains, dates, IPv4 addresses, version strings, and CSS numbers before deduplicating and classifying role vs personal addresses.

#### Which MCP URL should I use: `mcp.apify.com` or Standby?

Use `https://mcp.apify.com/?tools=salmon_chaparral/domain-contact-tech-enricher` for OAuth 2.1 MCP clients (Claude Desktop, Cursor, VS Code, Windsurf). Use `https://salmon-chaparral--domain-contact-tech-enricher.apify.actor/mcp` with `Authorization: Bearer <APIFY_API_TOKEN>` for direct programmatic calls.

#### Is SSRF protected when enriching arbitrary user-supplied URLs?

Yes. Loopback, RFC1918 private networks, link-local ranges, cloud metadata endpoints, and internal hostnames are blocked before fetching.

### Local Development

```bash
npm install
npm run build
npm test
```

Run locally in Standby/MCP mode:

```bash
RUN_MODE=standby ACTOR_STANDBY_PORT=4321 node dist/main.js
```

# Changelog

This Actor's version history is a separate document: https://apify.com/salmon_chaparral/domain-contact-tech-enricher/changelog.md

# Actor input Schema

## `domains` (type: `array`):

List of domains to enrich (e.g., stripe.com, linear.app). Normalized and deduplicated automatically.

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

Optional list of full website URLs (e.g., https://apify.com/contact). Domains are extracted and merged with the domains list; non-root paths are included in the crawl.

## `emails` (type: `array`):

Optional list of email addresses to check hygiene (syntax, MX, SPF, DMARC, provider, disposable, role) and enrich their corresponding domains.

## `maxPagesPerDomain` (type: `integer`):

Maximum number of pages to fetch per domain (homepage plus discovered contact/about/team/legal pages).

## `includeDns` (type: `boolean`):

Resolve MX, TXT (SPF), and \_dmarc records to classify email provider, disposable status, and deliverability score (0-100).

## `includeTechStack` (type: `boolean`):

Run deterministic tech-stack fingerprinting across HTTP headers, cookies, HTML, meta tags, and script URLs (70+ signatures).

## `includeRdap` (type: `boolean`):

Query rdap.org for registrar, creation date, and expiration date. Off by default for lowest latency.

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

Number of domains to process in parallel.

## `requestTimeoutMs` (type: `integer`):

Timeout in milliseconds for each HTTP/DNS/RDAP request.

## Actor input object example

```json
{
  "domains": [
    "stripe.com",
    "linear.app"
  ],
  "maxPagesPerDomain": 4,
  "includeDns": true,
  "includeTechStack": true,
  "includeRdap": false,
  "concurrency": 5,
  "requestTimeoutMs": 8000
}
```

# Actor output Schema

## `items` (type: `string`):

No description

# 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 = {
    "domains": [
        "stripe.com",
        "linear.app"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("salmon_chaparral/domain-contact-tech-enricher").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 = { "domains": [
        "stripe.com",
        "linear.app",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("salmon_chaparral/domain-contact-tech-enricher").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 '{
  "domains": [
    "stripe.com",
    "linear.app"
  ]
}' |
apify call salmon_chaparral/domain-contact-tech-enricher --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,salmon_chaparral/domain-contact-tech-enricher"
        }
    }
}
```

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/ueoAuiJgX2e8HRrfR/builds/O8UVqct1MEObZ8APX/openapi.json
