UNLOCK MLS RESO Reference MCP Server

UNLOCK MLS RESO Reference MCP Server

Enables AI applications to search and analyze UNLOCK MLS real estate data through Bridge Interactive's RESO Web API, supporting natural language property searches, market analysis, and agent discovery.

Category
Visit Server

README

UNLOCK MLS RESO Reference MCP Server

A Model Context Protocol (MCP) server that provides standardized access to UNLOCK MLS real estate data through Bridge Interactive's RESO Web API. This server enables AI applications like Claude to query, analyze, and interact with real estate listings data.

Features

šŸ  Property Search & Analysis

  • Natural Language Search: Use conversational queries like "3 bedroom house under $500k in Austin TX"
  • Advanced Filtering: Precise search with price ranges, property types, location, and features
  • Detailed Property Information: Comprehensive property details including photos, descriptions, and agent information
  • Market Analysis: Real-time market trends, pricing statistics, and inventory analysis

šŸ˜ļø Market Intelligence

  • Price Trend Analysis: Understand market direction and pricing patterns
  • Inventory Analysis: Supply and demand indicators for informed decisions
  • Comparative Market Analysis: Compare different areas and property types
  • Investment Metrics: Data for real estate investment decision-making

šŸ‘„ Agent & Professional Network

  • Agent Search: Find qualified real estate professionals by location, specialization, or office
  • Professional Profiles: Access to agent credentials, contact information, and expertise areas
  • Local Market Experts: Connect with agents who specialize in specific markets

šŸ“Š Comprehensive Resources

  • Guided Workflows: Step-by-step guides for common real estate tasks
  • Market Insights: Educational resources for understanding market data
  • API Status Monitoring: Real-time system health and connectivity information

MCP Server Documentation

  • /Users/davidgumpper/Documents/projects/unlock-reso-mcp/docs/README.md

Contributor Resources

Quick Start

Prerequisites

  • Python 3.11 or higher
  • uv package manager
  • Bridge Interactive API credentials

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd unlock-reso-mcp
    
  2. Install dependencies:

    uv sync --dev
    
  3. Configure environment variables:

    cp .env.example .env
    # Edit .env with your Bridge Interactive credentials
    
  4. Run the MCP server:

    python -m main
    

Environment Configuration

Create a .env file in the project root with the following variables:

# Bridge Interactive API Configuration (Required)
BRIDGE_SERVER_TOKEN=your_server_token_here
BRIDGE_CLIENT_ID=your_client_id_here
BRIDGE_CLIENT_SECRET=your_client_secret_here
BRIDGE_MLS_ID=your_mls_id_here
BRIDGE_API_BASE_URL=https://api.bridgedataoutput.com/api/v2

# Optional Configuration
LOG_LEVEL=INFO
API_RATE_LIMIT_PER_MINUTE=60
CACHE_ENABLED=false
CACHE_TTL_SECONDS=300

Claude Desktop Integration

Add the following configuration to your Claude Desktop MCP settings:

{
  "mcpServers": {
    "unlock-mls-mcp": {
      "command": "python",
      "args": ["-m", "main"],
      "cwd": "/path/to/unlock-reso-mcp"
    }
  }
}

Usage Examples

Property Search

Natural Language Queries:

Find me a 3 bedroom house under $500k in Austin TX
Show me condos with pool downtown Dallas under $400k
Search for single family homes over 2000 sqft in Houston

Structured Search:

{
  "filters": {
    "city": "Austin",
    "state": "TX",
    "min_bedrooms": 3,
    "max_price": 500000,
    "property_type": "single_family"
  },
  "limit": 25
}

Market Analysis

City-Wide Analysis:

{
  "city": "Austin",
  "state": "TX",
  "property_type": "residential",
  "days_back": 90
}

ZIP Code Analysis:

{
  "zip_code": "78701",
  "property_type": "single_family",
  "days_back": 90
}

Agent Search

Find Local Agents:

{
  "city": "Austin",
  "state": "TX",
  "limit": 20
}

Search by Specialization:

{
  "specialization": "luxury homes",
  "city": "Dallas",
  "state": "TX"
}

API Reference

Tools

search_properties

Search for properties using natural language or specific criteria.

Parameters:

  • query (string, optional): Natural language search query
  • filters (object, optional): Structured search filters
  • limit (integer, optional): Maximum results (default: 25, max: 100)

Example:

{
  "query": "3 bedroom house under $500k in Austin TX",
  "limit": 25
}

get_property_details

Get comprehensive details for a specific property.

Parameters:

  • listing_id (string, required): Property listing ID

Example:

{
  "listing_id": "LISTING123"
}

analyze_market

Analyze market trends and statistics for a location.

Parameters:

  • city (string): City name
  • state (string): State abbreviation
  • zip_code (string): ZIP code (alternative to city/state)
  • property_type (string, optional): Property type filter
  • days_back (integer, optional): Analysis period in days (default: 90)

Example:

{
  "city": "Austin",
  "state": "TX",
  "property_type": "residential",
  "days_back": 90
}

find_agent

Find real estate agents or members.

Parameters:

  • name (string, optional): Agent name (partial or full)
  • office (string, optional): Office name
  • city (string, optional): City
  • state (string, optional): State abbreviation
  • specialization (string, optional): Agent specialization
  • limit (integer, optional): Maximum results (default: 20, max: 50)

Example:

{
  "name": "John Smith",
  "city": "Austin",
  "state": "TX",
  "limit": 20
}

Resources

The server provides several informational resources:

  • Property Search Examples: Common search query examples and patterns
  • Property Types Reference: Guide to property types and status values
  • Market Analysis Guide: How to interpret market analysis data
  • Agent Search Guide: Finding and working with real estate agents
  • Common Workflows: Real estate workflow patterns and best practices
  • Guided Property Search: Step-by-step property search workflows
  • Guided Market Analysis: Step-by-step market analysis workflows
  • API Status & Info: Current system status and configuration

