Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Open Parliament

FreeNot checked

A thin MCP connector to UK Parliament's public APIs and Members OData endpoint, providing generic tools to list, describe, and query data sources, with playbook

GitHubEmbed

About

A thin MCP connector to UK Parliament's public APIs and Members OData endpoint, providing generic tools to list, describe, and query data sources, with playbooks for procedural guidance.

README

A thin MCP connector to the UK Parliament's public APIs and the Members OData endpoint. It exposes five generic tools rather than modelling endpoints; the "how to use each source" knowledge lives in playbooks.

Tools

  • list_apis — list the available Parliament data sources.
  • describe_api(api, detail?, path?) — show a source's endpoints (compact by default; detail:"full" for the raw spec; path to filter). For the OData source, lists collections / returns $metadata.
  • call_api(api, path, query?) — GET an endpoint and return JSON. The host is fixed by the source id (allowlist); read-only.
  • list_playbooks / get_playbook(name) — procedural advice.

Running

npm install
npm run build
# stdio (Claude Desktop / Claude Code):
MCP_TRANSPORT=stdio node build/index.js
# streamable HTTP (default), port 3401:
node build/index.js

Configuration

Env var Default Purpose
MCP_TRANSPORT http http or stdio.
PORT 3401 HTTP port.
CF_ACCESS_TEAM_DOMAIN, CF_ACCESS_AUD (unset) Enable Cloudflare Access origin verification.
PLAYBOOKS_REPO brynmrgn/open-parliament-mcp GitHub repo for live playbooks.
PLAYBOOKS_REF main Git ref for playbooks.

Playbooks are fetched live from the playbooks/ folder of PLAYBOOKS_REPO, falling back to the copy bundled in the image when GitHub is unreachable.

Deployment

See docs/deployment.md for running the container behind a Cloudflare Tunnel and gating it for Claude with Cloudflare Access Managed OAuth.

Data sources

UK Parliament public APIs (read-only, no key required). See list_apis for the full set. This connector is unaffiliated with UK Parliament; cite results against the originating API.

from github.com/brynmrgn/open-parliament-mcp

Installing Open Parliament

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/brynmrgn/open-parliament-mcp

FAQ

Is Open Parliament MCP free?

Yes, Open Parliament MCP is free — one-click install via Unyly at no cost.

Does Open Parliament need an API key?

No, Open Parliament runs without API keys or environment variables.

Is Open Parliament hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install Open Parliament in Claude Desktop, Claude Code or Cursor?

Open Open Parliament on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Open Parliament with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs