The problem they share
A tenant facing eviction. An organizer checking a landlord. A worker who suspects wage theft. Someone alone in housing court. All four are asking questions public records already answer. The records are open, they’re just spread across four agencies in formats and search tools built for analysts.
Each is a Model Context Protocol (MCP) server: a small program that lets an AI assistant query the underlying dataset. The assistant can explain the result in plain language, and the records remain available to inspect. The servers are open source; your AI client or model provider may have its own costs.
Start with NYC Housing
It works without an API key. You’ll need Node.js with npx and an AI client that supports local MCP servers, such as Claude Desktop. This website is the project directory; you run the tool in your client.
- Install a supported Node.js release and open your client’s local MCP configuration.
- Merge the configuration below into your client’s settings, preserving any servers you already use. The server README has the complete setup.
- Restart or reload the client, confirm the housing tools are available, then ask the example question below.
{
"mcpServers": {
"nychousing": {
"command": "npx",
"args": [
"-y",
"@haksanlulz/mcp-nychousing"
]
}
}
}
An example question
“How many open HPD violations does 1520 Sedgwick Avenue in the Bronx have? Show the source and explain what the records establish.”
Historical sample result: a documented September 18, 2026 run returned 123 open HPD violations. These are agency records, not a current condition report or a court judgment.
See the actual run → · Source and run date
The count changes as records change. Run a fresh query, check the address and borough, and inspect the source before relying on an answer.
What each tool needs
- NYC Housing
- No key required. An optional
NYC_APP_TOKENraises the source API’s rate limit. Setup. - CourtWatch
- CourtListener may refuse anonymous API searches or require verification. Configure
COURTLISTENER_API_TOKENwith your account token, subject to the provider’s current access requirements, or search manually. Token and setup. - FairRent
- Every tool needs a free
HUD_API_TOKEN. Token and setup. - WageWatch
- Requires a free
DOL_API_KEY. Key and setup.
Features marked Next release below have been tested locally and are not yet included in the published packages.
These are research aids, not legal advice. I build software; I am not a lawyer. Missing records do not establish a clean history, and finding a citation does not establish that a case is still good law.
A local workbench for the whole investigation
Read the Workbench case study · Take the short tour
New local integration: preview synthetic intake CSVs, query shared addresses once, keep partial evidence and deliver case packets to a local simulator with durable receipts and safe replay. See the intake workflow and its limits →
Next release · local preview. Civic Workbench puts ordinary browser forms in front of all four servers. It does not require a model. These workflows are being prepared locally; there is no hosted workbench to sign into yet.
- Follow a building. Search an address, open its dated activity, and save a snapshot. Compare a later check to see changed totals and newly observed records. Compare up to five addresses, or select registered buildings from a landlord-name search. A record disappearing from a limited page is not evidence that it was resolved.
- Build a court notebook. Open an opinion, highlight a literal phrase, and move between occurrences with surrounding text. Save a passage or opinion reference with your notes, then export a source-linked reading list. The example above found 147 occurrences of “liberty”; its normalized text positions are not citation page numbers.
- Compare housing choices. Choose a county or town by name, then enter rent, extra utilities, household size and annual gross income. At $60,000 annual income, $2,100 rent plus $150 utilities takes 45% of gross income; raising rent to $2,400 takes 51%. Edit the inputs to recalculate through the same underlying tool. HUD’s rent and income tables may have different publication years.
- Inspect wage records across employers. Retrieve additional pages, watch progress, or cancel a long query. Annual summaries remain marked partial when a limit or source inconsistency interrupts retrieval. Compare employer-name searches while preserving legal names, trade names and addresses; similar names do not prove affiliation, and overlapping searches cannot be added together.
Choose a concise report or add an evidence appendix before printing or saving a self-contained HTML copy. Both keep source links, search inputs, retrieval dates and coverage notes. Download JSON for the complete retrieved records. If one comparison lookup fails, completed results stay available; retry only the unfinished lookups.
Save a named query, comparison or completed investigation as a research session. Open it without making new requests, then choose Refresh from source when you want a new check. Export sessions, building snapshots and court notes, then restore that saved-research file in another browser. Review the counts before merging: existing entries stay intact and duplicates are skipped. Research remains in the browser until you remove it or clear browser data. API keys stay with the local server. A Windows launcher checks local setup, starts the prepared tools and reuses healthy services; it does not install dependencies or publish anything.
NYC Housing
haksanlulz/mcp-nychousingShipped
HPD violations, complaints, and litigation, DOB records, 311 heat complaints, bedbug filings, vacate orders, and marshal evictions, or the whole picture in one call. "Who actually owns this building" is often the hard part of a housing case, so it answers two ways: HPD’s registration filings, and the property record itself, the deeds, the assessment roll, the Speculation Watch List.
Next release: a building timeline. Bring inspections, complaint receipts, housing-case openings, and executed evictions into one dated view, newest first. Pick a starting date and keep the building’s overall totals alongside it. Each event keeps its source record; unavailable sources and limits on the results are made explicit. A case opening is not a court outcome.
CourtWatch
haksanlulz/mcp-courtwatchShipped
U.S. case law and dockets over CourtListener, the Free Law Project’s open database. Legal research is paywalled, and Westlaw and Lexis price for firms, so people without lawyers mostly go without precedent too. This closes some of that gap: search, whether a case is still being cited, what it relies on, the actual filings in a federal docket, oral argument audio, and a citation check that catches made-up cases before they get filed.
Next release: read and search long opinions. Continue through the full available opinion text in manageable sections, or find a phrase and move to its next occurrence. Long decisions no longer stop at the first 50,000 characters. The source opinion remains the reference for citation page numbers.
FairRent
haksanlulz/mcp-fairrentShipped
HUD Fair Market Rents, Section 8 income limits, and the USPS ZIP-to-jurisdiction crosswalk. The crosswalk is where hand math goes wrong: limits are set per jurisdiction, ZIP codes cross jurisdiction lines, and a bad mapping gives a household the wrong number. Also carries the tax credit building limits (a different table), every county in a state at once, and the crosswalk run backwards, every ZIP in a district.
Next release: a household rent budget. Include tenant-paid utilities and see how much of gross household income goes to housing, the rent budget at a 30% income benchmark, and the income left after housing costs. A rent below the area’s Fair Market Rent can still strain a household’s budget; the budget calculation stays separate from program eligibility.
WageWatch
haksanlulz/mcp-wagewatchShipped
The Department of Labor publishes every Wage and Hour enforcement outcome: who was investigated, what was found, what was owed. All public, nearly unusable in its raw form. This turns it into something you can just ask, including the biggest cases in a state or industry and the employers WHD flagged as repeat or willful.
Next release: annual enforcement summaries. Filter by findings dates and industry, then compare back wages, affected-employee counts, and penalties by findings-end year. Missing amounts remain unknown. When the case limit leaves only the largest cases, the yearly breakdown is marked partial. These are findings years, not payment dates, and the employee counts are not a count of unique people.
Why I built them
Tenant defense is where I want to end up. These tools are one way I can contribute now. The records were already public; I wanted to make them easier for the people they describe to find and understand.