Nyc Property Intel

io.github.ccedacero由 GitHub 帳號 ccedacero 發布v0.1.1更新於 Nov 2, 2026

MCP server giving Claude AI access to 22+ NYC public-record databases for real estate due diligence

已驗證Streamable HTTP可網頁執行位置與生活資料與分析

概覽

AI 產生的概覽

遠端 MCP 伺服器,讓助理查詢 20 多個紐約市公開紀錄資料集,用於不動產盡職調查。

可以做什麼
  • 把地址或 BBL 解析成含所有權人、分區、容積率與評定價值的物件檔案
  • 查詢建築的違規、陳情、訴訟、留置權、稅務資訊與租金管制戶數
  • 檢視成交與產權移轉歷史、可比成交與社區統計
  • 核查火災事故、311 請求、驅逐紀錄與周邊 NYPD 犯罪資料
  • 產出彙整上述內容的完整盡職調查摘要
適用情境
適合在出價前調查紐約市物件、篩檢建築的公開紀錄風險,或比較成交與社區狀況。它只呈現公開紀錄,不估算不動產價值。
執行需求
遠端 HTTP 端點,需 OAuth 登入;在 Claude Code 或桌面版使用需向服務商網站取得試用權杖(每日 10 次查詢,為期 30 天)。自行架設則需 Python 3.12+、uv、PostgreSQL 16+ 與 nycdb CLI,並設定 DATABASE_URL 及選用的 GeoClient、Socrata 金鑰。
安裝前請注意
存取以權杖為基礎並計量,適用用量上限與可能的付費方案。託管服務會記錄使用情形並送出分析事件。自行架設需把大型城市資料集匯入自己的 PostgreSQL。資料僅為公開紀錄,不應視為估價或租客篩選依據。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Nyc Property Intel,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.ccedacero%2Fnyc-property-intel/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "nyc-property-intel": {
      "type": "http",
      "url": "https://nyc-property-intel-production.up.railway.app/mcp"
    }
  }
}

README

NYC Property Intel

MCP server that gives Claude AI access to 20+ NYC public record datasets for real estate due diligence. Ask Claude about any NYC property in plain English — violations, liens, sales history, ownership, permits, rent stabilization, zoning, fire history, crime data, and more.

This is a due diligence tool, not an appraisal tool. It surfaces public record data only; it does not estimate property values.

Quickstart — Web Chat (no setup)

The fastest way to try it: open nycpropertyintel.com/chat and ask about any NYC property in plain English. 3 free queries, no signup — no install, no token, and no Claude client needed.

"What violations does 123 Atlantic Ave, Brooklyn have?"

Free guides & lookups

Quickstart — Claude Code / Desktop (hosted MCP)

Sign up at nycpropertyintel.com to get a free trial token (10 queries/day for 30 days, including up to 5 full due-diligence reports). Then:

Claude Code — run once in your terminal:

bash
claude mcp add --transport http nyc-property-intel \  "https://nyc-property-intel-production.up.railway.app/mcp" \  --header "Authorization: Bearer YOUR_TOKEN" \  --scope user

Claude Desktop — add to claude_desktop_config.json (Settings → Developer → Edit Config):

json
{  "mcpServers": {    "nyc-property-intel": {      "type": "http",      "url": "https://nyc-property-intel-production.up.railway.app/mcp",      "headers": {        "Authorization": "Bearer YOUR_TOKEN"      }    }  }}

Then ask Claude:

"Look up 350 5th Ave, Manhattan""What violations does 123 Atlantic Ave, Brooklyn have?""Full due diligence on 123 Atlantic Ave, Brooklyn"

Self-Hosting

Prerequisites

  • Python 3.12+
  • uv package manager
  • PostgreSQL 16+
  • nycdb CLI (pip install nycdb)

1. Clone and install

bash
git clone https://github.com/ccedacero/nyc-property-intel.gitcd nyc-property-inteluv sync

2. Configure environment

