Skip to main content
Glama
RE Data Refinery MCP Server

RE Data Refinery MCP Server

RE Data Refinery MCP Server

Model Context Protocol

An MCP (Model Context Protocol) server that gives AI agents real-time access to scored real estate investment data across five major Ohio cities — Columbus, Cincinnati, Toledo, Dayton, and Cleveland — including property listings, flip/wholesale scores, rental yields, foreclosure auctions, and tax sale listings. Agents query the data through MCP tools and pay per lookup using x402 micropayments (USDC on Base mainnet).

What It Does

This server exposes 13 MCP tools that let any AI agent (Claude, Cursor, Hermes, etc.):

  • Search property listings — query 1,040+ scored Ohio properties with flip scores, wholesale scores, rental yield percentages, market heat ratings, and neighborhood comparisons. Filter by city, ZIP, price range, score threshold, or property type

  • Get property details — full property records by ZPID including price history, tax/assessment history, and school ratings

  • Search foreclosure auctions — 192 Franklin County foreclosure listings with auction dates, addresses, sale status, and lot sizes (sourced from PropertyOnion, refreshed daily)

  • Search tax sale auctions — 161 Franklin County tax sale listings with the same structure

  • Query combined auctions — all 353 auction listings in one call, filterable by city, ZIP, status, or type

All paid lookups use the x402 protocol — agents send USDC micropayments on Base mainnet ($0.15–$0.50 per query) and receive data in response. No subscription, no API key — just pay per query via crypto.

Related MCP server: Scalogy Real Estate Deals MCP Server

Data Sources

Source

Data

Coverage

ZillAPI

Property listings, scores, price/tax/school history

1,040 scored properties across Columbus, Cincinnati, Toledo, Dayton, and Cleveland

PropertyOnion

Foreclosure + tax sale auction listings

353 Franklin County listings (daily refresh)

Franklin County GIS

Tax delinquency, permits, zoning

Enrichment layer (ongoing)

Property count by city

City

Scored Properties

Columbus

184

Cincinnati

200

Toledo

200

Dayton

200

Cleveland

256

Total

1,040

Tools

Tool

Description

refinery_health

API status + cached property count (free)

refinery_cache_stats

Cache freshness + city/neighborhood count (free)

refinery_credits

ZillAPI credit balance (free)

refinery_payment_status

x402 payment configuration status (free)

refinery_search_properties

Property search results with scores (multi-city). $0.50 per call

refinery_list_properties

All cached properties with flip/wholesale/rental scores. $0.35 per call

refinery_get_property

Full property detail by ZPID. $0.35 per call

refinery_get_price_history

Price history for a property. $0.25 per call

refinery_get_tax_history

Tax/assessment history for a property. $0.25 per call

refinery_get_schools

School ratings near a property. $0.25 per call

refinery_search_foreclosures

192 foreclosure auction listings. $0.15 per call

refinery_search_tax_sales

161 tax sale auction listings. $0.15 per call

refinery_search_auctions

All 353 auction listings combined. $0.25 per call

Setup

cd ~/projects/re-refinery/mcp-server
uv sync

Environment variables

Create .env in this directory:

# Optional: override the worker or local API URLs
REFINERY_BASE_URL=https://re-data-refinery.ares-hms.workers.dev
REFINERY_LOCAL_URL=http://localhost:5004

# Required for paid x402 endpoints
EVM_PRIVATE_KEY=0x...

# Optional x402 spend cap (default $1 per payment)
X402_SPEND_CAP=$1

# Set to false to disable payments and use the free local API
REFINERY_ENABLE_X402=true

Run

# stdio transport (default; for Claude Desktop, Hermes, etc.)
uv run python re_refinery_mcp.py

# SSE transport
uv run python re_refinery_mcp.py --transport sse

MCP Configuration

Add to your MCP client config (Claude Desktop claude_desktop_config.json, Cursor, etc.):

{
  "mcpServers": {
    "re-refinery-mcp": {
      "command": "uv",
      "args": ["run", "python", "re_refinery_mcp.py"],
      "cwd": "/path/to/re-refinery-mcp"
    }
  }
}

Claude Desktop

{
  "mcpServers": {
    "re-refinery-mcp": {
      "command": "uv",
      "args": ["run", "python", "re_refinery_mcp.py"],
      "cwd": "/path/to/re-refinery-mcp",
      "env": {
        "REFINERY_BASE_URL": "https://re-data-refinery.ares-hms.workers.dev",
        "REFINERY_ENABLE_X402": "true",
        "EVM_PRIVATE_KEY": "0x..."
      }
    }
  }
}

