Tenant Leasing Analytics
Enables analysis of prospective tenant inquiries and market rent comparisons through database queries, guest card analytics, and automated generation of leasing emails and visual market reports with charts.
README
Tenant Leasing Analytics - MCP Server
A specialized MCP (Model Context Protocol) server for tenant leasing analytics, focused on guest card management and market rent comparisons.
š Data Architecture
This MCP server only uses data from the tenant-info/ folder:
| Table | Description | Rows |
|---|---|---|
guest_cards |
Prospective tenant inquiries with preferences | 100 |
nearby_units |
Comparable rental listings in the area | 100 |
š ļø Available Tools
Schema & Query
| Tool | Description |
|---|---|
get_schema() |
View database schema and column descriptions |
query_database(sql) |
Execute any SELECT query |
Guest Card Analytics
| Tool | Description |
|---|---|
guest_card_summary() |
Comprehensive summary of all inquiries |
qualified_prospects(min_income, min_credit) |
Find prospects meeting criteria |
Market Analytics
| Tool | Description |
|---|---|
market_rent_analysis() |
Analyze nearby rental market conditions |
š§ Email Generation
| Tool | Description |
|---|---|
generate_leasing_email(...) |
Create professional leasing update email |
š Visual Reports
| Tool | Description |
|---|---|
create_market_report() |
Full 6-chart visual report (bar, pie, histogram) |
create_individual_chart(type) |
Generate specific chart types |
š§ Email Generation
The generate_leasing_email() tool creates professional leasing update emails like:
Good Morning Chi,
Last week in total we received 17 inquiries and I had no groups confirm showings.
As discussed, we decreased the rate to $2400 and have received 4 new inquiries...
Parameters:
recipient_name: Email recipientsender_name: Your namecurrent_rate: Current advertised rentprevious_rate: Previous rent rateshowings_confirmed: Number of confirmed showingsshowings_attended: Number who attendedinterested_parties: Number who seemed interestedpending_applications: Current pending appswithdrawn_applications: Withdrawn appsupcoming_showings: Scheduled future showings
š Visual Reports
Full Market Report (create_market_report())
Generates a comprehensive 6-panel report including:
- Rent Distribution Histogram - Nearby rental price spread
- Credit Score Pie Chart - Prospect credit quality
- Pet Preferences Bar Chart - Pet ownership breakdown
- Budget Distribution Histogram - Prospect max rent budgets
- Price Comparison Bar Chart - Market vs our rate
- Activity Types Pie Chart - Prospect engagement
Individual Charts (create_individual_chart(type))
Available chart types:
rent_histogram- Distribution of nearby rental pricescredit_pie- Credit score distributionpet_bar- Pet preferences breakdownbudget_histogram- Prospect budget distributionprice_comparison- Market vs our pricingactivity_pie- Prospect activity typesincome_vs_rent- Income vs max rent scattersimilarity_rent- Property similarity vs rent scatter
š Setup
Prerequisites
- Python 3.10+
uvpackage manager
Installation
cd /Users/kkamalva/financial_analysis/MCP/kurt-data
uv sync
Claude Desktop Configuration
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"tenant-leasing": {
"command": "/Users/kkamalva/financial_analysis/MCP/kurt-data/run_server.sh"
}
}
}
š¬ Example Questions
Guest Card Questions
- "Show me a summary of all guest cards"
- "Find qualified prospects with income over $8,000"
- "What's the credit score distribution of our prospects?"
Market Questions
- "Analyze the nearby rental market"
- "How does our price compare to the market?"
- "What's the average rent in the area?"
Email & Reports
- "Generate a leasing update email for Chi"
- "Create a market report with charts"
- "Generate a rent histogram"
š Data Files
This MCP server is self-contained within the kurt-data/ folder and only uses data from tenant-info/:
kurt-data/
āāā server.py ā MCP server
āāā run_server.sh ā Launch script
āāā pyproject.toml ā Dependencies
āāā tenant-info/
ā āāā synthetic_guest_cards.csv
ā āāā nearby_advertised_units.csv
āāā charts/
āāā (generated visualizations)
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.