mysoc-twfy

Retrieve parliamentary data and mySociety analytical insights from the TheyWorkForYou API.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill bridges the gap between official parliamentary data and the enriched, analytical insights provided by mySociety, allowing users to access voting summaries, attendance metrics, and cross-referenced MP profiles that are not available in first-party APIs.

Core Features & Use Cases

  • Thematic Voting Analysis: Access mySociety's proprietary classifications of MP voting records on specific issues like Brexit or military intervention.
  • Unified Search: Perform a single query across written questions, spoken debates, and ministerial statements.
  • Use Case: If you need to analyze an MP's voting history alongside their contribution patterns and rebellion counts, this skill provides the necessary analytical context beyond raw parliamentary records.

Quick Start

Use the mysoc-twfy skill to search for all debates involving the term climate for a specific person by providing their ID.

Frequently Asked Questions about mysoc-twfy

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

FAQPage Schema
How do I analyze an MP's voting records and parliamentary contributions?

You can analyze MP voting records by retrieving parliamentary data and mySociety analytical insights from the TheyWorkForYou API. This provides voting summaries, attendance metrics, and cross-referenced MP profiles beyond raw parliamentary records.

Do I need an API key to query TheyWorkForYou for parliament data?

Yes, you need a valid API key from theyworkforyou.com to authenticate requests against the service endpoints. This key is required to retrieve parliamentary data and mySociety analytical insights.

Can I search MP debates, written questions, and ministerial statements in one query?

Yes, you can perform a unified search across written questions, spoken debates, and ministerial statements. A single query retrieves all matching parliamentary contributions for a specific person or term.

What thematic voting analysis is available for MP voting records?

Thematic voting analysis provides mySociety's proprietary classifications of MP voting records on specific issues like Brexit or military intervention. This delivers analytical context on voting history alongside contribution patterns and rebellion counts.

How do I find all parliament debates involving a specific topic for one MP?

You can search for all debates involving a term like climate for a specific person by providing their ID. This queries the TheyWorkForYou API to retrieve matching parliamentary data and analytical insights.

What are the limitations of using the TheyWorkForYou API for parliamentary analysis?

The TheyWorkForYou API requires valid authentication via an API key for all requests. While it provides enriched analytical insights, it is limited to the parliamentary data types and mySociety classifications available through its endpoints.