# UK GCA (formerly CCS) Frameworks & Suppliers (+ MCP) (`sreelalr/uk-ccs-frameworks-suppliers`) Actor

Extract UK public procurement data from Government Commercial Agency (GCA, formerly CCS / Crown Commercial Service): RMxxxx frameworks (PA2023), lot suppliers, DUNS, Carbon Reduction Plans & bid emails via batch Actor or MCP server.

- **URL**: https://apify.com/sreelalr/uk-ccs-frameworks-suppliers.md
- **Developed by:** [Sreelal Raveendran Pillai](https://apify.com/sreelalr) (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 $8.00 / 1,000 supplier profile extracteds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## UK Government Commercial Agency (GCA / formerly CCS) Frameworks & Suppliers (+ MCP)

Extract live **UK public procurement** data from the **UK Government Commercial Agency (GCA — formerly Crown Commercial Service / CCS)**: framework agreements (`RMxxxx`), lot-by-lot supplier rosters, DUNS numbers, **PPN 06/21 Carbon Reduction Plan (CRP) PDFs**, and direct bid-team contact emails straight from `https://www.gca.gov.uk` *(the post-April 2026 portal replacing `crowncommercial.gov.uk`)*—either as a batch dataset export or a live **MCP server**.

***

### Who Is This For?

- **UK Public Sector Bid & Capture Teams:** Identify every incumbent holding live seats on key frameworks—from **Technology Products (`RM6098`)**, **Cloud Compute 2 (`RM6292`)**, and **Management Consultancy (`RM6309` / MCF4)** to **AI (`RM6200`)**, **G-Cloud**, and **DOS**—before committing bid resources.
- **Primes & SMEs Building Teaming Consortia:** Export pre-vetted **UK public sector framework suppliers** with direct `tenders@...` / `frameworks@...` contact emails for sub-contracting and partner outreach.
- **ESG & Procurement Compliance Analysts:** Audit supplier **DUNS** numbers, **Procurement Act 2023 (`PA2023`) / `PCR2015`** framework status, and published **PPN 06/21 Carbon Reduction Plan PDFs** across entire lots.
- **AI Procurement & Research Agents (MCP):** Connect Claude, Cursor, or internal research workflows to query live GCA framework rosters and approved suppliers in real time.

***

### Why I Built This

Crown Commercial Service merged with Cabinet Office teams in April 2026 to form the **Government Commercial Agency (`gca.gov.uk`)**, and while framework listings are public, checking who holds seats across lots is still fragmented:

- Framework lot pages list bid contact names and `mailto:` tender emails, while DUNS numbers, full UK addresses, and PPN 06/21 Carbon Reduction Plan URLs live one click deeper on `/suppliers/<id>/<slug>`.
- Many supplier templates still render raw Vue attribute scaffolding if scraped naively.
- This Actor stitches both levels together natively against `gca.gov.uk`—stripping template noise, preventing duplicate emissions with deterministic SHA-256 `record_hash` keys, and letting you toggle `includeSupplierDetails` depending on whether you need fast lot contacts or full compliance enrichment.

I run an automated daily health canary against live `gca.gov.uk` pages so layout drift gets caught early. If a newly awarded framework uses a different lot layout or missing field, drop a note in the **Issues** tab on Apify and I will update the parser.

***

### Extraction Modes

| Mode | Source Pages (`gca.gov.uk`) | What You Get |
| :--- | :--- | :--- |
| **`agreements`** | `/agreements` & `/agreements/RMxxxx` | Framework title, Agreement ID (`RMxxxx`), status (`Live` / `Upcoming` / `Expired`), start/end dates, regulation (`PA2023` / `PCR2015`), lot breakdown, expiry dates, and supplier counts |
| **`lot_suppliers`** | `/agreements/RMxxxx:N/lot-suppliers` (+ optional `/suppliers/<id>/<slug>`) | Supplier ID & name, lot number/name, **bid contact name & `mailto:` tender email**, plus optional **DUNS**, postcode/address, website, and **Carbon Reduction Plan PDF URL** |
| **`suppliers`** | `/suppliers/search` (+ optional `/suppliers/<id>/<slug>`) | Approved UK public-sector suppliers (`2,899+`), active framework seats (`RMxxxx`), DUNS number, postcode, CRP PDF link, and contacts |
| **`full_sweep`** | Agreements + Lot Rosters + Profiles | End-to-end competitive intelligence across selected frameworks, lots, and supplier profiles |

***

### Quick Start Input (JSON)

Works out of the box on Free and Paid Apify plans:

```json
{
  "mode": "lot_suppliers",
  "agreementIds": ["RM6098"],
  "lotNumbers": ["1"],
  "includeSupplierDetails": true,
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "enableResidentialFallback": false
}
```

#### Example Output Item (`lot_suppliers` — `RM6098`)

```json
{
  "record_type": "supplier_lot",
  "agreement_id": "RM6098",
  "agreement_title": "Technology Products & Associated Services 2",
  "lot_number": "1",
  "lot_name": "Hardware & Software & Associated Services",
  "supplier_id": "2542",
  "supplier_name": "CDW LIMITED",
  "duns_number": "900971740",
  "website_url": "https://www.uk.cdw.com/",
  "street_address": "1 New Change",
  "locality": "London",
  "postal_code": "EC4M 9AF",
  "country": "United Kingdom",
  "carbon_reduction_plan_url": "https://www.uk.cdw.com/media/hrxgfubj/carbon-reduction-management-plan-fy-dates-2025_v1.1.pdf",
  "contact_name": "Andy Wood",
  "contact_email": "tenders@uk.cdw.com",
  "source_url": "https://www.gca.gov.uk/agreements/RM6098:1/lot-suppliers",
  "record_hash": "8d4a1b...",
  "scraped_at": "2026-11-17T12:45:00Z"
}
```

<details>
<summary>Example Output Item (`agreements` mode — Procurement Act 2023 framework)</summary>

```json
{
  "record_type": "agreement",
  "agreement_id": "RM6309",
  "agreement_title": "Management Consultancy Framework Four (MCF4)",
  "status": "Live",
  "regulation": "PA2023",
  "start_date": "18/09/2025",
  "end_date": "17/09/2028",
  "summary": "Provides access to a range of consultancy suppliers across business, strategy, finance, HR, and digital programmes.",
  "lots": [
    {
      "lot_number": "1",
      "lot_name": "Business",
      "lot_suppliers_path": "/agreements/RM6309:1/lot-suppliers"
    }
  ],
  "source_url": "https://www.gca.gov.uk/agreements/RM6309",
  "record_hash": "9a7c21...",
  "scraped_at": "2026-11-17T12:45:00Z"
}
```

</details>

***

### Pay-Per-Event (PPE) Pricing & Cost Caps

| Event Name | Price (USD) | When It Fires |
| :--- | :--- | :--- |
| `apify-actor-start` *(platform)* | `$0.00005` | Once at startup (covers initial 5s compute up to 1 GB RAM) |
| `agreement-extracted` | `$0.010` | Once per framework agreement summary emitted |
| `supplier-profile-extracted` | `$0.008` | Once per deduplicated supplier or supplier-lot record emitted |

- **1,000 supplier-lot profiles:** `~$8.00`
- **All ~95 active GCA/CCS frameworks (`agreements` mode):** `~$0.95`
- **Budget safety:** Set `maxTotalChargeUsd` on runs or MCP calls—execution halts gracefully before exceeding your limit.

***

### Using with Claude, Cursor, or Custom Agents (MCP)

Connect directly via Apify's MCP Gateway using [`sreelalr/uk-ccs-frameworks-suppliers`](https://apify.com/sreelalr/uk-ccs-frameworks-suppliers):

```json
{
  "mcpServers": {
    "uk-gca-ccs": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=actors,sreelalr/uk-ccs-frameworks-suppliers"
    }
  }
}
```

Or enable **Standby mode** in Apify Console and point any Streamable HTTP MCP client at:
`https://<your-standby-subdomain>.apify.actor/mcp`

**Exposed MCP tools:**

- `list_ccs_frameworks` — Browse active or upcoming UK GCA (CCS) framework agreements.
- `get_ccs_framework_suppliers` — Pull lot-level suppliers and tender contacts for a specific `RMxxxx` code.
- `search_ccs_suppliers` — Search the approved GCA/CCS supplier directory by name/keyword.
- `get_ccs_supplier_profile` — Retrieve DUNS, address, Carbon Reduction Plan URL, and active lots for one supplier.

***

### Honest Limitations & Tips

1. **External Catalog Frameworks (e.g., G-Cloud):** While G-Cloud (`RM1557.14` / `RM1557.15`) framework metadata appears in `agreements` mode, individual G-Cloud service catalogues sit on external Digital Marketplace / Public Procurement Gateway portals rather than `/lot-suppliers` HTML subpages. For direct supplier searches, use `mode: "suppliers"` with a `keyword` or target direct-lot frameworks like `RM6098`, `RM6309` (MCF4), `RM6292`, or `RM6200`.
2. **`includeSupplierDetails` Trade-off:** Setting `"includeSupplierDetails": true` visits each supplier's `/suppliers/<id>/<slug>` page to fetch DUNS, full postal address, and CRP URL. Turn it `false` when you only need quick supplier names and bid emails from `/lot-suppliers`.
3. **Scope:** Covers central UK Government Commercial Agency (`gca.gov.uk` / legacy `crowncommercial.gov.uk`) frameworks, not individual sub-central Contracts Finder tender notices.
4. **Proxies:** Default `useApifyProxy: true` runs smoothly on free and paid Apify plans without restricted proxy groups. Enable `enableResidentialFallback` only if transient rate limiting appears.

Built and maintained by **[@sreelalr](https://apify.com/sreelalr)**. Questions, custom field requests, or layout edge cases are always welcome in the **Issues** tab.

# Actor input Schema

## `mode` (type: `string`):

Choose what to extract: 'agreements' (framework summaries), 'lot_suppliers' (suppliers on specific RM frameworks/lots), 'suppliers' (supplier directory search), or 'full_sweep'.

## `agreementIds` (type: `array`):

List of CCS Agreement IDs (e.g., \['RM6098', 'RM1557.14']). When omitted in 'lot_suppliers' or 'full_sweep', discovers agreements matching keyword/status.

## `lotNumbers` (type: `array`):

Optional lot numbers to extract within each agreement (e.g., \['1', '3']). Empty = all lots.

## `keyword` (type: `string`):

Optional keyword query for agreements or suppliers search.

## `status` (type: `string`):

Filter frameworks by CCS status.

## `includeSupplierDetails` (type: `boolean`):

Fetch each supplier's detail page for DUNS number, full postal address, website, and Carbon Reduction Plan PDF URL.

## `maxResults` (type: `integer`):

Maximum number of deduplicated agreement or supplier-lot records to emit.

## `proxyConfiguration` (type: `object`):

Defaults to Apify Proxy (automatic/datacenter pool) with direct fallback if unavailable on Free plan.

## `enableResidentialFallback` (type: `boolean`):

Automatically retry using Apify RESIDENTIAL proxies only if datacenter requests hit repeated HTTP 403/429 blocks.

## Actor input object example

```json
{
  "mode": "lot_suppliers",
  "agreementIds": [
    "RM6098"
  ],
  "lotNumbers": [],
  "keyword": "",
  "status": "Live",
  "includeSupplierDetails": true,
  "maxResults": 250,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "enableResidentialFallback": false
}
```

# Actor output Schema

## `ccsRecords` (type: `string`):

Deduplicated UK Crown Commercial Service framework and supplier 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("sreelalr/uk-ccs-frameworks-suppliers").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("sreelalr/uk-ccs-frameworks-suppliers").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 '{}' |
apify call sreelalr/uk-ccs-frameworks-suppliers --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sreelalr/uk-ccs-frameworks-suppliers"
        }
    }
}
```

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/BWy33ouhnalXKGmto/builds/uQonwbk4MiqHUQT9s/openapi.json
