Skip to main content
Glama

Real Estate Data MCP Server by BatchData

README.md7.77 kB
[![MseeP.ai Security Assessment Badge](https://mseep.net/pr/zellerhaus-batchdata-mcp-real-estate-badge.png)](https://mseep.ai/app/zellerhaus-batchdata-mcp-real-estate) # BatchData - Real Estate Data - MCP Server [![smithery badge](https://smithery.ai/badge/@zellerhaus/batchdata-mcp-real-estate)](https://smithery.ai/server/@zellerhaus/batchdata-mcp-real-estate) A Model Context Protocol (MCP) server that integrates with BatchData.io's comprehensive property and address APIs. This server provides access to property data, address verification, skip tracing, geocoding, and advanced property search capabilities. ## Features ### Address Operations - **verify-address**: Validate and standardize addresses using USPS verification - **autocomplete-address**: Get intelligent address suggestions as you type - **geocode-address**: Convert addresses to latitude/longitude coordinates - **reverse-geocode**: Convert coordinates back to readable addresses ### Property Operations - **lookup-property**: Get detailed property information by address or APN (Assessor Parcel Number) - **search-properties**: Advanced property search with comprehensive filters - **search-properties-by-boundary**: Geographic boundary searches using bounding boxes or radius - **count-properties**: Get property counts matching specific criteria (lightweight operation) ## Installation ### Installing via Smithery To install batchdata-mcp-real-estate for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@zellerhaus/batchdata-mcp-real-estate): ```bash npx -y @smithery/cli install @zellerhaus/batchdata-mcp-real-estate --client claude ``` ### Manual Installation 1. **Clone or download this MCP server to your local machine** 2. **Install dependencies**: ```bash cd batchdata-mcp-real-estate npm install ``` 3. **Configure your API key**: - Get your API key from [BatchData Settings](https://app.batchdata.com/settings/api) or [register here](https://app.batchdata.com/register). - Create or update the `.env` file in the project root: ```env BATCHDATA_API_KEY=your_actual_api_key_here ``` 4. **Build the TypeScript project**: ```bash npm run build ``` 5. **Test the server**: ```bash npm start ``` ## Quick Setup Use the automated setup scripts: **Linux/macOS:** ```bash chmod +x setup.sh && ./setup.sh ``` **Windows:** ```cmd setup.bat ``` ## Docker Support ### Quick Start with Docker 1. **Build and test the Docker container:** ```bash chmod +x docker-manage.sh ./docker-manage.sh test ``` 2. **Run with Docker Compose:** ```bash ./docker-manage.sh run ``` 3. **View logs:** ```bash ./docker-manage.sh logs ``` ### Docker Management Commands The `docker-manage.sh` script provides convenient commands: - **build**: Build the Docker image - **run**: Start with docker-compose - **stop**: Stop the service - **logs**: View server logs - **test**: Build and test the server - **clean**: Clean up Docker resources - **run-direct**: Run directly with Docker (for testing) ### Manual Docker Usage **Build the image:** ```bash docker build -t batchdata-mcp-server:latest . ``` **Run with environment file:** ```bash docker run --rm --env-file .env batchdata-mcp-server:latest ``` **Run with Docker Compose:** ```bash docker-compose up -d ``` ### Docker Features - **Multi-stage build** for optimized image size - **Non-root user** for enhanced security - **Health checks** for monitoring - **Resource limits** and logging configuration - **Production-ready** with proper signal handling ## Development Commands - **Build**: `npm run build` - Compiles TypeScript to JavaScript - **Start**: `npm start` - Runs the compiled JavaScript server - **Dev**: `npm run dev` - Builds and runs in one command - **Clean**: `npm run clean` - Removes compiled JavaScript files ## Configuration for Claude Desktop To use this MCP server with Claude Desktop, add the following to your Claude configuration file: ### macOS Edit `~/Library/Application Support/Claude/claude_desktop_config.json`: ```json { "mcpServers": { "batchdata": { "command": "node", "args": ["/path/to/batchdata-mcp-real-estate/batchdata_mcp_server.js"], "env": { "BATCHDATA_API_KEY": "your_api_key_here" } } } } ``` ### Windows Edit `%APPDATA%\Claude\claude_desktop_config.json`: ```json { "mcpServers": { "batchdata": { "command": "node", "args": ["C:\\path\\to\\batchdata-mcp-real-estate\\batchdata_mcp_server.js"], "env": { "BATCHDATA_API_KEY": "your_api_key_here" } } } } ``` ### Docker Configuration for Claude Desktop If running via Docker, you can configure Claude Desktop to use the containerized server: ```json { "mcpServers": { "batchdata": { "command": "docker", "args": ["exec", "-i", "batchdata-mcp-server", "node", "batchdata_mcp_server.js"], "env": { "BATCHDATA_API_KEY": "your_api_key_here" } } } } ``` ## Tools Available ### Address Tools - `verify-address` - USPS address verification and standardization - `autocomplete-address` - Smart address suggestions - `geocode-address` - Convert address to coordinates - `reverse-geocode` - Convert coordinates to address ### Property Tools - `lookup-property` - Detailed property data by address/APN - `search-properties` - Advanced filtered property search - `search-properties-by-boundary` - Geographic area searches - `count-properties` - Property count queries ## Example Usage ### Count Properties in Phoenix ``` I need to count single-family homes in Phoenix, AZ between $250,000 and $600,000 ``` ### Find Comparable Properties ``` Find properties similar to 2800 N 24th St, Phoenix, AZ 85008 within 1 mile ``` ### Verify an Address ``` Verify this address: 2800 N 24th St, Phoenix, Arizona 85008 ``` ## API Rate Limits BatchData.io rate limits per endpoint: - **Address Verification**: 5,000 max (1,000 recommended per batch) - **Address Geocoding**: 90 max (75 recommended per batch) - **Property Search**: 1,000 max requests - **Property Lookup**: Standard API limits ## Environment Variables | Variable | Description | Required | |----------|-------------|----------| | `BATCHDATA_API_KEY` | Your BatchData.io API key | Yes | ## Error Handling The server includes comprehensive error handling for: - Invalid API keys - Network request failures - Malformed requests - API rate limit exceeded - Invalid parameter combinations ## Dependencies - **@modelcontextprotocol/sdk**: Core MCP framework - **zod**: Runtime type validation - **dotenv**: Environment variable loading - **typescript**: TypeScript compiler - **@types/node**: Node.js type definitions ## Contributing See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and guidelines. ## License MIT License - See [LICENSE](LICENSE) for details. ## Support - **BatchData API**: [Documentation](https://developer.batchdata.com/) | [Dashboard](https://app.batchdata.com) - **MCP Protocol**: [Documentation](https://modelcontextprotocol.io) - **Issues**: [GitHub Issues](https://github.com/zellerhaus/batchdata-mcp-real-estate/issues) <a href="https://glama.ai/mcp/servers/@zellerhaus/batchdata-mcp-real-estate"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@zellerhaus/batchdata-mcp-real-estate/badge" /> </a> [![MCP Badge](https://lobehub.com/badge/mcp-full/zellerhaus-batchdata-mcp-real-estate)](https://lobehub.com/mcp/zellerhaus-batchdata-mcp-real-estate) --- **Real Estate professionals and developers**: This MCP server enables Claude to access comprehensive property data, perform address verification, and conduct advanced property searches directly through natural language queries.

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/zellerhaus/batchdata-mcp-real-estate'

If you have feedback or need assistance with the MCP directory API, please join our Discord server