Логотип Real Estate MCP Server

Real Estate MCP Server

Спільнота
agentic-ops

A Model Context Protocol server for real estate workflows — search, valuation, mortgage math, and investment analysis.

Видавецьagentic-ops
Репозиторійreal-estate-mcp
МоваPython
Форки
23
Зірки
66
Доступні інструменти
0
Тип транспортуstdio
Категорії
ЛіцензіяAGPL-3.0
Посилання
  • Підключайте інструменти до робочих процесів із ШІ

    Real Estate MCP Server надає можливості MCP, які можуть використовувати сумісні клієнтські ШІ-застосунки та агенти.

  • Доступні інструменти: 0

    Нижче ви можете переглянути дії, які можна викликати, а також їхні назви й описи, якщо сервер їх надає.

  • Готова конфігурація для копіювання

    Скористайтеся прикладами конфігурації, щоб налаштувати цей сервер у вибраному клієнті MCP.

  • Показники інтересу до проєкту з відкритим кодом

    У пов’язаному репозиторії: зірки — 66, форки — 23.

Real Estate MCP Server — Property Intelligence & Workflow Automation

A Model Context Protocol (MCP) server for structured real estate workflows. This real estate MCP server provides tools, resources, and prompts for property search and insights, agent/client management, market and area intelligence, mortgage/affordability math, comparable-based valuation, investment analysis, and listing-document ingestion — all backed by a deterministic, offline-first engine and optional opt-in live data integrations: free sources (Census, Walk Score, FEMA, FRED, FBI Crime Data, EPA, NOAA) and paid/metered sources (RentCast, Zillow).

This server provides workflow augmentation, not financial, legal, or appraisal advice. Always consult qualified professionals for investment and valuation decisions.

  • Status: V2.0 — fully implemented and tested (50+ tools across 11 categories).
  • Transport: stdio (default), SSE, and streamable-HTTP (via FastMCP).
  • Runtime: Python 3.10+ and the official mcp SDK.

Contents


Data flow & privacy boundaries

Understanding where data goes before connecting this server to an AI assistant or enabling live integrations:

BoundaryWhat crosses itDefault behaviorNote
You → AI assistantPrompts, property queries, tool results pasted into chatAlways active when using an AI clientYour inference provider's ToS governs data retention
AI assistant → MCP serverTool arguments (addresses, criteria, client IDs) and JSON responsesLocal transport (stdio/SSE/HTTP on your machine)Tool calls are audit-logged locally via utils.audit()
MCP server → external APIsSearch queries to Census, Walk Score, FEMA, FRED, FBI Crime Data, EPA, NOAA, RentCast, or ZillowDisabled by defaultEnable only when needed; RentCast and Zillow are metered/paid (see below)

Key takeaway: this MCP server is offline and deterministic by default. The highest privacy risk is the inference provider receiving your full prompt context — including property data returned by these tools.


⚠️ RentCast metered API (read first)

If you connect this MCP server (or an AI assistant using it) to RentCast or Zillow, you are responsible for all charges incurred on your account. RentCast bills per API call, Zillow access requires a paid enterprise data license, and AI agents can issue many requests in a short session.

To protect you from surprise charges, every live integration is disabled by default and must be explicitly enabled with a feature flag and (where required) an API key — see Live integrations. Prefer the free sources (Census, Walk Score, FEMA, FRED, FBI Crime Data, EPA, NOAA) wherever possible; RentCast and Zillow are metered/paid.


Repository structure

