Rentcast MCP Server
Supports Docker containerization for production deployment of the real estate data MCP server
Uses .ENV files for secure configuration management of API keys and server settings
Built using FastAPI framework to provide the MCP server endpoints and HTTP API interface for real estate data access
Implemented in Python to provide MCP-compliant real estate data integration with intelligent API optimization features
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Rentcast MCP Serverwhat's the estimated value of a 3-bedroom house at 123 Main St, Austin, TX?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
š Rentcast MCP Server
A Model Context Protocol (MCP) server that provides access to Rentcast Real Estate API data through a standardized interface. This server enables AI assistants and applications to retrieve comprehensive real estate information including property details, market analysis, rent estimates, and property valuations.
⨠Features
š Property Search: Search properties with filters (city, state, bedrooms, bathrooms, etc.)
š² Random Properties: Get random properties for market analysis
š Market Analysis: Comprehensive market statistics and trends
š° Property Valuation: Automated property value estimates with comparables
š Rent Estimates: Long-term rent estimates with comparable properties
šļø Sale Listings: Current properties for sale
šļø Rental Listings: Current properties for rent
š Property Details: Detailed property information and parameters
Related MCP server: Estaite Solutions
š Quick Start
Prerequisites
Node.js 18+
Rentcast API key (Get one here)
Installation
# Clone the repository
git clone https://github.com/tandat8503/mcp_rentcast.git
cd mcp_rentcast
# Install dependencies
npm install
# Copy environment file
cp .env.example .env
# Edit .env with your Rentcast API key
RENTCAST_API_KEY=your_api_key_here
# Build the project
npm run build
# Start the server
npm startUsing with MCP Inspector
# Start MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.js
# Open browser at http://localhost:6274
# Use the provided auth token to access the interfaceš ļø Available Tools
1. search_properties
Search for properties with comprehensive information.
Parameters:
city(optional): City name (e.g., "Austin", "New York")state(optional): State abbreviation (e.g., "TX", "CA")zipCode(optional): ZIP code (e.g., "78705")bedrooms(optional): Number of bedrooms (1-10)bathrooms(optional): Number of bathrooms (1-10)propertyType(optional): Property type (e.g., "Single Family", "Condo")limit(optional): Maximum results (default: 15, max: 50)
Example:
{
"city": "Austin",
"state": "TX",
"bedrooms": 2,
"limit": 20
}2. get_random_properties
Get random properties for market analysis.
Parameters:
city(optional): City namestate(optional): State abbreviationzipCode(optional): ZIP codelimit(optional): Number of properties (default: 10, max: 50)
3. analyze_market
Get comprehensive market statistics and trends.
Parameters:
zipCode(optional): ZIP code for analysiscity(optional): City namestate(optional): State abbreviationdataType(optional): "All", "Sale", or "Rental" (default: "All")
4. get_property_value
Get automated property value estimates.
Required (one of):
address: Full property addresslatitude+longitude: GPS coordinatespropertyId: Unique property identifier
Optional:
propertyType: Property typebedrooms: Number of bedroomsbathrooms: Number of bathroomssquareFootage: Property size in sq ft
Example:
{
"address": "1011 W 23rd St, Austin, TX 78705",
"propertyType": "Apartment",
"bedrooms": 1,
"bathrooms": 1
}5. get_rent_estimates
Get long-term rent estimates with comparable properties.
Required (one of):
address: Full property addresslatitude+longitude: GPS coordinatespropertyId: Unique property identifier
Optional:
propertyType: Property typebedrooms: Number of bedroomsbathrooms: Number of bathroomssquareFootage: Property size in sq ft
6. get_sale_listings
Get current properties for sale.
Parameters:
city(optional): City namestate(optional): State abbreviationzipCode(optional): ZIP codelimit(optional): Maximum results (default: 15, max: 50)
7. get_rental_listings
Get current properties for rent.
Parameters:
city(optional): City namestate(optional): State abbreviationzipCode(optional): ZIP codelimit(optional): Maximum results (default: 15, max: 50)
8. get_property_details
Get detailed property information.
Parameters:
id(required): Property or listing ID
9. get_server_status
Get server status and API usage information.
Parameters: None
š§ Configuration
Environment Variables
Variable | Description | Default | Required |
| Your Rentcast API key | - | ā |
| Rentcast API base URL |
| ā |
| Maximum API calls per session |
| ā |
| API call timeout |
| ā |
| Enable rate limiting |
| ā |
| Rate limit per minute |
| ā |
| Enable debug mode |
| ā |
| Log level |
| ā |
API Limits
Free Tier: 45 API calls per month
Default Session Limit: 40 calls per session
Rate Limiting: 60 calls per minute (configurable)
šļø Project Structure
mcp_rentcast/
āāā src/
ā āāā index.ts # Main MCP server implementation
ā āāā services/
ā ā āāā config.ts # Configuration service
ā ā āāā rentcast-api.ts # Rentcast API client
ā āāā types/
ā āāā index.ts # TypeScript type definitions
āāā dist/ # Compiled JavaScript output
āāā package.json # Project dependencies and scripts
āāā tsconfig.json # TypeScript configuration
āāā .env.example # Environment variables template
āāā .gitignore # Git ignore patterns
āāā README.md # This fileš Development
Scripts
# Build the project
npm run build
# Start in development mode with hot reload
npm run dev
# Start production server
npm start
# Run tests
npm test
# Lint code
npm run lint
# Format code
npm run formatBuilding
# Development build
npm run build
# The compiled output will be in the `dist/` directoryDebug Mode
The server includes comprehensive console logging for debugging:
Input Parameters: Logs all parameters received by tools
API Responses: Logs API call results and data samples
Error Handling: Detailed error logging with context
Performance: API call counts and rate limiting information
š Debugging
Console Logs
Each tool provides detailed logging:
š [tool_name] Tool called with params: { ... }
š [tool_name] Built search params: { ... }
š [tool_name] API result: { ... }
š [tool_name] Data sample: { ... }
š [tool_name] Tool completed successfullyCommon Issues
Missing API Key: Ensure
RENTCAST_API_KEYis set in.envAPI Limits: Monitor remaining API calls with
get_server_statusRate Limiting: Wait between API calls if rate limited
Invalid Parameters: Check parameter validation in console logs
š API Usage Optimization
Best Practices
Batch Requests: Use higher limits when possible to reduce API calls
Caching: Implement caching for frequently requested data
Parameter Validation: Provide accurate parameters for better results
Error Handling: Implement proper error handling for failed requests
Rate Limiting
Default: 60 calls per minute
Configurable via
RATE_LIMIT_PER_MINUTEAutomatic delays between calls when enabled
š¤ Contributing
Fork the repository
Create a feature branch
Make your changes
Add tests if applicable
Submit a pull request
š License
This project is licensed under the MIT License - see the LICENSE file for details.
š Links
š Support
For issues and questions:
Check the console logs for debugging information
Verify your API key and configuration
Check Rentcast API status and limits
Open an issue in the repository
Built with ā¤ļø for the MCP community
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceConnects Claude to the RentCast API to provide tools for accessing property valuations, rent estimates, and real estate market statistics. Users can retrieve detailed property data and active listings for specific ZIP codes through natural language queries.121MIT
- Alicense-qualityDmaintenanceSubmarket-level US residential rental intelligence for AI agents. Search, compare, rank, and analyze rent data, trends, vacancy, affordability, and days on market across 1,000+ named submarkets in the 20+ largest US metros. ZIP-level and metro-level queries included. Always current, always expanding. Free tier available.1MIT
- AlicenseAqualityDmaintenanceWraps the RentCast API to search houses for sale, get valuations, rent estimates, and market statistics.8MIT
- Alicense-qualityCmaintenanceWraps the Rentcast API to provide real estate data access for AI agents through the Model Context Protocol, part of the Pipeworx gateway.8MIT
Related MCP Connectors
Rentcast MCP ā wraps Rentcast API (api.rentcast.io/v1)
U.S. real-estate data: property records, AVM value + rent estimates, sale/rental listings.
Current US rental market data for AI agents: 1,500+ submarkets, monthly rent + vacancy + trends.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tandat8503/mcp_rentcast'
If you have feedback or need assistance with the MCP directory API, please join our Discord server