sp

Query the Scottish Parliament Open Data API for MSPs, committees, parties, and electoral geography.

1|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/danbri/forgetmenot --skill sp-danbri
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sp
Source: https://github.com/danbri/forgetmenot/tree/main/skills/sp
Command: npx skills add https://github.com/danbri/forgetmenot --skill sp-danbri

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a structured interface to the Scottish Parliament Open Data API, removing the complexity of manual HTTP requests and content negotiation for legislative data.

Core Features & Use Cases

  • Legislative Lookup: Retrieve comprehensive details on MSPs, including current and historical records.
  • Committee & Party Tracking: Access up-to-date information on Holyrood committees, membership, and party representation.
  • Electoral Geography: Query constituency and regional data specific to the Scottish Additional Member System.
  • Use Case: Use this skill to map the committee membership of a specific MSP or to retrieve the list of parties currently represented in the Scottish Parliament.

Quick Start

Use the sp skill to retrieve a full list of all current and historical members of the Scottish Parliament.

Frequently Asked Questions about sp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve Scottish Parliament data for MSPs and committees?

To retrieve Scottish Parliament data, you query the Holyrood Open Data API for structured information on MSPs, committees, and parties. This skill handles the JSON content negotiation and endpoint mapping to return accurate legislative records.

What Scottish Parliament API endpoints are available for electoral geography?

The Scottish Parliament API provides endpoints for electoral geography specific to the Scottish Additional Member System. You can query this open data to retrieve structured constituency and regional mapping details.

Can I get historical records of MSPs from the Holyrood open data API?

Yes, you can retrieve both current and historical records of MSPs from the Holyrood open data API. The skill maps resource-specific endpoints to facilitate comprehensive legislative research and administrative tracking.

How do I handle JSON content negotiation when accessing legislative data?

Accessing legislative data requires automated handling of JSON content negotiation to ensure accurate data retrieval from the Scottish Parliament API. This skill manages that process, removing the complexity of manual HTTP requests.

What is the best way to map committee membership for a specific MSP?

To map committee membership for a specific MSP, query the Scottish Parliament Open Data API. This approach provides up-to-date information on Holyrood committees and their membership without manual HTTP requests.

Do I need any dependencies to query the Scottish Parliament API?

No dependencies are required to query the Scottish Parliament API. The skill independently manages resource-specific endpoint mapping and JSON content negotiation to retrieve structured legislative datasets.