bash
cp .env.example .env# Edit .env:#   DATABASE_URL=postgresql://nycdb:nycdb@localhost:5432/nycdb#   NYC_GEOCLIENT_SUBSCRIPTION_KEY=your_key  (optional, improves address resolution)#   SOCRATA_APP_TOKEN=your_token             (optional, higher rate limits for 311/FDNY/NYPD)

3. Set up the database

Option A: Restore from dump (~10 min)

bash
createuser -s nycdb 2>/dev/null; createdb -O nycdb nycdb 2>/dev/nullpg_restore -U nycdb -d nycdb --no-owner --jobs=4 data/nycdb.dump

Option B: Load from source (~2.5 hours)

bash
createuser -s nycdb 2>/dev/null; createdb -O nycdb nycdb 2>/dev/nullchmod +x scripts/seed_nycdb.sh./scripts/seed_nycdb.sh              # all phases# or incrementally:./scripts/seed_nycdb.sh --phase A    # core data (~30 min)./scripts/seed_nycdb.sh --phase B    # sales + DOB (~45 min)./scripts/seed_nycdb.sh --phase C    # ACRIS + permits (~90 min)

Then create indexes and materialized views:

bash
psql -U nycdb -d nycdb -f scripts/create_indexes.sqlpsql -U nycdb -d nycdb -f scripts/create_views.sql

4. Add to Claude Desktop

json
{  "mcpServers": {    "nyc-property-intel": {      "command": "uv",      "args": ["run", "nyc-property-intel"],      "cwd": "/absolute/path/to/nyc-property-intel",      "env": {        "DATABASE_URL": "postgresql://nycdb:nycdb@localhost:5432/nycdb"      }    }  }}

5. Add to Claude Code

The .mcp.json in the project root auto-registers when you open this directory. Or add manually to ~/.claude.json:

json
{  "mcpServers": {    "nyc-property-intel": {      "command": "uv",      "args": ["run", "nyc-property-intel"],      "cwd": "/absolute/path/to/nyc-property-intel"    }  }}

18 Tools

ToolDescription
lookup_propertyResolve any NYC address or BBL to a full property profile: owner, building class, zoning, FAR, assessed value, lot dimensions. Always call this first.
get_property_issuesHPD housing violations (Class A/B/C), DOB building code violations, and ECB/OATH monetary penalties. Filter by severity, status, and date.
get_property_historyDOF sales records and ACRIS deed transfers. Price trajectory, buyer/seller names, document types going back to 2003.
get_hpd_complaintsTenant-reported HPD complaints — leading indicators of building distress before formal violations are issued.
get_hpd_litigationsHPD housing court cases, open judgements, and harassment findings against building owners.
get_hpd_registrationLegal owner, managing agent, and head officer registration records.
get_building_permitsDOB job filings: new buildings, alterations, demolitions, sign permits. Status, cost estimate, applicant name.
get_liens_and_encumbrancesDOF tax lien sale list entries and ACRIS mortgage records. Outstanding liens, lender names, amounts, satisfactions.
get_tax_infoTax assessments, market value estimates, taxable value, and active exemptions (421a, J-51, STAR).
get_rent_stabilizationRent-stabilized unit counts by year (2007–2017). Trend analysis for deregulation signal.
search_compsComparable sales by zip code. Filter by building class, price, date. Includes quarterly market stats.
search_neighborhood_statsArea-level aggregates: property stock, median sale prices, violation rates, rent stabilization share.
get_fdny_fire_incidentsFDNY fire and emergency incident history. Fire type, alarm level, spread, casualties, duration. 2013–present, loaded from NYC Open Data.
get_311_complaints311 service requests at or near a property. Noise, rodents, heat, illegal dumping, and 200+ types. 2010–present, loaded from NYC Open Data.
get_evictionsMarshal-executed evictions by address. Residential and commercial. 2017–present, loaded from NYC Open Data.
get_dob_complaintsDOB complaints filed before formal violations — the earliest public signal of construction or safety issues.
get_nypd_crimeNYPD crime complaints within a configurable radius (default 300 m ≈ 3 blocks). Felony/misdemeanor breakdown, top offenses, year-over-year trend.
analyze_propertyFull due diligence summary — runs all sub-queries concurrently. Property profile, FAR analysis, financials, risk factors, rent stabilization, comparable sales, and key observations.

Data Sources

Core data (~19 million rows) is loaded from nycdb. All datasets are loaded into PostgreSQL. Socrata API used as fallback only.

DatasetAgencyNotes
PLUTODCPProperty profiles, zoning, FAR, building class
PADDCPAddress-to-BBL resolution
HPD ViolationsHPDHousing code violations by class and status
HPD ComplaintsHPDTenant complaint records
HPD RegistrationsHPDOwner/agent/officer registration
HPD LitigationsHPDHousing court cases
DOB ViolationsDOBBuilding code violations
ECB ViolationsOATH/ECBEnvironmental Control Board penalties
DOF Rolling SalesDOFRecent property sales
DOF Annual SalesDOFHistorical sales 2003–present
DOF AssessmentsDOFTax valuations and assessment rolls
DOF ExemptionsDOFTax exemption records (421a, J-51, STAR)
DOF Tax LiensDOFAnnual lien sale list
Rent StabilizationDOFStabilized unit counts by building, 2007–2017 (derived from DOF tax bills via taxbills.nyc / JustFix)
ACRISDOFDeeds, mortgages, liens, satisfactions, UCC filings
FDNY Fire IncidentsFDNY2013–present
311 Service Requests311/DOITT2010–present
Marshal EvictionsDOI2017–present
DOB ComplaintsDOBLoaded from NYC Open Data
NYPD Crime DataNYPD2006–present, geospatial radius

Architecture

src/nyc_property_intel/  app.py              # FastMCP instance + system prompt  server.py           # Entry point: lifespan, auth middleware, tool registration  config.py           # pydantic-settings (reads .env / environment variables)  db.py               # asyncpg connection pool + query helpers  auth.py             # Token validation, rate limiting, usage logging  analytics.py        # PostHog event capture (fire-and-forget)  geoclient.py        # NYC GeoClient API + PAD fallback for address resolution  socrata.py          # Socrata Open Data API client — fallback for FDNY, 311, NYPD, evictions  loops_webhook.py    # Loops.so webhook → auto-provision trial tokens on signup  tools/    lookup.py         # lookup_property    issues.py         # get_property_issues    history.py        # get_property_history    hpd_complaints.py # get_hpd_complaints    hpd_litigations.py# get_hpd_litigations    hpd_registration.py# get_hpd_registration    permits.py        # get_building_permits    liens.py          # get_liens_and_encumbrances    tax.py            # get_tax_info    rentstab.py       # get_rent_stabilization    comps.py          # search_comps    neighborhood.py   # search_neighborhood_stats    fdny.py           # get_fdny_fire_incidents    complaints_311.py # get_311_complaints    evictions.py      # get_evictions    dob_complaints.py # get_dob_complaints    nypd_crime.py     # get_nypd_crime    analysis.py       # analyze_propertyscripts/  seed_nycdb.sh         # Downloads and loads all nycdb datasets  create_indexes.sql    # Performance indexes on critical columns  create_views.sql      # Materialized views for fast property lookup  manage_tokens.py      # CLI for provisioning and managing customer tokens

Development

bash
uv run pytest tests/test_utils.py -q          # unit tests (no DB needed)uv run pytest tests/ -m integration -q        # integration tests (needs live DB)uv run ruff check src/                         # lintuv run nyc-property-intel                      # run server locally (stdio)

Fair Housing

NYC Property Intel provides building and property data from public city records only. It does not provide demographic data, tenant screening, or any analysis based on protected characteristics. See nycpropertyintel.com/#fair-housing for the full policy.

License

MIT

來源:README.md,提交 2ece533

工具

0
該伺服器需要 API 金鑰等憑證,因此 SourceWeft 無法在沒有憑證的情況下讀取其工具,也未收錄。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分