[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [M&S archive search](https://spiral.ai/integrations/windsurf/m-s-archive-search)

# How to Use M&S archive search in Windsurf

Finds M&S digital archive records by keyword, with collection, format, and reference-number filters. Use it to locate relevant photographs, magazines, or advertisements before checking individual records.

|  |  |
| --- | --- |
| Model | M&S archive search |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with M&S archive search in Windsurf

- Use M&S archive search to find records for Leeds store photographs and add the returned titles and source links to this project's research index.
- Use M&S archive search to find fashion supplements and create a research page in this project using the returned descriptions and links.
- Use M&S archive search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from M&S archive search and tell me what changed since last week.
- Check M&S archive search and summarize what you find in three bullet points.

## How to set up M&S archive search in Windsurf

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: `~/.config/devin/mcp_config.json` on macOS and Linux, `%APPDATA%\devin\mcp_config.json` on Windows. Add this:

```json
{
  "mcpServers": {
    "spiral": {
      "url": "https://api.spiral.ai/mcp"
    }
  }
}
```

2. **Sign in**: Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run M&S archive search**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "msheritage-access-preservica-com/archive-records/search_records",
    "input": {
      "page": 1
    }
  }'
```

Then paste one of the prompts above: Windsurf finds M&S archive search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/windsurf

## M&S archive search tools and prices

- [M&S Heritage digital archive (Preservica Universal Access) · Search records](https://spiral.ai/tools/alexandria/msheritage-access-preservica-com/archive-records/search_records) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 500 | 1 | 1-based result page (50 hits per page). A page past the last one answers not_found. |
| sort | relevance, title_asc, title_desc | relevance | Result order: the site's relevance ranking, or title ascending / descending. |
| query |  |  | Keyword(s), as typed into the site's search box. May be empty when a filter (collection_id, format, reference_number or folder_id) is given. |
| format |  | — | Restrict to one preservation file format: a term of the `xip.format_group_r_Preservation` facet, e.g. pdf, jpeg, mpeg-video. |
| folder_id |  | — | Scope the search to one folder's hierarchy: an SO_<uuid> structural object id (from list_folder or a result item of kind folder), or a pasted folder page URL. |
| collection_id |  | — | Restrict to one top-level collection: a term of the `xip.top_level_so` facet (a uuid, with or without the SO_ prefix), e.g. 82e5314d-48d7-4fb9-bbf4-cf0878a6fc35 for Staff Magazines. |

## What can you do with M&S archive search in Windsurf?

Build a searchable research index of M&S store photographs, magazines, and advertisements in your project. Preserve record descriptions and collection context so readers can trace entries to the archive.

### Build a store history source list

Search for a place such as Leeds, inspect the relevant store photograph folders, and check individual descriptions and dates. Produce a list of archival sources for a local retail history project.

### Plan an advertising history study

Find vintage cinema advertisements, browse the surrounding advertising folders, and retrieve record details. Build a viewing shortlist with archival references before examining the films.

### Map staff publication holdings

Locate Sparks and other staff magazines, enumerate their folders, and inspect individual records. Create a publication inventory organized by the titles and dates actually returned.

### Prepare a fashion research bibliography

Search for fashion supplements, browse their collection context, and check record dates and reference numbers. Assemble sources for studying historical M&S clothing promotion.

### Create an exhibition research shortlist

Find records about a theme such as Christmas advertising, explore nearby folders, and collect individual descriptions and references. Give curators a source list for further review and image permission requests.

### Maintain a historical research index

Repeat targeted searches and folder inventories, then retrieve details for newly encountered records. Keep a topic index of public M&S archive descriptions for an ongoing research project.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Windsurf guides](https://spiral.ai/integrations/windsurf)

## M&S archive search in other agents

- [Amp](https://spiral.ai/integrations/amp/m-s-archive-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/m-s-archive-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/m-s-archive-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/m-s-archive-search)
- [Cline](https://spiral.ai/integrations/cline/m-s-archive-search)
- [Codex](https://spiral.ai/integrations/codex/m-s-archive-search)
- [Cursor](https://spiral.ai/integrations/cursor/m-s-archive-search)
- [Devin](https://spiral.ai/integrations/devin/m-s-archive-search)
- [dots](https://spiral.ai/integrations/dots/m-s-archive-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/m-s-archive-search)
- [Gemini](https://spiral.ai/integrations/gemini/m-s-archive-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/m-s-archive-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/m-s-archive-search)
- [goose](https://spiral.ai/integrations/goose/m-s-archive-search)
- [Grok](https://spiral.ai/integrations/grok/m-s-archive-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/m-s-archive-search)
- [Hermes](https://spiral.ai/integrations/hermes/m-s-archive-search)
- [Instinct](https://spiral.ai/integrations/instinct/m-s-archive-search)
- [Manus](https://spiral.ai/integrations/manus/m-s-archive-search)
- [Muse](https://spiral.ai/integrations/muse/m-s-archive-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/m-s-archive-search)
- [n8n](https://spiral.ai/integrations/n8n/m-s-archive-search)
- [Notion](https://spiral.ai/integrations/notion/m-s-archive-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/m-s-archive-search)
- [opencode](https://spiral.ai/integrations/opencode/m-s-archive-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/m-s-archive-search)
- [Raycast](https://spiral.ai/integrations/raycast/m-s-archive-search)
- [VS Code](https://spiral.ai/integrations/vscode/m-s-archive-search)
- [Zapier](https://spiral.ai/integrations/zapier/m-s-archive-search)

## More Windsurf guides

- [M&S archive record details](https://spiral.ai/integrations/windsurf/m-s-archive-record-details)
- [MSC customer advisories](https://spiral.ai/integrations/windsurf/msc-customer-advisories)
- [M&S archive folder contents](https://spiral.ai/integrations/windsurf/m-s-archive-folder-contents)
- [MSC first EU port arrivals](https://spiral.ai/integrations/windsurf/msc-first-eu-port-arrivals)
- [Limadata company profile](https://spiral.ai/integrations/windsurf/limadata-company-profile)
- [MSC port arrivals and departures](https://spiral.ai/integrations/windsurf/msc-port-arrivals-and-departures)

## Questions about M&S archive search in Windsurf

**Can Windsurf use M&S archive search?**

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run M&S archive search like any built-in tool.

**How much does M&S archive search cost in Windsurf?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.

**Do I need an Alexandria account to use M&S archive search in Windsurf?**

No. Spiral runs M&S archive search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up M&S archive search in Windsurf?**

About two minutes: add the server, then sign in, then check it.

**Does Windsurf wait while M&S archive search runs?**

M&S archive search runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.

**What material does the M&S Digital Archive cover?**

It includes digitized and born-digital material such as staff magazines, store photographs, and vintage cinema advertisements. It covers selected archive material, so it should not be treated as a complete digital inventory.

**How far back do the staff magazines go?**

M&S identifies historic staff magazines dating back to 1927 among the material available digitally. That starting date does not establish an uninterrupted run of every publication.

**Why might a relevant item be missing from a search?**

Searches match exact words in item titles and descriptions. Try related terms, such as both 'advert' and 'advertisement,' rather than relying on one modern phrase.

**How current is the archive?**

M&S describes digital additions as ongoing. The archive explicitly excludes access to current business information, so it is a source for historical research rather than current company reporting.

**Are commercially sensitive records public?**

Some commercially sensitive records have closure periods of 10 or 30 years. Public archive research therefore has a defined access boundary.

