GovUK MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| EPC_API_KEY | Yes | API key for EPC (format: your_email:your_key) | |
| TFL_API_KEY | No | Optional TfL API key for higher rate limits | |
| COMPANIES_HOUSE_API_KEY | Yes | API key for Companies House |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {
"tasks": {
"list": {},
"cancel": {},
"requests": {
"tools": {
"call": {}
},
"prompts": {
"get": {}
},
"resources": {
"read": {}
}
}
}
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| lookup_postcodeA | Look up details for a UK postcode. Args: postcode: UK postcode (e.g., SW1A 1AA) Returns location, council, constituency, and coordinates. |
| nearest_postcodesB | Find nearest postcodes to a given postcode. Args: postcode: UK postcode (e.g., SW1A 1AA) limit: Number of nearest postcodes to return (default: 10) |
| get_tube_statusA | Get current status of all London Underground lines. Returns status, delays, and disruption info for all tube lines. |
| get_line_statusB | Get status for a specific London Underground line. Args: line_id: Line ID (e.g., 'central', 'northern', 'piccadilly') |
| plan_journeyA | Plan a journey between two locations in London using public transport. Args: from_location: Starting point (postcode, station name, or address) to_location: Destination (postcode, station name, or address) via: Optional intermediate stop time: Optional time for journey (ISO format or HH:MM) time_is_arrival: If True, time is arrival time; if False, departure time |
| get_bike_pointsA | Get Santander Cycles docking stations in London. Args: lat: Latitude for location search (optional) lon: Longitude for location search (required if lat provided) radius: Search radius in meters (default: 500) |
| get_road_statusA | Get current status of major roads in London. Args: road_ids: Comma-separated road IDs (e.g., 'A2,A40,M25') |
| search_stopsA | Search for bus stops, tube stations, and other transit stops in London. Args: query: Search term (station name, postcode, etc.) modes: Optional comma-separated transport modes (tube,bus,dlr,overground,elizabeth-line,tram) |
| search_companiesA | Search for UK companies by name using Companies House API. Args: query: Company name to search for items_per_page: Number of results to return (default: 20) |
| get_companyB | Get detailed company information by company number from Companies House. Args: company_number: Company number (e.g., 12345678) |
| get_company_officersB | Get list of company officers (directors, secretaries) by company number. Args: company_number: Company number (e.g., 12345678) |
| get_company_filing_historyB | Get company filing history by company number from Companies House. Args: company_number: Company number (e.g., 12345678) items_per_page: Number of results to return (default: 20) |
| search_food_establishmentsB | Search for food establishments and their hygiene ratings. Args: name: Business name to search for postcode: Postcode to search in local_authority: Local authority ID |
| get_bank_holidaysB | Get UK bank holidays. Args: country: Country to get holidays for (england-and-wales, scotland, northern-ireland) |
| search_govukC | Search gov.uk content for guidance, policy documents, and other government information. Args: query: Search query count: Number of results to return (default: 10) |
| get_flood_warningsA | Get active flood warnings for England. Can filter by postcode or area. Args: postcode: Postcode to search for (optional) area: Area name to search for (optional) |
| get_crime_by_postcodeA | Get street-level crime data for a postcode area. Args: postcode: UK postcode |
| search_epc_by_postcodeB | Search for Energy Performance Certificates by postcode. Args: postcode: UK postcode Returns energy ratings (A-G) and property details. |
| find_courtsA | Find courts by postcode or name. Args: postcode: UK postcode name: Court name to search for Returns court details, types, and contact information. |
| search_charitiesB | Search for registered charities by name. Args: name: Charity name to search for |
| get_charityB | Get detailed charity information by registration number. Args: charity_number: Charity registration number |
| find_gp_surgeriesB | Find GP surgeries near a postcode. Args: postcode: UK postcode |
| find_hospitalsB | Find hospitals near a postcode. Args: postcode: UK postcode |
| find_pharmaciesB | Find pharmacies near a postcode. Args: postcode: UK postcode |
| search_legislationA | Search UK legislation by keyword. Args: query: Search query limit: Number of results (default: 20) |
| search_cqc_providersC | Search for CQC registered care providers by name or postcode. Args: name: Provider name postcode: UK postcode |
| get_cqc_providerB | Get detailed CQC ratings and information for a care provider. Args: location_id: CQC location ID |
| find_mpA | Find MP by name, constituency, or postcode. Args: query: MP name, constituency name, or UK postcode Returns MP details including party and constituency. |
| search_hansardA | Search parliamentary debates in Hansard (2015-present). Args: query: Search term date_from: Start date (YYYY-MM-DD format, optional) date_to: End date (YYYY-MM-DD format, optional) speaker: Filter by speaker name (optional) Returns debate transcripts and speeches. |
| get_voting_recordA | Get voting record for an MP. Args: mp_name_or_id: MP name or member ID division_id: Specific division ID (optional) limit: Number of recent votes to return (default: 20) Shows how they voted on specific bills or recent voting history. |
| search_divisionsB | Search parliamentary divisions (votes) by keyword. Args: query: Search term limit: Number of results (default: 20) |
| search_questionsB | Search parliamentary written questions and answers. Args: query: Search term mp_name: Filter by MP name (optional) department: Filter by government department (optional) limit: Number of results (default: 20) |
| get_questions_by_mpC | Get all parliamentary questions asked by a specific MP. Args: mp_name: MP name limit: Number of results (default: 20) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| tube_status_widget | Tube status visualization widget showing London Underground line status. |
| postcode_lookup_widget | Postcode lookup widget with map and location details. |
| company_info_widget | Company information widget showing Companies House data. |
| food_hygiene_widget | Food hygiene ratings widget showing FSA ratings. |
| flood_warnings_widget | Flood warnings widget showing Environment Agency alerts. |
| mp_info_widget | MP information widget showing Parliament member details. |
| bank_holidays_widget | Bank holidays widget showing upcoming UK bank holidays. |
| crime_stats_widget | Crime statistics widget showing crime breakdown by category. |
| cqc_rating_widget | CQC rating widget showing care quality inspection results. |
| charity_info_widget | Charity information widget showing Charity Commission data. |
| voting_record_widget | Voting record widget showing MP's parliamentary votes. |
| bike_points_widget | Bike points widget showing Santander Cycles availability. |
| journey_planner_widget | Journey planner widget showing TfL journey details. |
| road_status_widget | Road status widget showing London road conditions. |
| nhs_services_widget | NHS services widget showing nearby GP surgeries, hospitals, and pharmacies. |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Stealth-Labs-LTD/GovUK-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server