Skip to main content
Glama
nyc-rent-check
by Sayemnyc

nyc-rent-check-mcp

An MCP server for NYC apartment hunters. Give it an address and it checks the city's public records: HPD violations, bed bug filings, 311 heat and noise complaints, and DOB complaints. Then it tells you what to worry about.

No API keys. Read-only. Data comes straight from NYC Planning GeoSearch and NYC Open Data.

Install (Claude Code)

claude mcp add nyc-rent-check -- npx -y github:Sayemnyc/nyc-rent-check-mcp

For other MCP clients (Claude Desktop, Cursor, etc.), add this to the client's MCP config:

{ "mcpServers": { "nyc-rent-check": { "command": "npx", "args": ["-y", "github:Sayemnyc/nyc-rent-check-mcp"] } } }

Requires Node 18+.

Related MCP server: mcp-nychousing

Tools

Tool

What it does

lookup_building(address)

Resolves an address to its BBL (tax lot) and BIN (building ID) using NYC Planning GeoSearch.

building_report(address)

Returns everything in one call: HPD violations (open and closed, by class A/B/C, plus rent-impairing and the latest open Class C items), annual bed bug filings, 311 heat/hot water and noise complaints from the last 24 months, and DOB complaints.

red_flags(address)

Gives a plain-English verdict (High concern, Some concerns, or No major red flags) and the top 3 concerns.

If an address can't be resolved, the tool says why. For example: no house number, no NYC match, or the same address exists in more than one borough. In that last case, add the borough or ZIP.

Example conversation

You: I'm looking at an apartment at 2835 Barker Ave in the Bronx. Anything I should know?

Claude: (calls red_flags) High concern. City records show serious, ongoing problems:

  1. 326 heat/hot water complaints to 311 in the last two years, the most recent on Oct 11, 2026.

  2. 121 open Class C violations. Class C means immediately hazardous. The newest is a broken self-closing entrance door, and there are open mouse and roach infestation orders in individual apartments.

  3. 221 open Class B (hazardous) violations.

The landlord's bed bug filings show 1 infested unit in 2023–24 and none in the latest year. Ask how heat is handled in winter, and check the unit for pests during your viewing.

You: Compare that to 350 5th Ave.

Claude: (calls red_flags) That's the Empire State Building, which is commercial, so there's no HPD history at all. The only flags are 96 noise complaints (mostly commercial and street noise) and 1 open DOB complaint.

These numbers are live, so you'll see different counts when you run it.

Data sources

All datasets were checked on data.cityofnewyork.us:

Data

Dataset

Matched by

HPD Housing Maintenance Code Violations

wvxf-dwi5

BIN

Bedbug Reporting (annual landlord filings)

wz6d-d3jb

BIN

311 Service Requests, 2020 to present

erm2-nwe9

BBL

DOB Complaints Received

eabe-havv

BIN

311 only records the tax lot (BBL), so on lots with several buildings the 311 counts cover the whole lot. HPD violation classes: A = non-hazardous, B = hazardous, C = immediately hazardous, I = info/order.

Rate limits

Queries use server-side aggregation ($select/$group), so each report is 5 small requests plus 1 geocode. Responses are cached in memory for 10 minutes, so calling building_report and then red_flags on the same address doesn't re-fetch. The server backs off and retries on HTTP 429 or 5xx. If you're doing heavy use, you can set a free Socrata app token for higher limits:

claude mcp add nyc-rent-check -e SOCRATA_APP_TOKEN=yourtoken -- npx -y github:Sayemnyc/nyc-rent-check-mcp

Development

npm install
npm test        # builds, then runs live tests against two real addresses
npm start       # runs the stdio server

Caveats

Public records lag reality and miss a lot. A clean record isn't a guarantee, and a messy one in a 500-unit building may matter less than it looks. The red_flags weights are a simple heuristic, not legal or professional advice.

License

MIT

Available Tools

3 tools
building_reportNYC building reportA
Read-only

Full public-records report for an NYC residential building: HPD violations (open and closed, by class A/B/C), annual bed bug filings, 311 heat/hot water and noise complaints from the last 24 months, and DOB complaints.

Inputs: address (required).

lookup_buildingLook up NYC buildingB
Read-only

Resolve an NYC address to its official BBL (tax lot) and BIN (building ID) via NYC Planning GeoSearch.

Inputs: address (required).

red_flagsApartment red flagsA
Read-only

Plain-English verdict on an NYC building with the top 3 concerns from city records. Use this for a quick 'should I worry?' answer.

Inputs: address (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct role: lookup_building resolves an address, building_report returns full public records, and red_flags provides a quick top-concerns verdict. The descriptions explicitly frame red_flags as a summary, so overlap with the full report is unlikely to cause misselection.

    Naming Consistency3/5

    All names use snake_case, which is consistent casing, but the grammatical pattern is mixed: lookup_building is verb_noun, while building_report and red_flags are noun phrases. The names remain readable but do not follow one predictable convention.

    Tool Count4/5

    Three tools is on the lean side but well-scoped for a focused NYC building-check service, with each tool serving a clear, non-redundant purpose. It avoids both bloat and excessive fragmentation.

    Completeness4/5

    The set covers the core workflow: resolve an address, pull the full public-records report, and get a plain-English red-flag summary. Minor gaps exist, such as direct rent-stabilization or eviction-record checks, but the main rental-risk questions are addressed.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      MCP server for NYC real estate due diligence. Lets Claude query 22+ NYC public-record databases — DOB/HPD/ECB violations, ACRIS deeds, DOF sales, 311 complaints, FDNY incidents, NYPD complaints, marshal evictions, PLUTO, rent stabilization — in plain English.
      18
      7
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      MCP server for NYC housing data, enabling tenant organizers and legal-aid intakes to pull building violations, complaints, ownership, litigation, and evictions. It wraps six city datasets from NYC Open Data.
      6
      10 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to query NYC public records through a hosted MCP server, supporting civic workflows such as property research, business evaluation, public money tracking, and influence mapping.
      18 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to search NYC apartment rentals on StreetEasy, retrieve listing details, and inspect building public records including violations, heat complaints, bedbugs, and evictions.
      MIT