Skip to content

Releases: jamesmccomish/mp-mcp

@jamesmccomish/mp-mcp@0.2.0

Choose a tag to compare

Minor Changes

  • 18e21ff: BREAKING: parliament_search_hansard now has two modes. Without member_id it returns debate titles (each with a debate_ext_id to chain into parliament_get_debate) for topic discovery; with member_id it returns that member's contribution excerpts. The SearchHansardData response shape changed accordingly — total_contributions / total_written_answers / total_debates / hits are replaced by mode, total, debates, and contributions, and a new HansardDebateHit type is exported. parliament_topic_tracker now bounds its fan-out with a shared deadline so a slow upstream can't stall the whole call.

Initial public release of mp-mcp

Choose a tag to compare

@jamesmccomish jamesmccomish released this 02 Jun 17:16

A Model Context Protoco that makes UK Parliament data agent-friendly.

  • 15 intent-led tools spanning members and constituencies (find by name/constituency/postcode), member overviews and voting history, Hansard search and full debates, divisions (search, full by-party/per-member breakdown, rebellion signal; Commons and Lords), bills, committees, the Register of Members' Financial Interests, state of the parties, ministerial and shadow roles, and election results.
  • 4 prompts — mp-report-card, topic-tracker, draft-constituent-letter, vote-explainer — that package common multi-tool workflows.
    Citation contract — every tool response is a { data, sources, meta? } envelope carrying parliament.uk / hansard.parliament.uk source URLs, and the server's instructions field steers consumers to cite them inline.
  • ESM-only, Node 22+. Type definitions exported for the package, the mp-mcp/stdio binary, and a mp-mcp/types subpath.
  • Data is provided under the Open Parliament Licence v3.0.
  • Changelog managed by changesets.