RentCast
Access property data, valuations, and market statistics using the RentCast API.
RentCast MCP Server
Model Context Protocol (MCP) server for connecting Claude with the RentCast API. It provides tools for accessing property data, valuations, and market statistics through the RentCast API.
Requirements
- Python 3.12 or higher
- Model Context Protocol (MCP) Python SDK
- httpx
- python-dotenv
Setup
1. Install uv (recommended)
curl -LsSf https://astral.sh/uv/install.sh | sh
2. Clone this repository
git clone https://github.com/yourusername/rentcast-mcp-server.git
cd rentcast-mcp-server
3. Create and activate a virtual environment
# Create virtual environment
uv venv
# Activate virtual environment
# On macOS/Linux:
source .venv/bin/activate
# On Windows:
.venv\Scripts\activate
4. Install dependencies
# Option 1: Using uv (recommended)
uv sync
# Option 2: Using pip with requirements.txt
pip install -r requirements.txt
# Option 3: Install as editable package
uv pip install -e .
5. Set up environment variables
Create a .env file in the project root with your RentCast API key:
RENTCAST_API_KEY=your_api_key_here
Usage
1. Configure Claude Desktop
First, install the MCP CLI globally:
uv tool install "mcp[cli]"
Then add this server to your Claude Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"RentCast": {
"command": "/Users/<USERNAME>/.local/share/uv/tools/mcp/bin/mcp",
"args": ["run", "/full/path/to/rentcast-mcp-server/src/rentcast_mcp_server/server.py"]
}
}
}
Important: Replace /full/path/to/ with the actual absolute path to your rentcast-mcp-server directory.
Restart Claude Desktop after saving the configuration.
2. Use the MCP server with Claude
Once configured, Claude Desktop will have access to these RentCast tools:
get_property_data: Get detailed property data for a specific property IDget_property_valuation: Get property value estimatesget_rent_estimate: Get rent estimates for a propertyget_market_statistics: Get market statistics for a ZIP code areaget_property_listings: Get active property listings in a ZIP code area
Example queries to try with Claude:
- "Get market statistics for ZIP code 90210"
- "Show property listings in ZIP code 10001"
- "What are the market trends in ZIP code 02101?"
Development and testing
Install development dependencies and run the test suite with:
uv sync --all-extras
pytest -v tests
Running the server locally
To start the server manually (useful when developing or testing), run:
rentcast-mcp
Alternatively, you can run it directly with:
uv run python src/rentcast_mcp_server/server.py
Installing MCP CLI globally
If you want to use mcp run commands, install the MCP CLI globally:
uv tool install "mcp[cli]"
Then you can run:
mcp run src/rentcast_mcp_server/server.py
License
MIT
Servidores relacionados
Toronto Open Data Tools
Query, analyze, and retrieve datasets from Toronto's CKAN-powered open data portal.
Unofficial STRING MCP Server
Access the STRING protein interaction database for network analysis, functional enrichment, and comparative genomics.
Quick Data for Windows MCP
A Windows-optimized server for performing data analytics on JSON and CSV files, designed for Claude Desktop integration.
Power BI MCP Servers
Integrate with Power BI using a local server for offline .pbix file analysis and an Azure server for querying live datasets.
Canada's Food Guide
A nutrition analysis platform integrating Canada's Food Guide recipes with Health Canada's official nutrition databases.
Tabular MCP Server
An MCP server for local Tabular Models like PowerBI. It allows LLM clients to debug, analyze, and compose DAX queries by connecting to a local Tabular model instance.
Couchbase
Interact with Couchbase databases using natural language. Perform CRUD operations, query buckets, and execute N1QL queries.
CData EnterpriseDB MCP Server
A read-only MCP server by CData that enables LLMs to query live data from EnterpriseDB databases.
CData CSV Files
A read-only MCP server for CSV files from CData, requiring an external JDBC driver for connection.
Strapi MCP
An MCP server for Strapi CMS, providing access to content types and entries through the MCP protocol.