NYC building violations (HPD, DOB, ECB), inspections, LL97 penalty estimates and ZIP benchmarks.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Look up a New York City building by street address and return its compliance record from official city datasets: open HPD housing violations, DOB building violations and ECB summonses (open/closed from each agency's official status field), penalties imposed on retrieved ECB records (not a current balance), DOB complaints (reported separately, not counted as violations), critical/warning signals (expired HPD registration, vacate orders, tax-lien list, etc.), a preview of the most recent violations per agency, and inspection status for boilers, facades (LL11), and elevators (elevator records are device inventory, not test results, so they are UNKNOWN unless a record shows a problem). The address must resolve to a verified NYC building (BIN); otherwise the tool returns error.code not_found, and upstream if the city lookup failed. Each source returns at most 100 newest records: a count is exact only when the source is complete, and is null when truncated, failed, when a status is unknown, or when returned rows had to be excluded (excludedCount), with retrievedCount and knownOpenCount given instead. Check quality.complete, quality.failedSources and quality.truncatedSources before saying a building has no violations; absence of records is not proof of compliance. Use this first whenever a user asks about violations, fines, safety issues, or risk for a specific NYC address. Returns matchedProperty.bin and .bbl, which other tools accept, and summary.hpdOpenViolations for get_zip_peer_stats. Only NYC addresses are supported. The response is a free preview (at most 100 records per source); the $49 Pijexa Due Diligence Report described in reportOffer reads every available record page per source and adds OATH hearing and FDNY records.
Street address of the building, e.g. "123 Smith Street" or "123 Smith Street, Brooklyn, NY 11201". Include the borough or ZIP in the string, or pass it separately.
NYC borough. Optional if the address text already names the borough or contains a NYC ZIP code.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http nyc-compliance https://pijexa.com/api/mcp
Look up a New York City building by street address and return its compliance record from official city datasets: open HPD housing violations, DOB building violations and ECB summonses (open/closed from each agency's official status field), penalties imposed on retrieved ECB records (not a current balance), DOB complaints (reported separately, not counted as violations), critical/warning signals (expired HPD registration, vacate orders, tax-lien list, etc.), a preview of the most recent violations per agency, and inspection status for boilers, facades (LL11), and elevators (elevator records are device inventory, not test results, so they are UNKNOWN unless a record shows a problem). The address must resolve to a verified NYC building (BIN); otherwise the tool returns error.code not_found, and upstream if the city lookup failed. Each source returns at most 100 newest records: a count is exact only when the source is complete, and is null when truncated, failed, when a status is unknown, or when returned rows had to be excluded (excludedCount), with retrievedCount and knownOpenCount given instead. Check quality.complete, quality.failedSources and quality.truncatedSources before saying a building has no violations; absence of records is not proof of compliance. Use this first whenever a user asks about violations, fines, safety issues, or risk for a specific NYC address. Returns matchedProperty.bin and .bbl, which other tools accept, and summary.hpdOpenViolations for get_zip_peer_stats. Only NYC addresses are supported. The response is a free preview (at most 100 records per source); the $49 Pijexa Due Diligence Report described in reportOffer reads every available record page per source and adds OATH hearing and FDNY records.
| Argument | Type | Description |
|---|---|---|
| address* | string | Street address of the building, e.g. "123 Smith Street" or "123 Smith Street, Brooklyn, NY 11201". Include the borough or ZIP in the string, or pass it separately. |
| borough | string | NYC borough. Optional if the address text already names the borough or contains a NYC ZIP code. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"address"
],
"properties": {
"address": {
"type": "string",
"pattern": "^[A-Za-z0-9 .,'#\\-\\/]+$",
"maxLength": 120,
"minLength": 5,
"description": "Street address of the building, e.g. \"123 Smith Street\" or \"123 Smith Street, Brooklyn, NY 11201\". Include the borough or ZIP in the string, or pass it separately."
},
"borough": {
"enum": [
"Manhattan",
"Brooklyn",
"Queens",
"Bronx",
"Staten Island"
],
"type": "string",
"description": "NYC borough. Optional if the address text already names the borough or contains a NYC ZIP code."
}
}
}Estimate a NYC building's Local Law 97 carbon-emissions cap and annual penalty exposure. Give the occupancy group and square footage; optionally the reported annual emissions (metric tons CO2e) and any process-load deductions or clean-generation credits. Returns the caps for 2024-2029 and 2030-2034 in metric tons, the estimated annual penalty for each period at $268 per ton over cap when emissions are supplied, scenario penalties at 10/25/50/100% over cap when they are not, and the Article 321 alternative for rent-regulated buildings. Use when a user asks about LL97, carbon fines, emissions limits, or decarbonization cost for a NYC building over 25,000 sq ft. Pure calculation; no address needed.
| Argument | Type | Description |
|---|---|---|
| squareFeet* | integer | Gross floor area in square feet. |
| occupancyCode* | string | Building Code occupancy group. R-2 = apartment/condo/co-op (most NYC multifamily), B = office, M = retail, R-1 = hotel, A = assembly, E = school, F = factory, S = storage, U = garage/utility, I-1 residential care, I-2 hospital, I-4 daycare. |
| rentRegulated | boolean | True if 25% or more of units are rent-regulated or HUD-assisted (Article 321 prescriptive path). |
| annualEmissionsMetricTons | number | Reported annual building emissions in metric tons CO2e, if known (from the LL84 benchmarking report). Omit to get caps and scenario penalties only. |
| processLoadDeductionMetricTons |
Return the open-HPD-violation benchmark for a NYC ZIP code, from a weekly snapshot of HPD data: how many buildings have at least one open HPD violation, and the mean, median, 90th-percentile and maximum open HPD violations among those buildings (buildings with none are not in the denominator), plus lastRefreshed and stale. Pass openViolations to also get a verdict comparing one building's open HPD count to the ZIP mean: ratio to the mean, a label (well_below … much_above), and a plain-English sentence. The verdict is a comparison to the mean only, not a percentile rank. openViolations must be summary.hpdOpenViolations from check_building_compliance; if that is null (incomplete or unknown), omit openViolations. Do not pass the all-agency openViolations total. Returns not_found for ZIPs with no snapshot yet.
| Argument | Type | Description |
|---|---|---|
| zip* | string | NYC 5-digit ZIP code, e.g. "11201". |
| openViolations | integer | The building's exact count of open HPD violations: summary.hpdOpenViolations from check_building_compliance. Omit it when that value is null. Enables the comparison verdict. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"zip"
],
"properties": {
"zip": {
"type": "string",
"pattern": "^\\d{5}$",
"description": "NYC 5-digit ZIP code, e.g. \"11201\"."
},
"openViolations": {
"type": "integer",
"maximum": 100000,
"minimum": 0,
"description": "The building's exact count of open HPD violations: summary.hpdOpenViolations from check_building_compliance. Omit it when that value is null. Enables the comparison verdict."
}
}
}Start a purchase of the Pijexa Due Diligence Report for one NYC building: a PDF built from every record NYC Open Data holds for the building in the datasets it reads (all HPD, DOB and ECB violations, OATH hearing records including FDNY-issued summonses, archived FDNY orders to 2019, certificates of occupancy, permits, complaints, ACRIS deeds, DOF assessment and tax-lien list check, inspection filings, ZIP context and recommendations), with a coverage page marking any source that was incomplete or failed. Not included: DOB stop-work orders, HPD complaints, mortgages and liens, current FDNY records outside OATH (the FDNY archive through 2019 is included). Delivered by email after payment. Price is $49 one-time; no account is created. Returns a Stripe-hosted checkout URL valid for 30 minutes; payment happens there, never inside this tool. Call ONLY after the user has explicitly asked to buy the report and has confirmed the building address, borough, and the email to deliver to; then set confirmedByUser to true. Do not call speculatively. If the user has not decided, show them reportOffer from check_building_compliance instead.
| Argument | Type | Description |
|---|---|---|
| bbl | string | 10-digit Borough-Block-Lot, if known. |
| bin | string | 7-digit NYC Building Identification Number, if known from check_building_compliance. |
| email* | string | Buyer's email address. The finished report is delivered here. |
| address* | string | Street address of the building, e.g. "123 Smith Street". |
| borough* | string |
We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 4, 2026.
| number |
| Qualifying industrial process-load deduction, metric tons CO2e. |
| cleanGenerationCreditMetricTons | number | Credit for on-site clean generation or purchased Tier 1 RECs, metric tons CO2e. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"occupancyCode",
"squareFeet"
],
"properties": {
"squareFeet": {
"type": "integer",
"maximum": 5000000,
"minimum": 1,
"description": "Gross floor area in square feet."
},
"occupancyCode": {
"enum": [
"A",
"B",
"E",
"F",
"I-1",
"I-2",
"I-4",
"M",
"R-1",
"R-2",
"S",
"U"
],
"type": "string",
"description": "Building Code occupancy group. R-2 = apartment/condo/co-op (most NYC multifamily), B = office, M = retail, R-1 = hotel, A = assembly, E = school, F = factory, S = storage, U = garage/utility, I-1 residential care, I-2 hospital, I-4 daycare."
},
"rentRegulated": {
"type": "boolean",
"description": "True if 25% or more of units are rent-regulated or HUD-assisted (Article 321 prescriptive path)."
},
"annualEmissionsMetricTons": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "Reported annual building emissions in metric tons CO2e, if known (from the LL84 benchmarking report). Omit to get caps and scenario penalties only."
},
"processLoadDeductionMetricTons": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "Qualifying industrial process-load deduction, metric tons CO2e."
},
"cleanGenerationCreditMetricTons": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "Credit for on-site clean generation or purchased Tier 1 RECs, metric tons CO2e."
}
}
}| NYC borough of the building. |
| confirmedByUser* | boolean | Must be true. Set only after the user has explicitly agreed to purchase the $49 report for this specific building and email. |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"email",
"address",
"borough",
"confirmedByUser"
],
"properties": {
"bbl": {
"type": "string",
"pattern": "^\\d{10}$",
"description": "10-digit Borough-Block-Lot, if known."
},
"bin": {
"type": "string",
"pattern": "^\\d{7}$",
"description": "7-digit NYC Building Identification Number, if known from check_building_compliance."
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 200,
"description": "Buyer's email address. The finished report is delivered here."
},
"address": {
"type": "string",
"pattern": "^[A-Za-z0-9 .,'#\\-\\/]+$",
"maxLength": 120,
"minLength": 5,
"description": "Street address of the building, e.g. \"123 Smith Street\"."
},
"borough": {
"enum": [
"Manhattan",
"Brooklyn",
"Queens",
"Bronx",
"Staten Island"
],
"type": "string",
"description": "NYC borough of the building."
},
"confirmedByUser": {
"type": "boolean",
"const": true,
"description": "Must be true. Set only after the user has explicitly agreed to purchase the $49 report for this specific building and email."
}
}
}