Server data from the Official MCP Registry
Landlord rules for England by postcode: licensing, the landlord register and the law, cited.
About
Landlord rules for England by postcode: licensing, the landlord register and the law, cited.
Security Report
landlordlaw is a small forwarding client that serves a fixed tool list and sends every tools/call unchanged to the hosted Lettance endpoint, with no credentials attached. The main concerns are inherent to forwarding: upstream output is passed back verbatim, so it is trusted content that reaches the AI assistant, and user postcodes leave the machine. Permissions (outbound HTTPS and one environment variable) match the stated purpose, and no malicious patterns, shell execution, or hardcoded secrets were found. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.
8 files analyzed · 10 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: LETTANCE_MCP_URL
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"landlordlaw": {
"command": "npx",
"args": [
"-y",
"@reneturcios/landlordlaw@0.1.0"
],
"env": {
"LETTANCE_MCP_URL": "your-lettance-mcp-url-here"
}
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub README.
landlordlaw
What does the law ask of a landlord in England, at one address? landlordlaw is a small local forwarding client for the hosted Lettance MCP service: it serves the tool list from your own machine using the captured definitions, then sends each question upstream and hands the service's answer back exactly as it arrived.
Everything on the surface is read-only and works from published data. Given a postcode it reports whether a council property licence is needed and which schemes apply, when the landlord register window opens, and what the coming year of duties looks like as a dated plan. A cited catalogue of rules can be searched and read in full, two to four addresses can be set side by side, and typical local rents and sale prices come from dated ONS and HM Land Registry snapshots. landlordlaw stores nothing and computes nothing itself — it asks, and passes the answer through.
The tools
check_address— What applies to a rented home at one postcode: whether a council property licence is needed for the household type, the council's licensing schemes, the planned landlord register window, flood zone and conservation area, each with its source.postcodeis required;household(single,small_hmoorlarge_hmo) is optional.search_rules— Search the catalogue of landlord rules, each cited to legislation.gov.uk or GOV.UK, by keyword.queryis required. Returns matching rule ids with summaries.get_rule— One rule's full detail: the requirement, deadline, evidence to keep, penalty, legal basis and official guidance links.idis required, taken from asearch_rulesresult.council_licensing— Every licensing scheme for one council, with its wards, dates, fees and council sources.councilis required — a slug such assouthwarkor a name such asBirmingham.plan_rental— A twelve-month plan of duties for a rented home, computed from the postcode plus whatever the landlord knows about the tenancy: gas and electrical dates, the EPC rating, deposit handling, alarms and more. Onlypostcodeis required; every other argument sharpens the plan. Nothing is stored and nothing is submitted.compare_addresses— Two to four postcodes compared side by side: licence need, landlord register window, flood zone, conservation areas, Article 4 directions, average local rent and median sale price.postcodes(2–4 entries) is required;householdis optional.area_market— The ONS average monthly private rent for the local authority and the HM Land Registry median sale price for the postcode district, from a dated snapshot with its attribution.postcodeis required. Area figures only, never a valuation of one home.
Install and run
As an MCP server via npm:
npx -y @reneturcios/landlordlaw mcp
MCP client configuration:
{
"mcpServers": {
"landlordlaw": {
"command": "npx",
"args": ["-y", "@reneturcios/landlordlaw", "mcp"]
}
}
}
As a container:
docker run -i ghcr.io/cloudcorprecords/landlordlaw
docker run --rm ghcr.io/cloudcorprecords/landlordlaw area_market '{"postcode":"SE15 5BA"}'
CLI
A single binary covers both the command line and the MCP server. Every tool is a subcommand whose one argument is a JSON string of that tool's inputs:
landlordlaw check_address '{"postcode":"SE15 5BA"}'
landlordlaw search_rules '{"query":"gas safety certificate"}'
landlordlaw get_rule '{"id":"gas-safety-annual-check"}'
landlordlaw council_licensing '{"council":"southwark"}'
landlordlaw plan_rental '{"postcode":"SW9 7AA","has_gas":"yes"}'
landlordlaw compare_addresses '{"postcodes":["SE15 5BA","SW6 1HS"]}'
landlordlaw area_market '{"postcode":"SE15 5BA"}'
landlordlaw --version
Exit codes: 0 for a successful forwarded call, 1 when the result that comes back is an error, and 2 for usage mistakes like an unknown subcommand or a JSON argument that does not parse.
Configuration
LETTANCE_MCP_URL— Replaces the upstream endpoint. Defaults to the pinned hosted endpoint,https://lettance.com/mcp. (This override variable is a reconstruction introduced by this rebuild.)
The Lettance registry record lists no headers for its remote, so landlordlaw never attaches an authentication header — every question goes upstream keyless.
When the upstream cannot answer — it returns a JSON-RPC error, answers with a non-2xx status, sends a body that cannot be read, or the request itself fails — the caller receives an error result whose text begins with landlordlaw error:.
How forwarding works
The first question of a process opens a session against the upstream: an initialize request (protocol version 2025-03-26), a notifications/initialized notification, and then the tools/call. If the service issues an Mcp-Session-Id header during initialize, landlordlaw repeats it on subsequent requests and keeps reusing that one session until the process ends. Replies are understood in both plain JSON and server-sent-events framing. Successful results are passed through untouched, isError flag and any extra fields included.
Development
npm install
npm run build # tsc -> dist/ (dist/cli.js is the bin)
npm test # tsx --test test/*.test.ts — stubbed upstream, no network
npm run dev # run the CLI from source
The suite compares the served tool list against the captured surface tool for tool, walks the session handshake and its reuse, proves no Authorization header is sent under any environment, and confirms that arguments travel upstream unchanged and results return unchanged.
License
MIT — see LICENSE. Copyright (c) 2026 Rene Turcios.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
