[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [BFI catalogue search](https://spiral.ai/integrations/vscode/bfi-catalogue-search)

# How to Use BFI catalogue search in VS Code

Find matching records in BFI film, television, library, and archive catalogues using field conditions. Use it to build a shortlist, then inspect selected entries for their full descriptions and links.

|  |  |
| --- | --- |
| Model | BFI catalogue search |
| Available through | Alexandria |
| Category | News & Media |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with BFI catalogue search in VS Code

- Use BFI catalogue search to find The Red Shoes and render its matching catalogue entries in the project's results view.
- Use BFI catalogue search to find library records about British animation and add a reading-list view based on the returned entries.
- Use BFI catalogue search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from BFI catalogue search and tell me what changed since last week.
- Check BFI catalogue search and summarize what you find in three bullet points.

## How to set up BFI catalogue search in VS Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to VS Code on the console's Agents & MCP page, or run:

```bash
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
```

2. **Sign in**: VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

### Use the Spiral skill

1. **Send VS Code 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 BFI catalogue 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": "collections-search-bfi-org-uk/records/search_records",
    "input": {
      "database": "ChoiceFilmWorks",
      "conditions": [
        {}
      ]
    }
  }'
```

Then paste one of the prompts above: VS Code finds BFI catalogue search on Spiral, shows the price and runs it.

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

## BFI catalogue search tools and prices

- [BFI Collections Search · Search records](https://spiral.ai/tools/alexandria/collections-search-bfi-org-uk/records/search_records) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 10000 | 1 | 1-based results page. Pass `next_page` from the previous output to continue. |
| page_size | 10, 25, 50, 100, 250 | 25 | Records per page; the site offers exactly these sizes. |
| sort_field |  | — | Sort field from `list_search_fields` sort_options (Search_SortTitle, Search_SortTitleDate, Search_SortName, ...). Default Search_Unsorted (the site's relevance/record order). Pattern: ^Search_[A-Za-z0-9_]{1,60}$. |
| sort_direction | Ascending, Descending | Ascending | sort_direction |

## What can you do with BFI catalogue search in VS Code?

Build a BFI research tool that takes a film topic from query planning through catalogue matches to detailed records. A coding agent can use the search vocabulary and returned descriptions to develop the project's research interface.

### Plan a documentary research shortlist

Identify suitable film search fields, check BFI's documentary terminology, find relevant titles, and read selected records for a research shortlist.

### Research a film genre

Check how BFI names a genre, choose the relevant search fields, and inspect matching film records to develop a retrospective proposal.

### Build a film studies reading list

Inspect library search fields and subject terms, find books or articles on British animation, and read their catalogue descriptions before selecting references.

### Research television by subject

Find BFI's vocabulary and available search fields for television research, then review matching records about a topic such as railways or education.

### Prepare archive references

Find catalogue entries for a film's scripts, posters, or stills and inspect the descriptions and record links to prepare a list of materials for further research.

### Check a film reference

Search for a title such as The Red Shoes and compare the matching catalogue entries with their full records before citing one in an essay or program note.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All VS Code guides](https://spiral.ai/integrations/vscode)

## BFI catalogue search in other agents

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

## More VS Code guides

- [Anthropic blog post search](https://spiral.ai/integrations/vscode/anthropic-blog-post-search)
- [BFI catalogue terms](https://spiral.ai/integrations/vscode/bfi-catalogue-terms)
- [Anthropic blog post](https://spiral.ai/integrations/vscode/anthropic-blog-post)
- [BFI record details](https://spiral.ai/integrations/vscode/bfi-record-details)
- [Akta news articles](https://spiral.ai/integrations/vscode/akta-news-articles)
- [BFI search fields](https://spiral.ai/integrations/vscode/bfi-search-fields)

## Questions about BFI catalogue search in VS Code

**Can VS Code use BFI catalogue search?**

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run BFI catalogue search like any built-in tool.

**How much does BFI catalogue search cost in VS Code?**

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

**Do I need an Alexandria account to use BFI catalogue search in VS Code?**

No. Spiral runs BFI catalogue 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 BFI catalogue search in VS Code?**

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

**Does VS Code wait while BFI catalogue search runs?**

BFI catalogue search runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.

**Does BFI cover films outside Britain?**

Yes. The collection is international, but contemporary collecting focuses on British work across genres and types of filmmaking.

**How far back does BFI's television collecting go?**

BFI has collected British television programs since the late 1950s. That describes the collecting history, rather than a promise of complete coverage of every broadcast.

**Are catalogue corrections published immediately?**

BFI explicitly says it cannot guarantee immediate database updates when errors or omissions are reported.

**Are all Screencraft records equally complete?**

No. BFI warns that not all search fields are populated, so a field being available to search does not mean every record contains a value for it.

**Can I view digitized stills remotely through the catalogue?**

BFI distinguishes stills listings from the actual images. Its search guide says digitized images can only be viewed at a BFI site.

