RE Data Refinery MCP Server
RE Data Refinery MCP Server
MCP server that lets AI agents query the RE Data Refinery for scored Columbus, OH real estate data and pay per lookup via the x402 protocol.
What it does
Exposes refinery endpoints as MCP tools (
refinery_*).Routes paid lookups through the x402-enabled Cloudflare Worker.
Supports automatic USDC-on-Base micropayments when
EVM_PRIVATE_KEYis set.Falls back to the free local API (
localhost:5004) whenREFINERY_ENABLE_X402=false.
Tools
Tool | Endpoint | Price |
|
| Free |
|
| Free |
|
| Free |
|
| $0.50 |
|
| $0.35 (live) / free (cached) |
|
| $0.35 |
|
| $0.25 |
|
| $0.25 |
|
| $0.25 |
| (status) | Free |
Setup
cd ~/projects/re-refinery/mcp-server
uv syncEnvironment 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=trueRun
# 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 sseTest with MCP Inspector
npx @modelcontextprotocol/inspector \
uv run python /Users/ares.hmsgmail.com/projects/re-refinery/mcp-server/re_refinery_mcp.pyHermes 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: 120Notes
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_KEYis missing and x402 is enabled, the server still starts but paid calls return a clear 402 error message.
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/areshms/re-refinery-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server