Developer access

Subscriber API and MCP access for SSCD dataset integrations.

Paying subscriber accounts can authenticate with a generated API key and use the SSCD dataset over REST or MCP. Use the account page to create keys, then integrate against the endpoints below.

Auth

Send the generated account key as `Authorization: Bearer <api-key>` or ` x-api-key`. Keys are account-scoped and intended for server-to-server access.

REST example

curl -H "Authorization: Bearer SSCD_API_KEY" "https://sscd.accomplice-dev.se/api/v1/centres?county=Stockholm&limit=10"

MCP

HTTP-capable MCP clients can connect directly to the streamable endpoint at ` /api/mcp` using the same API key.

Direct MCP config

{
  "mcpServers": {
    "sscd": {
      "url": "https://sscd.accomplice-dev.se/api/mcp",
      "headers": {
        "Authorization": "Bearer SSCD_API_KEY"
      }
    }
  }
}

Stdio bridge

For clients that only accept stdio MCP servers, use `mcp-remote` as an HTTP bridge in front of the SSCD MCP endpoint.

mcp-remote config

{
  "mcpServers": {
    "sscd": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://sscd.accomplice-dev.se/api/mcp",
        "--header",
        "Authorization: Bearer SSCD_API_KEY"
      ]
    }
  }
}

Endpoints

Machine-readable routes

The dataset is exposed through versioned REST routes and a single MCP endpoint.

GET/api/v1/metadata

Dataset columns, scopes, and discovery metadata.

GET/api/v1/centres

Search and paginate shopping centres.

GET/api/v1/centres/{slug}

Read a full centre record by slug.

GET/api/v1/projects

Search and paginate planned retail projects.

GET/api/v1/projects/{slug}

Read a full project record by slug.

POST/api/mcp

Streamable HTTP MCP endpoint for LLM tools and resources.

Centres dataset

Column names are stable and can be used in API filters, documentation lookups, and MCP tool prompts.

ColumnTypeUseFlags
idstringInternal centre identifier.Read only
slugstringStable slug used in URLs and detail lookups.Filter / Sort
legacyCodestringLegacy source-system identifier when present.Filter
namestringCentre name.Filter / Sort
typestringCentre type classification.Filter / Sort
countystringCounty name.Filter / Sort
municipalitystringMunicipality name.Filter / Sort
regionNamestringSource region label when available.Filter
streetAddressstringStreet address.Filter
postalCodestringPostal code.Filter
latitudenumberLatitude in WGS84 decimal degrees.Read only
longitudenumberLongitude in WGS84 decimal degrees.Read only
coveredbooleanWhether the centre is covered.Filter
floorsnumberNumber of floors.Filter
parkingSpacesnumberParking space count.Filter
openingYearnumberOriginal opening year.Filter
homepageUrlstringPublic centre website URL.Read only
ownersstring[]Owning organizations attached to the centre.Filter
anchorTenantsstring[]Anchor tenant brands attached to the centre.Filter
latestMetricYearnumberMost recent metric snapshot year.Filter / Sort
visitorsMillionsnumberLatest recorded annual visitors in millions.Filter / Sort
totalTenantCountnumberLatest recorded total tenant count.Filter / Sort
totalGlaSqmnumberLatest gross leasable area.Filter / Sort
commonAreaSqmnumberLatest common area size.Filter
totalAreaSqmnumberLatest total area size.Filter
retailSalesMseknumberLatest retail sales in mSEK.Filter / Sort
totalSalesMseknumberLatest total sales in mSEK.Filter / Sort
retailSalesPerSqmSeknumberLatest retail sales density.Filter
totalSalesPerSqmSeknumberLatest total sales density.Filter
publishedAtdatePublishing timestamp.Read only / Sort
updatedAtdateApplication update timestamp.Read only / Sort

Projects dataset

Planned projects follow the same approach, with search-friendly fields and stable response keys.

ColumnTypeUseFlags
idstringInternal project identifier.Read only
slugstringStable slug used in URLs and detail lookups.Filter / Sort
namestringProject name.Filter / Sort
centreSlugstringRelated centre slug when linked.Filter
countystringCounty name.Filter / Sort
municipalitystringMunicipality name.Filter / Sort
typestringCentre type classification.Filter / Sort
planningStagestringCurrent planning stage.Filter / Sort
planningTypestringPlanning type or category.Filter
propertyDesignationstringProperty designation from source data.Filter
areaDescriptionstringFree-text area or district description.Filter
latitudenumberLatitude in WGS84 decimal degrees.Read only
longitudenumberLongitude in WGS84 decimal degrees.Read only
existingGlaSqmnumberExisting area affected by the project.Filter
newGlaSqmnumberPlanned new area.Filter / Sort
constructionStartYearnumberExpected construction start year.Filter
plannedOpeningYearnumberExpected opening year.Filter / Sort
newTenantCountnumberExpected number of new tenants.Filter
signedAnchorTenantsstringSigned anchor tenant notes.Filter
signedTenantsstringSigned tenant notes.Filter
ownersstring[]Owning organizations attached to the project.Filter
updatedSourceAtdateTimestamp from the source workbook.Read only / Sort
updatedAtdateApplication update timestamp.Read only / Sort