JL

johnstenner/loopnetmcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

15 stars 6 forks 质量 63 趋势 21MIT

用 Akamai 绕行搜索 Loopnet 商业地产列表的 MCP 服务器

概览

一个MCP(模式背景协议)服务器,提供克劳德代码从美国最大的CRE市场Loopnet实时获取商业地产数据. Loopnet没有公开的API——这个服务器会刮去站点,并通过任何克洛德代码会话都可以通过自然语言调用的三个工具来曝光结构化的数据. 在克劳德密码注册后,你可以问: - "在休斯敦找到出售的办公楼,TX在5M以下" - "获得关于这个Loopernet上市的详情:https://www.loopnet.com/Listing/..." - "给我一份FL迈阿密零售地产的市场概况" 服务器从 Loopnet 获取活数据,解析 HTML,并返回结构化的结果——属性名称,地址,价格,大小,上限率,经纪人信息,图像等. 办公室、零售、工业、多家庭、土地、招待、特殊用途、保健 -?),城市和州:"Houston, TX","纽约"-州名缩写:"TX"-Zip代码:"77001". - Python 3号.

概述(AI 翻译)

一个MCP(模式背景协议)服务器,提供克劳德代码从美国最大的CRE市场Loopnet实时获取商业地产数据. Loopnet没有公开的API——这个服务器会刮去站点,并通过任何克洛德代码会话都可以通过自然语言调用的三个工具来曝光结构化的数据.

∮它会怎样∮

在克劳德密码注册后,你可以问:

  • “在休斯敦寻找办公楼出售,TX在5M以下”
  • “获得这个环球网列表的细节: https://www.loopnet.com/Listing/…”.
  • “给我一份FL迈阿密零售地产的市场概况”

服务器从 Loopnet 获取活数据,解析 HTML,并返回结构化的结果——属性名称,地址,价格,大小,上限率,经纪人信息,图像等.

□ 工具

  • 工具 * * 描述 * 关键参数 * |. ** ** [[T1] ** 按位置和过滤器搜索 CRE 列表 [[T2], [[T3], [[T4], [[T5], size_min/max . QQ ** [[T7] ** 获取具体上市的详情 QQ [ [T8] (Loonet URL或上市ID) QQ

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Loopnet MCP Server

An MCP (Model Context Protocol) server that provides Claude Code with real-time access to commercial real estate data from Loopnet, the largest CRE marketplace in the US. Loopnet has no public API — this server scrapes the site and exposes structured data through three tools that any Claude Code session can call via natural language.

What It Does

Once registered with Claude Code, you can ask things like:

  • “Find office buildings for sale in Houston, TX under $5M”
  • “Get details on this Loopnet listing: https://www.loopnet.com/Listing/…”
  • “Give me a market overview for retail properties in Miami, FL”

The server fetches live data from Loopnet, parses the HTML, and returns structured results — property names, addresses, prices, sizes, cap rates, broker info, images, and more.

Tools

Tool Description Key Parameters
search_properties Search for CRE listings by location and filters location, property_type, listing_type, price_min/max, size_min/max
get_property_details Get full details on a specific listing url_or_id (Loopnet URL or listing ID)
get_market_overview Aggregate market statistics for an area location, property_type

Supported Property Types

office, retail, industrial, multifamily, land, hospitality, special-purpose, health-care

Supported Listing Types

for-sale, for-lease

Location Formats

  • City and state: "Houston, TX", "New York, NY"
  • State abbreviation: "TX"
  • Zip code: "77001"

Setup

Prerequisites

Installation

git clone  && cd LoopnetMCP

# Create virtual environment and install
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"

Register with Claude Code

claude mcp add \
  --scope user \
  --transport stdio \
  loopnet \
  -- python3 /path/to/LoopnetMCP/src/loopnet_mcp/server.py

Use --scope user to make the server available in all Claude Code sessions, or --scope project to restrict it to a single project directory.

After registration, restart Claude Code. Verify with /mcp — the loopnet server should appear as connected with 3 tools.

Configuration

All settings are optional and have sensible defaults. Override via environment variables or a .env file (see .env.example):

Variable Default Description
LOOPNET_REQUEST_DELAY_SECONDS 3.0 Minimum delay between HTTP requests
LOOPNET_MAX_CONCURRENT_REQUESTS 1 Max concurrent HTTP requests
LOOPNET_TIMEOUT_SECONDS 30.0 HTTP request timeout
LOOPNET_MAX_RETRIES 3 Retry count for failed requests
LOOPNET_CACHE_TTL_SECONDS 300 Cache TTL (5 minutes)
LOOPNET_CACHE_MAX_ENTRIES 500 Maximum cached responses
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →