Open Data

UK Constituencies MCP Server

Use Studio chat to drive this server — credentials stay in your workspace.

UK parliamentary constituency boundaries and metadata from the ONS Open Geography Portal. Search constituencies by name, get boundary details including area, centroid coordinates, and ONS codes for all 650 Westminster constituencies.

2 tools
Agent guide included
No auth required
Start Chatting

Opens MCPBundles Studio with this server selected. After sign-in, chat and run tools from the same thread.

Browse all tools

AI Skill
SKILL.md

Domain knowledge for UK Constituencies — workflow patterns, data models, and gotchas for your AI agent.

UK Parliamentary Constituencies

ONS Open Geography Portal — ArcGIS FeatureServer for Westminster parliamentary constituency boundaries (July 2024, 650 constituencies).

Data Model

  • Constituency — A Westminster parliamentary constituency with boundary geometry and metadata.
  • PCON24CD — ONS constituency code (e.g. "E14001063" for Aldershot). Prefix: E=England, W=Wales, S=Scotland, N=Northern Ireland.
  • PCON24NM — Constituency name in English.
  • PCON24NMW — Constituency name in Welsh (blank for non-Welsh constituencies).
  • BNG_E / BNG_N — British National Grid easting/northing of the centroid.
  • LONG / LAT — WGS84 longitude/latitude of the centroid.
  • Shape__Area — Boundary area in square metres.
  • Shape__Length — Boundary perimeter in metres.

Key Patterns

  • ArcGIS FeatureServer query endpoint with where, outFields, f=json parameters.
  • Name search uses SQL LIKE: PCON24NM LIKE '%Oxford%' (case-insensitive on server).
  • Code lookup uses exact match: PCON24CD='E14001063'.
  • returnGeometry=false omits polygon coordinates (much smaller response).
  • resultRecordCount limits results (max 2000 per request).

Gotchas

  • No pagination token: Use resultOffset for pagination.
  • Geometry is large: Always set returnGeometry=false unless polygon data is specifically needed.
  • Welsh names: PCON24NMW is blank (single space) for non-Welsh constituencies.
  • July 2024 boundaries: These are the current boundaries after the 2023 boundary review.

Tools in this Server (2)

Constituencies Search

Search UK parliamentary constituencies by name. Returns constituency codes, names, centroid coordinates (lat/lon), boundary area, and perimeter for al...

Constituency Get

Get full details of a UK parliamentary constituency by its ONS code. Returns the constituency name, centroid coordinates, boundary area in square metr...

Frequently Asked Questions

What is the UK Constituencies MCP server?

UK parliamentary constituency boundaries and metadata from the ONS Open Geography Portal. Search constituencies by name, get boundary details including area, centroid coordinates, and ONS codes for all 650 Westminster constituencies. It provides 2 tools that AI agents can use through the Model Context Protocol (MCP).

How do I connect UK Constituencies 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/uk-constituencies. Authentication is handled automatically.

How many tools does UK Constituencies provide?

UK Constituencies 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 UK Constituencies require?

UK Constituencies uses open data APIs — no authentication required.

Setup Instructions

Connect UK Constituencies to any MCP client in minutes

https://mcp.mcpbundles.com/bundle/uk-constituencies

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.

Ready to chat with UK Constituencies?

Same flow: Studio opens on this server after sign-in. Keep chatting to call tools from the conversation.

UK Constituencies MCP Server & Skill — 2 Tools