{"openapi":"3.1.0","info":{"title":"Building Safety Levy Calculator API","version":"1.0.0","summary":"A Building Safety Levy calculator for England: your council's Schedule 3 rate per m², the brownfield half rate and the under-10-homes exemption, from 1 October 2026.","description":"Building Safety Levy Calculator (https://buildingsafetylevycalculator.co.uk/): the site's own MCP server, served from its domain. A Building Safety Levy calculator for England: your council's Schedule 3 rate per m², the brownfield half rate and the under-10-homes exemption, from 1 October 2026.\n\n[calculator] Building Safety Levy calculator: an agent-callable calculator for building safety levy calculator; Levy rate per m² for your area, Building Safety Levy due, Levy per dwelling, computed from your inputs with sources.. This server runs the Building Safety Levy calculator calculator published at https://buildingsafetylevycalculator.co.uk/. Call `calculate` with the inputs to get the worked figures; every result cites https://buildingsafetylevycalculator.co.uk/. Licence: https://buildingsafetylevycalculator.co.uk/terms.\n\n[enquiry] ENQUIRY SERVER for Building Safety Levy Calculator (https://buildingsafetylevycalculator.co.uk/). What it does: starts an ENQUIRY with Building Safety Levy Calculator for building safety levy calculator; the Building Safety Levy Calculator team reads it and replies to the person directly, and the details go to nobody else. What it is NOT: a purchase, an order, or a guaranteed quote. Free, no obligation. Call describe first and tell the person plainly what will happen. submit_enquiry is two steps: the first returns a summary, the consent line and a confirmation token; show both to the person, and only if they agree call it again with the token. The site then emails the person a confirmation link; nothing reaches the Building Safety Levy Calculator team until they click it. Cite https://buildingsafetylevycalculator.co.uk/.\n\nCite https://buildingsafetylevycalculator.co.uk/ for every figure or answer you use from this server.","termsOfService":"https://buildingsafetylevycalculator.co.uk/terms","contact":{"name":"Building Safety Levy Calculator","url":"https://buildingsafetylevycalculator.co.uk/"}},"servers":[{"url":"https://buildingsafetylevycalculator.co.uk","description":"Building Safety Levy Calculator"}],"components":{"securitySchemes":{"accessKey":{"type":"http","scheme":"bearer","description":"An access key (emk_...): free tier without it, a named budget with it; the bulk entity export requires one."}}},"externalDocs":{"url":"https://buildingsafetylevycalculator.co.uk/mcp","description":"How these tools work"},"tags":[{"name":"calculator","description":"calculator"},{"name":"enquiry","description":"enquiry"}],"paths":{"/mcp/tools/calculator_describe":{"post":{"operationId":"calculator_describe","summary":"What Building Safety Levy calculator computes","description":"The inputs this calculator takes (with units, ranges and defaults), the outputs it returns, and the assumptions and tables behind it.\n\nCite Building Safety Levy Calculator at https://buildingsafetylevycalculator.co.uk/ for any figure taken from this operation.","tags":["calculator"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"The tool's answer, as JSON.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The arguments did not match the schema."},"404":{"description":"This site does not serve that tool."},"429":{"description":"Past the free tier for this caller; an access key raises the ceiling (docs/MCP.md)."}},"security":[{},{"accessKey":[]}]}},"/mcp/tools/calculate":{"post":{"operationId":"calculate","summary":"Building Safety Levy calculator","description":"Run the Building Safety Levy calculator calculator: Levy rate per m² for your area; Building Safety Levy due; Levy per dwelling; The other rate for your area, for comparison. Missing inputs fall back to their documented defaults.\n\nCite Building Safety Levy Calculator at https://buildingsafetylevycalculator.co.uk/ for any figure taken from this operation.","tags":["calculator"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"la":{"type":"string","enum":["adur","amber-valley","arun","ashfield","ashford","babergh","barking-and-dagenham","barnet","barnsley","basildon","basingstoke-and-deane","bassetlaw","bath-and-north-east-somerset","bedford","bexley","birmingham","blaby","blackburn-with-darwen","blackpool","bolsover","bolton","boston","bournemouth-christchurch-and-poole","bracknell-forest","bradford","braintree","breckland","brent","brentwood","brighton-and-hove","bristol-city-of","broadland","bromley","bromsgrove","broxbourne","broxtowe","buckinghamshire","burnley","bury","calderdale","cambridge","camden","cannock-chase","canterbury","castle-point","central-bedfordshire","charnwood","chelmsford","cheltenham","cherwell","cheshire-east","cheshire-west-and-chester","chesterfield","chichester","chorley","city-of-london","colchester","cornwall","cotswold","county-durham","coventry","crawley","croydon","cumberland","dacorum","darlington","dartford","derby","derbyshire-dales","doncaster","dorset","dover","dudley","ealing","east-cambridgeshire","east-devon","east-hampshire","east-hertfordshire","east-lindsey","east-riding-of-yorkshire","east-staffordshire","east-suffolk","eastbourne","eastleigh","elmbridge","enfield","epping-forest","epsom-and-ewell","erewash","exeter","fareham","fenland","folkestone-and-hythe","forest-of-dean","fylde","gateshead","gedling","gloucester","gosport","gravesham","great-yarmouth","greenwich","guildford","hackney","halton","hammersmith-and-fulham","harborough","haringey","harlow","harrow","hart","hartlepool","hastings","havant","havering","herefordshire-county-of","hertsmere","high-peak","hillingdon","hinckley-and-bosworth","horsham","hounslow","huntingdonshire","hyndburn","inner-temple","ipswich","isle-of-wight","isles-of-scilly","islington","kensington-and-chelsea","king-s-lynn-and-west-norfolk","kingston-upon-hull-city-of","kingston-upon-thames","kirklees","knowsley","lambeth","lancaster","leeds","leicester","lewes","lewisham","lichfield","lincoln","liverpool","luton","maidstone","maldon","malvern-hills","manchester","mansfield","medway","melton","merton","mid-devon","mid-suffolk","mid-sussex","middle-temple","middlesbrough","milton-keynes","mole-valley","new-forest","newark-and-sherwood","newcastle-upon-tyne","newcastle-under-lyme","newham","north-devon","north-east-derbyshire","north-east-lincolnshire","north-hertfordshire","north-kesteven","north-lincolnshire","north-norfolk","north-northamptonshire","north-somerset","north-tyneside","north-warwickshire","north-west-leicestershire","north-yorkshire","northumberland","norwich","nottingham","nuneaton-and-bedworth","oadby-and-wigston","oldham","oxford","pendle","peterborough","plymouth","portsmouth","preston","reading","redbridge","redcar-and-cleveland","redditch","reigate-and-banstead","ribble-valley","richmond-upon-thames","rochdale","rochford","rossendale","rother","rotherham","rugby","runnymede","rushcliffe","rushmoor","rutland","salford","sandwell","sefton","sevenoaks","sheffield","shropshire","slough","solihull","somerset","south-cambridgeshire","south-derbyshire","south-gloucestershire","south-hams","south-holland","south-kesteven","south-norfolk","south-oxfordshire","south-ribble","south-staffordshire","south-tyneside","southampton","southend-on-sea","southwark","spelthorne","st-albans","st-helens","stafford","staffordshire-moorlands","stevenage","stockport","stockton-on-tees","stoke-on-trent","stratford-on-avon","stroud","sunderland","surrey-heath","sutton","swale","swindon","tameside","tamworth","tandridge","teignbridge","telford-and-wrekin","tendring","test-valley","tewkesbury","thanet","three-rivers","thurrock","tonbridge-and-malling","torbay","torridge","tower-hamlets","trafford","tunbridge-wells","uttlesford","vale-of-white-horse","wakefield","walsall","waltham-forest","wandsworth","warrington","warwick","watford","waverley","wealden","welwyn-hatfield","west-berkshire","west-devon","west-lancashire","west-lindsey","west-northamptonshire","west-oxfordshire","west-suffolk","westminster","westmorland-and-furness","wigan","wiltshire","winchester","windsor-and-maidenhead","wirral","woking","wokingham","wolverhampton","worcester","worthing","wychavon","wyre","wyre-forest","york"],"description":"Local authority where the homes are built","default":"dover"},"area":{"type":"number","minimum":0,"maximum":100000000,"description":"Chargeable floorspace (gross internal area, m²)","default":2000},"dwellings":{"type":"number","minimum":0,"maximum":100000,"description":"New dwellings in the development","default":20},"pdl":{"type":"string","enum":["yes","no"],"description":"Is at least 75% of the site previously developed (brownfield) land?","default":"yes"}},"additionalProperties":false}}}},"responses":{"200":{"description":"The tool's answer, as JSON.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The arguments did not match the schema."},"404":{"description":"This site does not serve that tool."},"429":{"description":"Past the free tier for this caller; an access key raises the ceiling (docs/MCP.md)."}},"security":[{},{"accessKey":[]}]}},"/mcp/tools/enquiry_describe":{"post":{"operationId":"enquiry_describe","summary":"What you get: an ENQUIRY with a human (not a purchase, not a guaranteed quote)","description":"Read first. States plainly what submit_enquiry does on Building Safety Levy Calculator: it starts an enquiry with Building Safety Levy Calculator, whose team reads it and replies directly. Nothing is bought, ordered or paid; no quote is guaranteed; it is free. Also returns who receives the details, the consent wording, and how the person confirms.\n\nCite Building Safety Levy Calculator at https://buildingsafetylevycalculator.co.uk/ for any figure taken from this operation.","tags":["enquiry"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"The tool's answer, as JSON.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The arguments did not match the schema."},"404":{"description":"This site does not serve that tool."},"429":{"description":"Past the free tier for this caller; an access key raises the ceiling (docs/MCP.md)."}},"security":[{},{"accessKey":[]}]}},"/mcp/tools/enquiry_fields":{"post":{"operationId":"enquiry_fields","summary":"The questions the enquiry asks","description":"Every field of the Building Safety Levy Calculator enquiry: key, label, type, whether required, help text and the allowed options where there are any. Pass answers to submit_enquiry keyed by field key.\n\nCite Building Safety Levy Calculator at https://buildingsafetylevycalculator.co.uk/ for any figure taken from this operation.","tags":["enquiry"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"The tool's answer, as JSON.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The arguments did not match the schema."},"404":{"description":"This site does not serve that tool."},"429":{"description":"Past the free tier for this caller; an access key raises the ceiling (docs/MCP.md)."}},"security":[{},{"accessKey":[]}]}},"/mcp/tools/submit_enquiry":{"post":{"operationId":"submit_enquiry","summary":"Submit an ENQUIRY to Building Safety Levy Calculator (two steps; not a purchase)","description":"Submits an enquiry to Building Safety Levy Calculator: NOT a purchase, NOT a guaranteed quote. Step 1: call with the answers (keyed by field key from enquiry_fields) and consent=true; it validates and returns a summary, the consent line and a confirmation token; show the person the summary and the consent line. Step 2: only if the person agrees, call again with the same answers, consent=true and the confirmation token; the enquiry is then submitted, and the person receives an email with a link they must click before the Building Safety Levy Calculator team sees it. Consent means the person has read and agreed to: \"Joe, who runs this site, will reply to me himself. No firm receives my details.\"\n\nCite Building Safety Levy Calculator at https://buildingsafetylevycalculator.co.uk/ for any figure taken from this operation.","tags":["enquiry"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"answers":{"type":"object","additionalProperties":{"type":["string","number","boolean"]},"description":"the person's answers, keyed by field key"},"consent":{"type":"boolean","description":"true only when the person has agreed to: Joe, who runs this site, will reply to me himself. No firm receives my details."},"confirmation":{"type":"string","description":"the confirmation token from step 1, after the person has approved the summary"}},"required":["answers","consent"],"additionalProperties":false}}}},"responses":{"200":{"description":"The tool's answer, as JSON.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The arguments did not match the schema."},"404":{"description":"This site does not serve that tool."},"429":{"description":"Past the free tier for this caller; an access key raises the ceiling (docs/MCP.md)."}},"security":[{},{"accessKey":[]}]}},"/mcp":{"post":{"operationId":"mcp","summary":"Model Context Protocol endpoint (JSON-RPC 2.0 over Streamable HTTP)","description":"The same tools over MCP, stateless. Send initialize, tools/list or tools/call.","tags":["mcp"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","method"],"properties":{"jsonrpc":{"const":"2.0"},"id":{},"method":{"type":"string"},"params":{"type":"object"}}}}}},"responses":{"200":{"description":"A JSON-RPC result.","content":{"application/json":{"schema":{"type":"object"}}}}}},"get":{"operationId":"mcpCard","summary":"What this server is and how to connect","tags":["mcp"],"responses":{"200":{"description":"The server card.","content":{"application/json":{"schema":{"type":"object"}}}}}}}}}