Folder / FilePurpose
main.pycreate_server() factory + transport CLI; module-level mcp object
utils.pyRealEstateDataManager, audit(), get_data_manager() singleton
feature_flags.pyCategory-level REALESTATE_MCP_ENABLE_* environment flags
tools/MCP tool implementations (50+ tools across 11 categories)
tools/finance_helpers.pyPure, deterministic finance math — fully unit-tested
resources/MCP resource endpoints (realestate:// URIs)
prompts/13 workflow prompt templates
integrations/Optional live-data adapters (free: Census, Walk Score, FEMA, FRED, FBI Crime, EPA, NOAA; paid: RentCast, Zillow) — disabled by default
data/Offline JSON seed data (properties, agents, clients, markets, areas)
tests/pytest suite — unit + integration, fully network-free
.agents/Vendor-agnostic agent skill (real-estate-mcp-toolkit)
real-estate-mcp/
├── main.py
├── utils.py
├── feature_flags.py
├── tools/
│   ├── property_tools.py       # search, filter, insights
│   ├── agent_tools.py          # profiles, dashboards
│   ├── market_tools.py         # market analytics, sales
│   ├── client_tools.py         # client management + matching
│   ├── area_tools.py           # area intelligence + amenities
│   ├── mortgage_tools.py       # payment, amortization, affordability, refinance
│   ├── valuation_tools.py      # CMA valuation + investment analysis
│   ├── document_tools.py       # listing ingestion + .docx report export
│   ├── analysis_queue_tools.py # SQLite-backed async analysis queue
│   ├── deep_analysis_tools.py  # MCP sampling with heuristic fallback
│   ├── integration_tools.py    # live integration status + lookups
│   ├── system_tools.py         # data refresh, server info, summaries
│   ├── finance_helpers.py      # shared pure finance math
│   └── __init__.py             # register_all_tools() (feature-flagged)
├── resources/
├── prompts/
├── integrations/
├── data/
│   ├── properties/
│   ├── agents/
│   ├── clients/
│   ├── market/
│   ├── transactions/
│   ├── areas/
│   └── amenities/
└── tests/
    ├── conftest.py
    ├── unit/
    └── integration/

🚀 Quick start

bash
# 1. Clone the repository
git clone https://github.com/agentic-ops/real-estate-mcp.git
cd real-estate-mcp

# 2. (Recommended) create a virtual environment
python -m venv .venv
source .venv/bin/activate          # Windows: .venv\Scripts\activate

# 3. Install dependencies
pip install -r requirements.txt

# 4. Run the server (stdio — ideal for Claude Desktop)
python main.py

Run over a different transport:

bash
python main.py --transport sse              # SSE on http://127.0.0.1:8000/sse
python main.py --transport streamable-http  # modern HTTP transport
python main.py --transport sse --port 9000  # custom port

All flags also read from environment variables: MCP_TRANSPORT, HOST, PORT, LOG_LEVEL.

Claude Desktop

Edit your Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
json
{
  "mcpServers": {
    "real-estate": {
      "command": "/absolute/path/to/.venv/bin/python",
      "args": ["/absolute/path/to/real-estate-mcp/main.py"],
      "env": { "PYTHONUNBUFFERED": "1" }
    }
  }
}

Or install via the MCP CLI: mcp install main.py --name "Real Estate".

MCP Inspector

bash
# Load the module-level server object directly
mcp dev main.py:mcp

# Or point the Inspector at a running SSE server
DANGEROUSLY_OMIT_AUTH=true MCP_AUTO_OPEN_ENABLED=false npx -y @modelcontextprotocol/inspector
# In the Inspector: Transport = SSE, URL = http://127.0.0.1:8000/sse

Example prompts to try with Claude

"What properties are available in Downtown Riverside?" "Show me homes between $500k and $1M with 3+ bedrooms." "Calculate mortgage payments on a $750k home with 20% down at 6.5%." "Give me a CMA valuation for property PROP001." "What's the investment return on a rental at $850k with $3,200/month rent?" "Show me Sarah Chen's agent performance dashboard."


🧰 Capabilities

🏠 Tools (50+)

CategoryEnv flagTools
PropertyREALESTATE_MCP_ENABLE_PROPERTYsearch_properties, filter_properties, get_property_details, get_property_insights, get_properties_by_area, get_properties_by_agent
AgentREALESTATE_MCP_ENABLE_AGENTget_agent_profile, get_all_agents, get_agent_dashboard, get_agent_clients, get_agent_properties, get_agent_sales
MarketREALESTATE_MCP_ENABLE_MARKETget_market_overview, get_area_market, get_recent_sales, get_investment_opportunities, compare_areas, get_price_trends, get_market_summary
ClientREALESTATE_MCP_ENABLE_CLIENTget_client_profile, get_all_clients, match_client_preferences
AreaREALESTATE_MCP_ENABLE_AREAget_comprehensive_area_report, get_area_demographics, get_schools_data, get_parks_data, get_shopping_data, get_healthcare_data, get_city_overview, get_area_comparison, get_amenities_summary
MortgageREALESTATE_MCP_ENABLE_MORTGAGEcalculate_mortgage_payment, generate_amortization_schedule, estimate_affordability_tool, compare_loan_scenarios, compare_refinance
ValuationREALESTATE_MCP_ENABLE_VALUATIONestimate_property_value, analyze_investment, deep_analyze_property
DocumentREALESTATE_MCP_ENABLE_DOCUMENTingest_listing_document, export_property_report
Analysis QueueREALESTATE_MCP_ENABLE_ANALYSIS_QUEUEqueue_property_analysis, get_analysis_status, get_analysis_result, list_analysis_jobs
IntegrationsREALESTATE_MCP_ENABLE_INTEGRATIONSintegration_status, lookup_live_property, lookup_live_zestimate, get_live_demographics, get_live_walk_score, get_live_flood_zone, get_live_mortgage_rate, get_live_crime_summary, get_live_environmental_hazards, get_live_weather_forecast
SystemREALESTATE_MCP_ENABLE_SYSTEMget_server_info, refresh_data, get_data_summary

Highlights:

  • Deterministic finance engine (tools/finance_helpers.py): mortgage payments, amortization schedules, affordability, and investment metrics — pure functions, fully unit-tested.
  • Comparable-based CMA valuation using local sales data.
  • Listing-document ingestion of .txt/.docx files with .docx report export.
  • Async analysis queue backed by SQLite for batch listing analysis.
  • MCP sampling support: deep_analyze_property asks the connected client's LLM for deeper reasoning, with a deterministic heuristic fallback when sampling is unavailable.

📡 Resources

Static (always available):

  • realestate://server-config — enabled categories and feature-flag env var names
  • realestate://all-properties — complete property listings
  • realestate://all-agents — agent directory
  • realestate://market-overview — current market trends
  • realestate://all-areas — area information
  • realestate://amenities — complete amenities database
  • realestate://integrations/status — live-integration status (flags/config)

Dynamic resource templates:

  • realestate://properties/area/{area}
  • realestate://agent/{agent_id}/dashboard
  • realestate://market/area/{area}
  • realestate://property/{property_id}/insights
  • realestate://client/{client_id}/matches

💬 Prompts (13)

property_analysis, property_comparison, client_matching, client_consultation, client_feedback_analysis, market_report, investment_analysis, comparative_market_analysis, agent_performance, agent_marketing_strategy, agent_training_development, mortgage_planning_prompt, valuation_prompt.

See WORKFLOW_EXAMPLES.md for end-to-end workflow walkthroughs.


Feature flags (tool categories)

Every tool category is enabled by default. Set a REALESTATE_MCP_ENABLE_* environment variable to false (or 0/no/off) before starting the server to disable an entire category — its tools and matching resources will not be registered.

Check the current state at any time via realestate://server-config or the get_server_info tool.

CategoryEnvironment variableWhat it controls
PropertyREALESTATE_MCP_ENABLE_PROPERTYProperty search, filter, and insights tools + resources
AgentREALESTATE_MCP_ENABLE_AGENTAgent profile, dashboard, and performance tools
MarketREALESTATE_MCP_ENABLE_MARKETMarket overview, trends, and comparative analysis tools
ClientREALESTATE_MCP_ENABLE_CLIENTClient profiles and property-matching tools
AreaREALESTATE_MCP_ENABLE_AREAArea intelligence, demographics, amenities, and school data
MortgageREALESTATE_MCP_ENABLE_MORTGAGEPayment calculation, amortization, affordability, refinance
ValuationREALESTATE_MCP_ENABLE_VALUATIONCMA valuation, investment analysis, deep property analysis
DocumentREALESTATE_MCP_ENABLE_DOCUMENTListing ingestion and .docx report export
Analysis QueueREALESTATE_MCP_ENABLE_ANALYSIS_QUEUESQLite-backed async batch analysis queue
IntegrationsREALESTATE_MCP_ENABLE_INTEGRATIONSLive integration status and lookup tools
SystemREALESTATE_MCP_ENABLE_SYSTEMServer info, data refresh, and summary tools

Example — disable the analysis queue only:

bash
export REALESTATE_MCP_ENABLE_ANALYSIS_QUEUE=false
python main.py

See .env.example for a copy-paste template including live integration credentials.

Note on deep_analyze_property: this tool uses MCP sampling/createMessage to ask the connected client's LLM for deeper reasoning. When the client does not advertise sampling support (common in Cursor and Claude Desktop today), the tool returns the same heuristic analysis plus an explanatory note — not an error.


🔌 Live integrations

Live data sources are optional and disabled by default. Each is controlled by a feature flag plus (where required) credentials, all supplied via environment variables. Check the current state at any time:

bash
# via the tool
integration_status

# or the resource
realestate://integrations/status

integration_status and the resource return only booleans and non-sensitive metadata — credentials are never echoed back.

SourceCostEnable flagCredentialsTool(s)
Census BureauFree (key required)CENSUS_ENABLEDCENSUS_API_KEY (required)get_live_demographics
Walk ScoreFree up to 5,000 calls/dayWALKSCORE_ENABLEDWALKSCORE_API_KEY (required)get_live_walk_score
FEMA NFHLFree (keyless)FEMA_ENABLEDnoneget_live_flood_zone
FREDFreeFRED_ENABLEDFRED_API_KEY (required)get_live_mortgage_rate
FBI Crime DataFreeFBI_CRIME_ENABLEDFBI_CRIME_API_KEY (required)get_live_crime_summary
EPA EnvirofactsFree (keyless)EPA_ENABLEDnoneget_live_environmental_hazards
NOAA/NWSFree (keyless)NOAA_ENABLEDnoneget_live_weather_forecast
RentCastMetered; may incur costRENTCAST_ENABLEDRENTCAST_API_KEY (required)lookup_live_property
Zillow (Bridge Interactive)Paid/enterprise; requires an approved data licenseZILLOW_ENABLEDZILLOW_API_KEY (required)lookup_live_zestimate

Free sources

Census, Walk Score, FEMA, FRED, FBI Crime Data, EPA, and NOAA are all free. Most (Census, Walk Score, FRED, FBI Crime Data) require a free API key to authenticate or raise rate limits -- Census in particular now rejects every keyless request (verified live; this changed from its historical "optional key" policy). FEMA, EPA, and NOAA are fully keyless.

bash
export CENSUS_ENABLED=true
export CENSUS_API_KEY="your-key-here"   # required -- Census now rejects keyless requests

export WALKSCORE_ENABLED=true
export WALKSCORE_API_KEY="your-key-here"

export FEMA_ENABLED=true          # no key needed

export FRED_ENABLED=true
export FRED_API_KEY="your-key-here"

export FBI_CRIME_ENABLED=true
export FBI_CRIME_API_KEY="your-key-here"

export EPA_ENABLED=true           # no key needed
export NOAA_ENABLED=true          # no key needed

python main.py

Paid / metered sources

RentCast provides rental market data and AVM estimates; requests draw against a monthly quota and may incur costs. Zillow retired its public API in 2021 — live access now requires an approved, paid Zillow Group data license (e.g. Bridge Interactive, typically $500+/month) or an equivalent licensed provider; there is no public self-serve Zillow API.

bash
export RENTCAST_ENABLED=true
export RENTCAST_API_KEY="your-key-here"

export ZILLOW_ENABLED=true
export ZILLOW_API_KEY="your-provider-issued-token"
# export ZILLOW_BASE_URL=...      # point at your approved provider's endpoint

python main.py

When disabled or unconfigured, integration tools and resources return a clear status payload and make no network calls.


🐳 Docker

bash
docker compose up --build          # SSE on http://localhost:8000/sse

The container defaults to SSE transport and binds 0.0.0.0. Live integrations remain off unless you pass the corresponding environment variables via docker compose or a .env file.


🧪 Testing, linting & types

bash
# Full suite (unit + integration)
pytest

# Fast unit tests only
pytest tests/unit/

# MCP tool/resource integration tests
pytest tests/integration/

# Convenience runner with coverage
python run_tests.py all -v -c

The suite is network-free: live integrations are exercised with httpx.MockTransport so no external calls occur. Coverage spans the finance engine, feature flags, every tool category, integration adapters, config resources, and v1 backward compatibility.

bash
# Lint and type-check
python -m black .                  # format
python -m flake8 .                 # style
python -m mypy .                   # type check (source; tests excluded)

On some systems console scripts install to ~/.local/bin, which may not be on PATH. Invoke as python -m pytest, python -m black ., etc.


🛠️ Development

Adding a new tool

  1. Write your tool function in the appropriate tools/*.py module using the @mcp.tool() decorator.
  2. Wire it into tools/__init__.py under the matching feature-flag block.
  3. Add tests under tests/.

Tools return json.dumps(..., indent=2) strings and call audit(...) for provenance. Keep the core deterministic and offline — live network access belongs only in the opt-in integrations/ adapters.

Adding a new resource

  1. Add a @mcp.resource("realestate://...") function to the appropriate module in resources/.
  2. Register it in the matching feature-flag block.
  3. Cover it with tests in tests/integration/.

Backward compatibility

All v1 tool names and realestate:// resource URIs are preserved. tests/integration/test_server.py guards against regressions.


📖 Further reading

For a comprehensive deep dive into the architecture, design principles, and real-world applications of this MCP server:

🔌 MCP Servers — Model Context Protocol Implementation

The post covers MCP server architecture, tool/resource/prompt design, real-world usage patterns, security considerations, and the future of MCP tooling.


Integration & development support

Need help integrating this real estate MCP server into your brokerage or agency workflows, enabling the Census or RentCast adapters, or building custom real estate MCP tools and extensions? Professional integration and development support is available.

We're happy to help with deployment, custom integrations, and tailored real estate workflow automation.


License

GNU Affero General Public License v3.0 (AGPL-3.0) — see LICENSE.

Free to use, fork, and self-host. If you run a modified version as a network service, AGPL-3.0 requires you to publish your changes. Organizations that need to keep modifications private can contact edwin@genego.io for a commercial license.


Built with the Model Context Protocol. Provides workflow augmentation, not financial, legal, or appraisal advice.

Встановлення

TypingMind
{
  "mcpServers": {
    "agentic-ops-real-estate-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "agenticops/real-estate-mcp"
      ]
    }
  }
}

Використовуйте MCP Real Estate MCP Server з різними моделями ШІ

TypingMind підключає інструменти MCP на рівні робочого простору, тож після підключення Real Estate MCP Server ви можете використовувати це підключення з різними моделями ШІ в TypingMind, не налаштовуючи його окремо для кожної моделі. Ця інтеграція MCP працює локально через конектор MCP TypingMind на вашому пристрої.

Інструкція з налаштування локального конектора

Виберіть цей варіант, якщо серверу MCP потрібен доступ до локальних файлів, програм або приватних ресурсів на вашому комп’ютері.

1

Відкрийте налаштування MCP

У TypingMind перейдіть до розділу «Налаштування», відкрийте «Розширені налаштування», потім «Протокол контексту моделі» й виберіть «Налаштувати конектор».

  1. Відкрийте TypingMind у браузері.
  2. Натисніть значок налаштувань.
  3. Перейдіть до розділу «Розширені налаштування».
  4. Відкрийте розділ «Протокол контексту моделі».
  5. Натисніть «Налаштувати конектор» і виберіть «Цей пристрій».
Екран налаштування конектора MCP у TypingMind з вибраним варіантом «Цей пристрій»
2

Виконайте команду конектора

Виберіть «Цей пристрій», скопіюйте команду з TypingMind і виконайте її в терміналі. Не зупиняйте процес, поки користуєтеся MCP.

  1. Скопіюйте команду налаштування, показану в TypingMind.
  2. Відкрийте «Термінал» у macOS або Windows Terminal у Windows.
  3. Вставте й виконайте команду.
  4. Підтвердьте встановлення пакета, якщо в терміналі з’явиться запит на підтвердження.
  5. Не закривайте вікно термінала й не зупиняйте процес, поки користуєтеся інструментами MCP.
3

Додайте Real Estate MCP Server як сервер

Коли статус конектора зміниться на «Готово», натисніть «Редагувати сервери» та вставте конфігурацію сервера MCP.

  1. Зачекайте, доки статус конектора зміниться на «Готово».
  2. Натисніть «Редагувати сервери».
  3. Вставте конфігурацію сервера MCP Real Estate MCP Server.
  4. Збережіть список серверів.
  5. Якщо хочете переконатися, що конектор досі готовий до роботи, оновіть дані.
Налаштування MCP у TypingMind з активним сервером і кнопкою «Редагувати сервери»
{
  "mcpServers": {
    "agentic-ops-real-estate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Використовуйте підключення з різними моделями

Збережіть список серверів, відкрийте «Плагіни», увімкніть інструменти MCP для Real Estate MCP Server, а потім виберіть будь-яку підтримувану модель ШІ в TypingMind і використовуйте інструменти в чаті або призначте їх агенту ШІ.

  1. Відкрийте сторінку «Плагіни» в TypingMind.
  2. Увімкніть інструменти MCP для Real Estate MCP Server.
  3. Почніть чат і виберіть модель ШІ, яку хочете використовувати.
  4. Використовуйте інструменти MCP у чаті або призначте їх агенту ШІ.
  5. За потреби перемикайтеся на іншу модель ШІ без повторного підключення MCP.
Чат TypingMind із використанням увімкнених інструментів MCP і вибраної моделі ШІ
Допоможете з цим завданням через Real Estate MCP Server?
Real Estate MCP Server
Звісно. Я це прочитав.
Ось що я знайшов за допомогою Real Estate MCP Server.

Поширені запитання

Для чого використовується сервер MCP Real Estate MCP Server?

Real Estate MCP Server — це сервер MCP, який дає змогу сумісним клієнтам ШІ отримувати доступ до зовнішніх інструментів і контексту. У TypingMind ви можете додати цей сервер MCP один раз і зробити його інструменти доступними у своєму робочому просторі ШІ.

Чи можу я використовувати сервер MCP Real Estate MCP Server з кількома моделями ШІ в TypingMind?

Так. TypingMind підключає інструменти MCP на рівні робочого простору, тому ви можете використовувати Real Estate MCP Server з різними моделями ШІ, як-от Claude, ChatGPT, Gemini або іншими моделями, які ви налаштували в TypingMind, без окремого налаштування сервера MCP для кожної моделі.

Навіщо використовувати сервер MCP Real Estate MCP Server із TypingMind?

TypingMind — один із найкращих інтерфейсів для чату з великими мовними моделями, адже він об’єднує різні моделі ШІ, промпти, плагіни, агентів ШІ, ключі API та інструменти MCP в одному робочому просторі. Підключивши Real Estate MCP Server, ви зможете використовувати його інструменти MCP з вибраними моделями та впорядковано працювати з чатами в TypingMind.

Як підключити сервер MCP Real Estate MCP Server до TypingMind?

Real Estate MCP Server працює через локальний конектор MCP TypingMind. Це найкращий варіант, коли серверу MCP потрібен доступ до локальних файлів, настільних застосунків, інструментів командного рядка або приватних ресурсів на вашому комп’ютері.

Які інструменти надає сервер MCP Real Estate MCP Server у TypingMind?

Real Estate MCP Server надає можливості MCP, які можна ввімкнути на сторінці «Плагіни» в TypingMind і використовувати в чаті або призначати агентам ШІ.

Чи потрібно ділитися своїми ключами API з TypingMind, щоб використовувати сервер MCP Real Estate MCP Server?

Ні. TypingMind орієнтований насамперед на локальну роботу й дає вам змогу самостійно обирати постачальників моделей і керувати ключами API, промптами та конфігурацією MCP. Якщо Real Estate MCP Server потребує автентифікації, під час створення підключення додайте потрібні заголовки, налаштування OAuth або локальну конфігурацію для цього сервера MCP.

Схожі сервери MCP

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