{
  "name": "ThaiData UK MCP Server v2.0",
  "protocol": "Model Context Protocol (MCP) — JSON-RPC 2.0",
  "endpoint": "https://thaidata.uk/mcp",
  "version": "2.0.0",
  "tools": 8,
  "tools_list": [
    {
      "name": "get_city_stats",
      "description": "Aggregate Thai-venue figures for one UK city/area, or up to five side by side"
    },
    {
      "name": "search_restaurants",
      "description": "Lists named Thai venues in a city or area"
    },
    {
      "name": "find_nearby",
      "description": "Thai venues within a straight-line radius of a UK postcode"
    },
    {
      "name": "get_uk_overview",
      "description": "UK-wide totals for Thai venues in FSA data: venue count with the dine-in, takeaway and pub-kitchen split, number of city/area rows, mean FHRS rating with the number rated, and the date of the snapshot"
    },
    {
      "name": "rank_cities",
      "description": "Order city/area rows by Thai venue count, mean FHRS rating or venues per 100k residents"
    },
    {
      "name": "get_hygiene_profile",
      "description": "Food hygiene profile for Thai venues in a city, a local authority or a postcode district: the distribution of FHRS ratings 0-5 with mean and counts, or FHIS pass/improvement counts in Scotland, plus how old the inspections are"
    },
    {
      "name": "get_opening_requirements",
      "description": "Statutory steps for opening a food business in the UK, with the responsible local authority for a given city and official GOV"
    },
    {
      "name": "get_venue",
      "description": "Full record for one venue by its FSA establishment id, with context: days since the last inspection, whether the inspection date is known, the rating scheme, and where the venue's rating sits within its city (percentile among rated peers)"
    }
  ],
  "data_sources": [
    "FSA (FHRS)",
    "Food Standards Scotland (FHIS)",
    "ONS",
    "HMRC"
  ],
  "new_in_v2": "Named restaurant search, all UK cities, dynamic data loading from live API",
  "documentation": "https://modelcontextprotocol.io",
  "example": "curl -X POST https://thaidata.uk/mcp -H \"Content-Type: application/json\" -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/call\",\"params\":{\"name\":\"search_restaurants\",\"arguments\":{\"city\":\"Leeds\",\"min_rating\":4}}}'"
}