Rental Data
БесплатноНе проверенExposes multifamily rental data including average rent by market, occupancy anomalies, and property summaries to LLM tools via MCP.
Описание
Exposes multifamily rental data including average rent by market, occupancy anomalies, and property summaries to LLM tools via MCP.
README
An MCP (Model Context Protocol) server that exposes a multifamily rental dataset (markets, properties, rent, occupancy) to LLM tools like Claude Desktop or Claude Code — you ask questions in plain English, the model calls these tools to get real numbers back.
Built as a portfolio project mapped to: "Build and maintain MCP server integrations that expose data to LLM-powered tools."
Built as a portfolio project requiring MCP server development. Demonstrates: exposing a real dataset (multifamily rental data) to an LLM client via the Model Context Protocol, with tools for aggregation, anomaly detection, and per-entity summarization — the same patterns used for production data quality and reporting agents.
What's here
data/make_data.py— generates a synthetic-but-realistic rental dataset (8 markets, 4 properties each, 12 months, 4 unit types = ~1,500 rows), with two deliberate anomalies baked in so the anomaly tool has something to find.server.py— the MCP server itself. Three tools:average_rent_by_market(unit_type)— average rent per market, latest monthoccupancy_anomalies(threshold_pct)— flags month-over-month occupancy dropsproperty_summary(property_name)— rent trend + current occupancy for one property
requirements.txt— one dependency, pinned.
1. Setup
cd mcp-rental-server
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python3 data/make_data.py # generates data/rentals.csv
2. Test it standalone
python3 -c "
from server import average_rent_by_market, occupancy_anomalies, property_summary
print(average_rent_by_market('2BR'))
print(occupancy_anomalies())
print(property_summary('AtlantaRidge1'))
"
You should see rent numbers by market, a flagged anomaly at AtlantaRidge2,
and a rent trend summary. If that prints cleanly, the server logic works —
the rest is just wiring it into a chat client.
3. Connect it to Claude Desktop
Find (or create) Claude Desktop's config file:
- Mac:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add this (use the absolute path to your project + venv python):
{
"mcpServers": {
"rental-data": {
"command": "/absolute/path/to/mcp-rental-server/venv/bin/python3",
"args": ["/absolute/path/to/mcp-rental-server/server.py"]
}
}
}
On Mac, get the absolute path with pwd while inside the project folder.
Fully quit and reopen Claude Desktop. You should see a small tools/plug icon
in the chat box — click it to confirm rental-data is connected with 3 tools.
4. Demo prompts (use these in your screen recording)
- "What's the average 2BR rent across all markets?"
- "Are there any properties with anomalous occupancy drops?"
- "Give me a summary of AtlantaRidge2 — what's going on with it?"
- "Which market has the highest 3BR rent, and how does that compare to Charlotte?"
Watch Claude call the tool (it'll show up as a tool-use step) and answer using the real numbers, not a hallucinated guess. That contrast — grounded vs. ungrounded answers — is worth narrating out loud in the video.
5. Upgrade path: swap SQLite for real Databricks/Delta
This is the part worth mentioning verbally in your interview even if you
don't demo it live: server.py loads data/rentals.csv into SQLite purely
so the project runs with zero external accounts. The tool signatures
(average_rent_by_market, etc.) don't change if you point them at a real
warehouse — only load_data() and the query strings do.
To do the real version:
- Spin up Databricks Community Edition (free) at databricks.com/try-databricks
- Create a Unity Catalog table from the same CSV (or a public Kaggle rental dataset) as a Delta table
- Replace the SQLite connection with the
databricks-sql-connectorpackage:from databricks import sql conn = sql.connect( server_hostname="<your-workspace>.cloud.databricks.com", http_path="<your-warehouse-http-path>", access_token="<personal-access-token>", ) - Swap
_conn.execute(...)calls to use this connection instead — same SQL, different backend.
Doing this swap for real (even against a tiny Databricks Community Edition table) is the single highest-leverage next step if you have extra time, since it's the literal technology named in the JD.
Repo structure
mcp-rental-server/
├── README.md
├── requirements.txt
├── server.py
└── data/
├── make_data.py
└── rentals.csv (generated, gitignored — see below)
Suggested .gitignore:
venv/
__pycache__/
*.pyc
data/rentals.csv
(Keep make_data.py in the repo so anyone cloning it can regenerate the
dataset — cleaner than committing generated data.)
Установка Rental Data
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/CharanyaPonnala/mcp-rental-serverFAQ
Rental Data MCP бесплатный?
Да, Rental Data MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Rental Data?
Нет, Rental Data работает без API-ключей и переменных окружения.
Rental Data — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Rental Data в Claude Desktop, Claude Code или Cursor?
Открой Rental Data на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
автор: lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
MCP Servers Rating and User Reviews
Website to rate MCP servers, write authentic user reviews, and [search engine for agent & mcp](http://www.deepnlp.org/search/agent)
mkinf
An Open Source registry of hosted MCP Servers to accelerate AI agent workflows.
Compare Rental Data with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
