parl

Query UK Parliament REST APIs, SPARQL endpoints, and OData datasets via a unified CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill provides a centralized, reliable interface for querying the vast, fragmented ecosystem of UK Parliament APIs, datasets, and SPARQL endpoints, eliminating the need for manual documentation lookups.

Core Features & Use Cases

  • Unified CLI Interface: Access over 25 distinct facilities including Members, Bills, Hansard, and Committees through a single, consistent command structure.
  • Cross-Facility Data Integration: Easily chain queries to link entities, such as finding an MP, identifying their recent voting record, and retrieving relevant debate transcripts.
  • Use Case: A researcher can use this skill to programmatically track the progress of a specific bill through both Houses, retrieve associated committee evidence, and pull the latest Hansard contributions in one automated workflow.

Quick Start

Use the parl skill to search for the most recent voting record of a specific Member of Parliament by their name.

Frequently Asked Questions about parl

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

FAQPage Schema
How do I query UK Parliament APIs and SPARQL endpoints in a single workflow?

Query UK Parliament APIs and SPARQL endpoints through a unified command-line interface that consolidates over 25 legislative facilities. It executes HTTP requests against authoritative parliament.uk hostnames to retrieve Members, Bills, and Hansard data.

Can I retrieve an MP's voting record and Hansard debates together?

You can retrieve an MP's voting record and Hansard debates together by chaining cross-facility queries. The interface links biographical, procedural, and legislative domains to pull associated debate transcripts in one automated workflow.

Do I need Node 18 to retrieve UK Parliament data via command line?

You need a Node 18+ environment to retrieve UK Parliament data via command line. This runtime requirement is necessary for the skill to execute HTTP requests against the parliament.uk REST APIs and OData datasets.

What's the best way to track a bill's progress through both Houses of Parliament programmatically?

The best way to track a bill's progress programmatically is using a unified CLI that queries legislative APIs and SPARQL endpoints. It retrieves bill stages, committee evidence, and latest Hansard contributions without manual documentation lookups.

Does this approach support OData datasets for UK Parliament data retrieval?

This approach supports OData datasets for UK Parliament data retrieval alongside REST APIs and SPARQL endpoints. It provides a consistent command structure to access fragmented parliamentary datasets across legislative, procedural, and biographical domains.