Open Data

Parliament Questions MCP Server

Chat with AI and run tools instantly — no API key or third-party login needed.

UK Parliament written questions and answers. Search questions asked by MPs to government departments, view official answers, track question status, and filter by department, member, or date.

Managed
2 tools
Agent guide included

No API key or third-party login needed. Chat with AI and run tools instantly.

Browse all tools

AI Skill
SKILL.md

Domain knowledge for Parliament Questions — workflow patterns, data models, and gotchas for your AI agent.

UK Parliament Written Questions

Official UK Parliament API for written questions tabled by MPs to government departments. No authentication required.

Data Model

  • Written Question — A formal question tabled by an MP to a government minister. Must receive a written answer.
  • id — Unique integer identifier.
  • uin — Unique identification number assigned by Parliament (string, e.g. "121892").
  • questionText — Full text of the question.
  • heading — Short topic heading (e.g. "Special Educational Needs: Reform").
  • answeringBodyName — Government department that answers (e.g. "Department for Education").
  • dateTabled — Date the question was tabled.
  • dateForAnswer — Date by which an answer is due.
  • dateAnswered — Date the answer was given (null if unanswered).
  • answerText — HTML-formatted ministerial answer.
  • isNamedDay — Whether the MP specified a day for the answer.

Key Patterns

  • Search endpoint: /api/writtenquestions/questions with query parameters.
  • Single question: /api/writtenquestions/questions/{id}.
  • Date filters: takenFrom, takenTo, answeredFrom, answeredTo (ISO dates).
  • Department filter: answeringBodies (integer body ID).
  • Member filter: askingMemberId (integer member ID).
  • Text search: searchTerm searches question text and headings.
  • Pagination: skip and take (default take=10).
  • Sort: orderBy=DateTabledDesc (default), DateTabledAsc, DateAnsweredDesc.

Gotchas

  • HTML answers: answerText contains HTML markup — strip tags for plain text.
  • Unanswered questions: dateAnswered is null and answerText is empty.
  • Grouped questions: Multiple questions answered together share groupedQuestions.
  • Holding answers: answerIsHolding=true means a temporary response pending full answer.
  • Corrections: answerIsCorrection=true and dateAnswerCorrected indicate revised answers.

Tools in this Server (2)

Written Question Get

Get full details of a UK Parliament written question by ID. Returns the question text, answering department, ministerial answer (plain text), dates, c...

Written Questions Search

Search UK Parliament written questions asked by MPs to government departments. Filter by keyword, department, MP, or date range. Returns question text...

Frequently Asked Questions

What is the Parliament Questions MCP server?

UK Parliament written questions and answers. Search questions asked by MPs to government departments, view official answers, track question status, and filter by department, member, or date. It provides 2 tools that AI agents can use through the Model Context Protocol (MCP).

How do I connect Parliament Questions to my AI agent?

Add the MCPBundles server URL to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.). The URL format is: https://mcp.mcpbundles.com/bundle/parliament-questions. Authentication is handled automatically.

How many tools does Parliament Questions provide?

Parliament Questions provides 2 tools that can be called by AI agents, along with a SKILL.md that gives your AI agent domain knowledge about when and how to use them.

What authentication does Parliament Questions require?

Parliament Questions uses open data APIs — no authentication required.

Setup Instructions

Connect Parliament Questions to any MCP client in minutes

https://mcp.mcpbundles.com/bundle/parliament-questions

One-click install:

The link prefills the Add custom connector dialog — you still review the values and click Add, then Connect to complete OAuth.

Or add manually

  1. Open claude.ai → Settings → Connectors.
  2. Click the + button and choose Add custom connector.
  3. Set Name to Parliament Questions and paste the MCP URL into Remote MCP server URL.
  4. Click Add. Parliament Questions will appear under Not connected — select it and click Connect to complete OAuth.
Name: Parliament Questions
Remote MCP server URL: https://mcp.mcpbundles.com/bundle/parliament-questions
Authentication: OAuth

Custom connectors at claude.ai require a paid Claude plan (Pro, Max, Team, or Enterprise).

Try Parliament Questions now

No API key or third-party login required. Chat with AI and run tools instantly.

Parliament Questions MCP Server & Skill — 2 Tools