Development

Project Structure

unlock-reso-mcp/
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ auth/           # OAuth2 authentication
│   ā”œā”€ā”€ config/         # Configuration and settings
│   ā”œā”€ā”€ utils/          # Data mapping and validation utilities
│   ā”œā”€ā”€ reso_client.py  # RESO API client
│   └── server.py       # Main MCP server implementation
ā”œā”€ā”€ tests/              # Test suite
ā”œā”€ā”€ context/            # API documentation and examples
ā”œā”€ā”€ main.py            # Entry point
└── pyproject.toml     # Project configuration

Development Commands

# Install development dependencies
uv sync --dev

# Run tests
pytest

# Run tests with coverage
pytest --cov=src --cov-report=html

# Run linting
ruff check src tests

# Run type checking
mypy src

# Run a specific test
pytest tests/test_oauth2.py -v

# Run tests matching pattern
pytest -k "test_search" -v

Testing

The project includes enterprise-grade test coverage:

  • Unit Tests: All modules have dedicated test files (141+ core tests)
  • Integration Tests: End-to-end workflow testing with real API validation
  • Performance Tests: Benchmarking with 17,000+ operations/second capacity
  • Error Scenario Tests: Comprehensive error handling validation (24+ tests)
  • Load Tests: Production readiness validation with concurrent user simulation
  • Real API Testing: Validated with live Bridge Interactive RESO Web API
  • Mock Testing: Comprehensive fixtures for development and CI/CD
  • Coverage: 85% code coverage with quality validation

Architecture

The server is built with the following components:

  1. MCP Server Framework: Uses the standard mcp.server framework for MCP compliance
  2. Bearer Token Authentication: Server token authentication using BRIDGE_SERVER_TOKEN
  3. RESO API Client: Async HTTP client with OData query building capabilities
  4. Data Mapping: Translates RESO fields to user-friendly formats
  5. Natural Language Processing: Parses conversational search queries into structured filters
  6. Comprehensive Error Handling: Graceful degradation with user-friendly error messages

Bridge Interactive API

This server integrates with Bridge Interactive's RESO Web API to provide access to UNLOCK MLS data. The API follows RESO Data Dictionary 2.0 standards for consistent field naming and data structures.

API Endpoints Used

  • Authentication: Bearer token using BRIDGE_SERVER_TOKEN
  • Property Data: /OData/{MLS_ID}/Property - Property listings and details
  • Member Data: /OData/{MLS_ID}/Member - Real estate agent information
  • Office Data: /OData/{MLS_ID}/Office - Brokerage office details
  • Lookup Data: /OData/{MLS_ID}/Lookup - Reference data and metadata

Data Standards

All data returned follows RESO Data Dictionary 2.0 specifications:

  • Standardized field names and formats
  • Consistent property status values
  • Uniform address and contact information structure
  • Standardized property types and features

Troubleshooting

Common Issues

Authentication Errors

  • Verify Bridge Interactive API credentials in .env file
  • Check that BRIDGE_SERVER_TOKEN is correct and valid
  • Ensure proper BRIDGE_MLS_ID is configured for your access
  • Ensure network connectivity to api.bridgedataoutput.com

No Search Results

  • Check city name spelling and state abbreviation
  • Try broader search criteria (increase price range, reduce requirements)
  • Verify the area has MLS coverage through UNLOCK

Server Connection Issues

  • Ensure Python 3.11+ is installed
  • Check that all dependencies are installed with uv sync --dev
  • Verify the server is running on the correct transport (stdio)

Debug Mode

Enable debug logging by setting the environment variable:

LOG_LEVEL=DEBUG

This will provide detailed information about API calls, authentication, and data processing.

Support

For technical support:

  1. Check the troubleshooting section above
  2. Review server logs for error details
  3. Verify environment configuration
  4. Test API connectivity with Bridge Interactive

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes with tests
  4. Ensure all tests pass and coverage is maintained
  5. Submit a pull request

Development Guidelines

  • Follow PEP 8 style guidelines
  • Add tests for new functionality
  • Maintain or improve code coverage
  • Update documentation for API changes
  • Follow conventional commit message format

Changelog

Version 1.0.0 (Current) - PRODUCTION READY

  • āœ… Complete MCP server implementation
  • āœ… 4 main tools: search_properties, get_property_details, analyze_market, find_agent
  • āœ… 8 comprehensive resources and guides
  • āœ… Natural language query processing
  • āœ… Real API Integration: Validated with Bridge Interactive RESO Web API
  • āœ… Bearer Token Authentication: Server token authentication working
  • āœ… RESO Data Dictionary 2.0 compliance
  • āœ… Enterprise Testing: 141+ tests with 85% coverage
  • āœ… Performance Validated: 17,000+ operations/second capacity
  • āœ… Comprehensive documentation

Roadmap

āœ… Phase 7: Enhanced Testing Suite (Completed)

  • āœ… Integration tests for end-to-end workflows
  • āœ… Performance testing and benchmarks
  • āœ… Error scenario testing
  • āœ… Load testing for production readiness
  • āœ… Test data fixtures and utilities

Phase 8: Optimization & Enhancement

  • Caching layer for improved performance
  • Rate limiting compliance
  • Enhanced error handling

Phase 9: Deployment & CI/CD

  • Docker containerization
  • GitHub Actions workflow
  • Deployment documentation

Phase 10: Production Readiness

  • Final validation and testing
  • Performance optimization
  • Production deployment guidelines

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

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.

Official
Featured
Python
graphlit-mcp-server

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.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured