The BatchData MCP server provides access to comprehensive property and address data through BatchData.io's APIs. This server enables Claude to verify addresses, search properties, and perform various real estate data operations through natural language queries.
The easiest way to install the server is using Smithery:
npx -y @smithery/cli install @zellerhaus/batchdata-mcp-real-estate --client claude
Install dependencies:
cd batchdata-mcp-real-estate
npm install
Configure your API key:
.env
file in the project root:BATCHDATA_API_KEY=your_actual_api_key_here
Build the TypeScript project:
npm run build
Test the server:
npm start
Use the automated setup scripts:
Linux/macOS:
chmod +x setup.sh && ./setup.sh
Windows:
setup.bat
Build and test the Docker container:
chmod +x docker-manage.sh
./docker-manage.sh test
Run with Docker Compose:
./docker-manage.sh run
View logs:
./docker-manage.sh logs
The docker-manage.sh
script provides convenient commands:
Build the image:
docker build -t batchdata-mcp-server:latest .
Run with environment file:
docker run --rm --env-file .env batchdata-mcp-server:latest
Run with Docker Compose:
docker-compose up -d
To use this MCP server with Claude Desktop, add the following to your Claude configuration file:
Edit ~/Library/Application Support/Claude/claude_desktop_config.json
:
{
"mcpServers": {
"batchdata": {
"command": "node",
"args": ["/path/to/batchdata-mcp-real-estate/batchdata_mcp_server.js"],
"env": {
"BATCHDATA_API_KEY": "your_api_key_here"
}
}
}
}
Edit %APPDATA%\Claude\claude_desktop_config.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"
}
}
}
}
If running via Docker, you can configure Claude Desktop to use the containerized server:
{
"mcpServers": {
"batchdata": {
"command": "docker",
"args": ["exec", "-i", "batchdata-mcp-server", "node", "batchdata_mcp_server.js"],
"env": {
"BATCHDATA_API_KEY": "your_api_key_here"
}
}
}
}
I need to count single-family homes in Phoenix, AZ between $250,000 and $600,000
Find properties similar to 2800 N 24th St, Phoenix, AZ 85008 within 1 mile
Verify this address: 2800 N 24th St, Phoenix, Arizona 85008
BatchData.io rate limits per endpoint:
Variable | Description | Required |
---|---|---|
BATCHDATA_API_KEY |
Your BatchData.io API key | Yes |
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "batchdata" '{"command":"node","args":["/path/to/batchdata-mcp-real-estate/batchdata_mcp_server.js"],"env":{"BATCHDATA_API_KEY":"your_api_key_here"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"batchdata": {
"command": "node",
"args": [
"/path/to/batchdata-mcp-real-estate/batchdata_mcp_server.js"
],
"env": {
"BATCHDATA_API_KEY": "your_api_key_here"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"batchdata": {
"command": "node",
"args": [
"/path/to/batchdata-mcp-real-estate/batchdata_mcp_server.js"
],
"env": {
"BATCHDATA_API_KEY": "your_api_key_here"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect