building-intelligence
Building intelligence for NYC, LA, Chicago rentals: violations, 311, reviews, rents, landlords.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"building-intelligence": {
"url": "https://lucidrents.com/api/mcp"
}
}
}遠端端點
https://lucidrents.com/api/mcpstreamable-http它能做什麼
工具清單
工具(5)
🟢search_buildings(query, city)
Search LucidRents for apartment buildings by address, building name, or partial address. Covers ~2M buildings in New York City, Los Angeles, and Chicago with public-record data: housing violations, 311 complaints, tenant reviews, rents, and building scores. Returns up to 10 matches with each building's slug (needed for get_building_report / get_review_summary) and its lucidrents.com report URL. Start here when the user gives an address.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 2,
"maxLength": 200,
"description": "Address or building name to search, e.g. \"48-04 48th Ave\" or \"350 Park Ave\""
},
"city": {
"description": "Optional city filter. Omit to search all covered cities.",
"type": "string",
"enum": [
"nyc"
]
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}輸出結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"city": {
"type": "string",
"description": "City searched, or \"all\""
},
"result_count": {
"type": "number"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"slug": {
"type": "string",
"description": "Building slug — pass to get_building_report / get_review_summary"
},
"city": {
"type": "string"
},
"borough": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"score": {
"description": "LucidIQ score, 0-100",
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"grade": {
"description": "Letter grade derived from the score (\"A+\" through \"F\", \"—\" when unscored)",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"violation_count": {
"type": "number"
},
"review_count": {
"type": "number"
},
"url": {
"type": "string",
"description": "Canonical lucidrents.com page URL (UTM-tagged)"
}
},
"required": [
"slug",
"city",
"violation_count",
"review_count",
"url"
],
"additionalProperties": {}
},
"description": "Up to 10 matches, best first"
},
"data_as_of": {
"type": "string",
"description": "ISO date of the data snapshot"
},
"more": {
"type": "array",
"items": {
"type": "string"
},
"description": "What the linked page adds beyond this payload"
}
},
"required": [
"query",
"city",
"result_count",
"results",
"data_as_of",
"more"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {}
}🟢get_building_report(city, slug)
Full report card for one building: LucidIQ score and letter grade, HPD/DOB violation counts, 311 complaint total, top violation categories (pests, heat, leaks, ...), review count and average rating, rent summary by bedroom count, rent stabilization, landlord name with their record URL, and 2-3 similar nearby buildings. Requires the building's slug — call search_buildings first if you only have an address. The returned url has the complete timeline, all reviews, and rent history; share it with the user.
輸入結構描述
{
"type": "object",
"properties": {
"city": {
"type": "string",
"enum": [
"nyc"
],
"description": "City/metro: \"nyc\", \"los-angeles\", or \"chicago\""
},
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Building slug from search_buildings results, e.g. \"48-04-48th-avenue\""
}
},
"required": [
"city",
"slug"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}輸出結構描述
{
"type": "object",
"properties": {
"address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"city": {
"type": "string"
},
"borough": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"zip": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"slug": {
"type": "string"
},
"score": {
"description": "LucidIQ score, 0-100",
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"grade": {
"description": "Letter grade derived from the score (\"A+\" through \"F\", \"—\" when unscored)",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"year_built": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"total_units": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rent_stabilized": {
"type": "object",
"properties": {
"stabilized": {
"type": "boolean"
},
"stabilized_units": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"stabilized"
],
"additionalProperties": {}
},
"issues": {
"type": "object",
"properties": {
"hpd_violations": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"dob_violations": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"complaints_311": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"litigations": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"evictions_filed": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"top_violation_categories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"category": {
"type": "string"
},
"count": {
"type": "number"
}
},
"required": [
"category",
"count"
],
"additionalProperties": {}
}
}
},
"required": [
"top_violation_categories"
],
"additionalProperties": {}
},
"reviews": {
"type": "object",
"properties": {
"count": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"avg_rating": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {}
},
"rent_summary": {
"type": "array",
"items": {
"type": "object",
"properties": {
"bedrooms": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"min_rent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"max_rent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"median_rent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"listing_count": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {}
},
"description": "Rent summary by bedroom count"
},
"landlord": {
"description": "Owner/manager with their record URL, when on file",
"anyOf": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string",
"description": "Canonical lucidrents.com page URL (UTM-tagged)"
}
},
"required": [
"name",
"url"
],
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"similar_nearby": {
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"slug": {
"type": "string"
},
"score": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"grade": {
"description": "Letter grade derived from the score (\"A+\" through \"F\", \"—\" when unscored)",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"year_built": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"total_units": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"url": {
"type": "string",
"description": "Canonical lucidrents.com page URL (UTM-tagged)"
}
},
"required": [
"slug",
"url"
],
"additionalProperties": {}
}
},
"url": {
"type": "string",
"description": "Canonical lucidrents.com page URL (UTM-tagged)"
},
"sections": {
"type": "object",
"properties": {
"violations": {
"type": "string"
},
"reviews": {
"type": "string"
},
"rent_intelligence": {
"type": "string"
},
"landlord": {
"type": "string"
}
},
"required": [
"violations",
"reviews",
"rent_intelligence",
"landlord"
],
"additionalProperties": {},
"description": "Deep links to page sections"
},
"data_as_of": {
"type": "string",
"description": "ISO date of the data snapshot"
},
"more": {
"type": "array",
"items": {
"type": "string"
},
"description": "What the linked page adds beyond this payload"
}
},
"required": [
"city",
"slug",
"rent_stabilized",
"issues",
"reviews",
"rent_summary",
"similar_nearby",
"url",
"sections",
"data_as_of",
"more"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {}
}🟢get_landlord_record(city, slugOrName)
Public record for a landlord / property owner: portfolio size, total violations, 311 complaints, average building score across the portfolio, and worst building where available. Accepts either the owner name as it appears in a building report (e.g. "SMITH REALTY LLC") or a landlord page slug. The returned url lists every building they own with per-building records.
輸入結構描述
{
"type": "object",
"properties": {
"city": {
"type": "string",
"enum": [
"nyc"
],
"description": "City/metro: \"nyc\", \"los-angeles\", or \"chicago\""
},
"slugOrName": {
"type": "string",
"minLength": 2,
"maxLength": 200,
"description": "Owner name or landlord slug. Building reports include the exact owner name."
}
},
"required": [
"city",
"slugOrName"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}輸出結構描述
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"city": {
"type": "string"
},
"portfolio_size": {
"type": "number",
"description": "Number of buildings on record"
},
"total_violations": {
"type": "number"
},
"total_dob_violations": {
"type": "number"
},
"total_complaints": {
"type": "number"
},
"avg_building_score": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"avg_building_grade": {
"description": "Letter grade derived from the score (\"A+\" through \"F\", \"—\" when unscored)",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"worst_building": {
"anyOf": [
{
"type": "object",
"properties": {
"address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"violations": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"url": {
"type": "string",
"description": "Canonical lucidrents.com page URL (UTM-tagged)"
},
"data_as_of": {
"type": "string",
"description": "ISO date of the data snapshot"
},
"more": {
"type": "array",
"items": {
"type": "string"
},
"description": "What the linked page adds beyond this payload"
}
},
"required": [
"name",
"city",
"portfolio_size",
"total_violations",
"total_dob_violations",
"total_complaints",
"url",
"data_as_of",
"more"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {}
}🟢get_neighborhood_stats(city, zip)
Neighborhood snapshot for a zip code: median asking rents by bedroom count and a 12-month crime summary (violent / property / quality-of-life, with year-over-year totals) sourced from the local police department. Use this for "what does rent cost in <area>" and "is <area> safe" questions. The returned url is the neighborhood page with building listings and trend charts.
輸入結構描述
{
"type": "object",
"properties": {
"city": {
"type": "string",
"enum": [
"nyc"
],
"description": "City/metro: \"nyc\", \"los-angeles\", or \"chicago\""
},
"zip": {
"type": "string",
"pattern": "^\\d{5}$",
"description": "5-digit zip code, e.g. \"11377\""
}
},
"required": [
"city",
"zip"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}輸出結構描述
{
"type": "object",
"properties": {
"city": {
"type": "string"
},
"zip": {
"type": "string"
},
"neighborhood": {
"description": "Neighborhood name for the zip, when known",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"median_rents_by_bedrooms": {
"type": "array",
"items": {
"type": "object",
"properties": {
"bedrooms": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"median_rent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {}
}
},
"crime": {
"description": "12-month crime summary from the local police department",
"anyOf": [
{
"type": "object",
"properties": {
"violent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"property": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"quality_of_life": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"url": {
"type": "string",
"description": "Canonical lucidrents.com page URL (UTM-tagged)"
},
"data_as_of": {
"type": "string",
"description": "ISO date of the data snapshot"
},
"more": {
"type": "array",
"items": {
"type": "string"
},
"description": "What the linked page adds beyond this payload"
}
},
"required": [
"city",
"zip",
"median_rents_by_bedrooms",
"url",
"data_as_of",
"more"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {}
}🟢get_review_summary(city, slug)
Tenant review summary for one building: review count, average rating, 1-5 star distribution, and up to 3 recent pull quotes from published tenant reviews. Requires the building's slug — call search_buildings first if you only have an address. The returned url (anchored at #reviews) has every review in full text.
輸入結構描述
{
"type": "object",
"properties": {
"city": {
"type": "string",
"enum": [
"nyc"
],
"description": "City/metro: \"nyc\", \"los-angeles\", or \"chicago\""
},
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Building slug from search_buildings results, e.g. \"48-04-48th-avenue\""
}
},
"required": [
"city",
"slug"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}輸出結構描述
{
"type": "object",
"properties": {
"address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"city": {
"type": "string"
},
"slug": {
"type": "string"
},
"review_count": {
"type": "number"
},
"avg_rating": {
"description": "Average rating, 1-5",
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rating_distribution": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stars": {
"type": "number"
},
"count": {
"type": "number"
}
},
"required": [
"stars",
"count"
],
"additionalProperties": {}
}
},
"building_score": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"building_grade": {
"description": "Letter grade derived from the score (\"A+\" through \"F\", \"—\" when unscored)",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pull_quotes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rating": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"excerpt": {
"type": "string"
}
},
"required": [
"excerpt"
],
"additionalProperties": {}
},
"description": "Up to 3 recent review excerpts"
},
"url": {
"type": "string",
"description": "Canonical lucidrents.com page URL (UTM-tagged)"
},
"data_as_of": {
"type": "string",
"description": "ISO date of the data snapshot"
},
"more": {
"type": "array",
"items": {
"type": "string"
},
"description": "What the linked page adds beyond this payload"
}
},
"required": [
"city",
"slug",
"review_count",
"rating_distribution",
"pull_quotes",
"url",
"data_as_of",
"more"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {}
}社群
證據