Open Data

Parliament Questions MCP Server

Chat with AI and run tools instantly — no account 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.

2 tools
Agent guide included
Try it Free

No account 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

What is MCP?

Model Context Protocol lets AI tools call external capabilities securely through a single URL. This bundle groups tools behind an MCP endpoint that many clients can use.

Use this bundle in 3 steps

  1. Copy the MCP URL above
  2. Open your AI tool and add a new MCP/connector
  3. Paste the URL and follow any auth prompts

Claude Desktop Users

Skip the manual setup! Use the .mcpb file format for one-click installation. Check the Claude Desktop tab for setup instructions.

Pick your tool tab for exact steps

Select ChatGPT, Cursor, Claude Code, or another tab for copy-paste config.

Try Parliament Questions now

No sign-up required. Chat with AI and run tools instantly.

Parliament Questions MCP Server & Skill — 2 Tools