Test with MCP Inspector

npx @modelcontextprotocol/inspector \
  uv run python /Users/ares.hmsgmail.com/projects/re-refinery/mcp-server/re_refinery_mcp.py

Hermes configuration

Add to ~/.hermes/config.yaml under mcp_servers:

re_refinery:
  enabled: true
  command: /Users/ares.hmsgmail.com/projects/re-refinery/mcp-server/.venv/bin/python
  args:
    - /Users/ares.hmsgmail.com/projects/re-refinery/mcp-server/re_refinery_mcp.py
  timeout: 120

Notes

  • The server is read-only; no tools create or modify properties.

  • All paid tools support response_format: "json" for machine-readable output.

  • If EVM_PRIVATE_KEY is missing and x402 is enabled, the server still starts but paid calls return a clear 402 error message.

Available Tools

10 tools
refinery_cache_statsB
Read-onlyIdempotent

Get cache statistics for the Refinery data store.

Returns total cached properties, last update time, and agent-funded count. Free endpoint.

Inputs: params (required). Returns: result

refinery_creditsA
Read-onlyIdempotent

Check remaining ZillAPI credit balance.

Free endpoint that returns the upstream ZillAPI credit balance.

Inputs: params (required). Returns: result

refinery_get_price_historyA
Read-only

Get the price-history timeline for a property by ZPID.

Paid lookup ($0.25 via x402) unless REFINERY_ENABLE_X402=false.

Inputs: params (required). Returns: result

refinery_get_propertyA
Read-only

Get full scored details for a single property by ZPID.

This is a paid lookup ($0.35 via x402) unless REFINERY_ENABLE_X402=false. Includes price/tax/school enrichment and Refinery scores.

Inputs: params (required). Returns: result

refinery_get_schoolsA
Read-only

Get the school ratings near a property by ZPID.

Paid lookup ($0.25 via x402) unless REFINERY_ENABLE_X402=false.

Inputs: params (required). Returns: result

refinery_get_tax_historyA
Read-only

Get the tax/assessment history for a property by ZPID.

Paid lookup ($0.25 via x402) unless REFINERY_ENABLE_X402=false.

Inputs: params (required). Returns: result

refinery_healthA
Read-onlyIdempotent

Check the RE Data Refinery API health and cache status.

Returns status, cached property count, and rate limit information. This is a free endpoint and does not require x402 payment.

Inputs: params (required). Returns: result

refinery_list_propertiesA
Read-only

List scored properties by city with optional price filtering.

Set live=true (default) to query ZillAPI live data ($0.35 via x402). Set live=false to read cached data only (free, no payment required).

Inputs: params (required). Returns: result

refinery_payment_statusA
Read-onlyIdempotent

Show whether x402 automatic payments are configured and the active API base URL.

Inputs: no named parameters. Returns: result

refinery_search_propertiesA
Read-only

Search for scored Columbus, OH properties using natural language terms.

This is a paid lookup ($0.50 via x402) unless REFINERY_ENABLE_X402=false. Results are written through to the Refinery cache.

Inputs: params (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 10 tools

    Disambiguation4/5

    Most tools target distinct concerns: status/health, payment, property search/list, and specific property data lookups. The only mild overlap is between refinery_search_properties and refinery_list_properties, but their different input modes and purposes make them reasonably distinguishable.

    Naming Consistency4/5

    All tools share the refinery_ prefix and use snake_case, which creates a clear family identity. However, the status-style tools use bare nouns (health, cache_stats, credits, payment_status) while data tools use verb_noun forms, so the pattern is not perfectly uniform.

    Tool Count5/5

    Ten tools is well-scoped for a property data refinery server: a few operational/status endpoints, general search/list capabilities, and individual data detail lookups. Each tool has a clear role without the surface feeling bloated or thin.

    Completeness5/5

    The tool set covers the full read-side property workflow: discover properties by search or listing, retrieve full details, and access price history, tax history, and schools. It also includes operational endpoints for health, cache stats, credits, and payment configuration, so there are no obvious dead ends.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides comprehensive real estate market intelligence, property valuation, and investment analysis for AI agents. Unifies data from multiple sources like Zillow, Redfin, and public records into a single MCP interface.
      MIT
    • F
      license
      A
      quality
      C
      maintenance
      Verified Singapore property, tax, affordability, salary, and location data for AI agents. 17 MCP tools, x402 micropayments, source provenance on every response. Singapore live now, more markets coming. Categories: Finance, Real Estate, Data, Singapore, x402, Payments, Government Data
      17
      -