cre-mcp

cre-mcp

MCP server for Moody's Commercial Real Estate API, providing 37 tools for property lookups, market analytics, comps, CMBS data, tax records, and more.

Category
访问服务器

README

Moody's CRE MCP Server

MCP server for the Moody's Commercial Real Estate (CRE) API v3. Provides 37 tools for property lookups, market analytics, comps, CMBS data, tax records, and more.

Setup

1. Configure credentials

Create a .env file in the project root:

CRE_EMAIL=your-email@example.com
CRE_API_KEY=your-api-key-here

2. Install dependencies

pip install -r requirements.txt

3. Run the server

stdio mode (default, for Claude Code / Claude Desktop):

python server.py

HTTP mode (for remote/web access):

MCP_TRANSPORT=http PORT=3000 python server.py

4. Add to Claude Code

Add to your Claude Code MCP settings (claude mcp add):

{
  "mcpServers": {
    "cre": {
      "command": "python",
      "args": ["C:/Users/khano3/cre-mcp/server.py"],
      "env": {
        "CRE_EMAIL": "your-email@example.com",
        "CRE_API_KEY": "your-api-key"
      }
    }
  }
}

Or with Docker:

docker build -t cre-mcp .
docker run -it cre-mcp

Tools Reference

Typical Workflow

  1. Find a property -> search_properties (returns propertyKey)
  2. Get property details -> get_property, get_amenities, get_unitmix
  3. Get comps -> get_sales_comps, get_rent_comps, get_new_construction_comps
  4. Get transaction data -> get_sales_history, get_recent_sale, get_listings, get_leases
  5. Get analytics -> get_performance, get_cls, get_contacts
  6. Get CMBS data -> get_cmbs_valuations, get_cmbs_loans
  7. Get tax data -> get_tax_history, get_deed (requires parcel FIPS + APN)
  8. Market analysis -> get_markets -> get_market_trends, get_market_overview, etc.

Property Tools

Tool Description Key Parameters
search_properties Search by address. Returns propertyKey. street, city, state, zip
get_property Full property attributes by key. property_key
get_property_by_parcel Look up by parcel FIPS + APN. parcel_fips, parcel_apn
bulk_property_lookup Bulk lookup by metro/zip + category. metrocode, category, zip, submarket_id, page_num, page_length
get_amenities Amenity data for a property. property_key
get_unitmix Unit mix (bedrooms, rents, sizes). property_key
entity_resolution Match a property by address or lat/long. street, city, state, zip, lat, long

Comps Tools

Tool Description Key Parameters
get_sales_comps Sales comparables. property_key or lat/long/radius or address fields. Filters: category, building_class, total_price_min/max, size_building_sf_min/max, date_sold_start/end
get_rent_comps Rent comparables. Same location params. Filters: category, building_class, building_status
get_new_construction_comps New construction comparables. Same location params + filters

Sales, Leases & Listings

Tool Description Key Parameters
get_sales_history Full sales history for a property. property_key
get_recent_sale Most recent sale. property_key
get_listings Active listings. property_key
get_leases Lease details for a listed space. listed_space_key (from get_listings)

Performance, Contacts & CLS

Tool Description Key Parameters
get_performance Rent performance history. property_key
get_contacts Owners, managers, etc. property_key
get_cls Commercial Location Score. property_key

CMBS

Tool Description Key Parameters
get_cmbs_valuations CMBS valuations summary. property_key
get_cmbs_loans CMBS loan data. property_key

Tax & Deed

Tool Description Key Parameters
get_tax_history Tax history by parcel. parcel_fips, parcel_apn
get_tax_assessment_history Assessment history. parcel_fips, parcel_apn
get_tax_assessment_details Detailed assessment. parcel_fips, parcel_apn
get_deed Deed/ownership info. parcel_fips, parcel_apn

Market Tools

Tool Description Key Parameters
get_markets List all metro markets. sector_id (optional)
get_market_trends Historical vacancy, rent, absorption. metro_id, sector_id, frequency ("Yearly"/"Quarterly")
get_market_overview Latest market snapshot. metro_id, sector_id, frequency
get_executive_briefing AI-generated market narrative. msa, sector, publication_frequency, subid
get_market_demographics Population, employment, etc. metro_id, frequency
get_transaction_analytics Sales transaction analytics. metro_id, sector_id, building_class
get_market_vintage Vintage performance data. metro_id, sector_id

Submarket Tools

Tool Description Key Parameters
get_submarkets List submarkets in a metro. metro_id, sector_id (optional)
get_submarket_trends Historical submarket trends. metro_id, sector_id, submarket_id, frequency
get_submarket_overview Latest submarket snapshot. metro_id, sector_id, submarket_id, frequency
get_submarket_vintage Vintage data for a submarket. metro_id, sector_id, submarket_id

Reference Data & Geo

Tool Description Key Parameters
get_sectors List all CRE sectors. (none)
get_categories List property categories. (none)
get_subcategories Subcategories for a category. category
point_in_polygon Find market/submarket for a lat/long. lat, long, area_type, sector_id

Example Prompts

Once the MCP server is connected, you can ask Claude things like:

  • "Search for the property at 30 Hudson Yards, New York, NY"
  • "Get the sales history for property key ABC123..."
  • "Find sales comps within 5 miles of downtown Chicago for office buildings sold in the last 2 years"
  • "What are the market trends for the New York office sector quarterly?"
  • "List all submarkets in the Boston metro area for the apartment sector"
  • "Get the Commercial Location Score for this property"
  • "Show me CMBS loan data for this property"
  • "What are the tax assessments for this parcel?"

Auth Note

The server authenticates via Basic Auth (email + API key) to get a JWT bearer token, which is cached and auto-refreshed. If you see 401 errors on data endpoints, your API key may need the CRE product subscription enabled in the Moody's API Hub portal. The auth token endpoint will work, but data endpoints require active CRE entitlements on the API key.

Rate Limits

  • Standard: 20 requests/second
  • Premium: 30 requests/second

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选
mcp-server-qdrant

mcp-server-qdrant

这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。

官方
精选
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选