sparks-re-api — Claude Code MCP server for real estate analysis
sparks-re-api is an MCP server for Claude Code with three tools for real estate agents: parse listing text, check for FHA violations, and compute rental investment metrics.
no license 1,809 installs updated 2026-07-13
claude mcp add --transport http sparks-re-api https://sparks-re-api--sparks-digital.run.toolsWhat sparks-re-api does
The server connects over HTTP and gives the agent three functions. normalize_property pulls address, bedroom count, price and property type from any text — handles unstructured MLS remarks, broker descriptions and agent notes. check_fha_compliance scans listing copy for Fair Housing Act violations across seven federal protected classes (race, religion, sex, familial status and others) and returns flagged phrases. calculate_investor_metrics computes cap rate, cash-on-cash return, debt service coverage ratio, gross rent multiplier and net operating income from purchase price, rent and down payment. Each API call charges a micropayment via x402 protocol on Base L2.
The server runs at https://sparks-re-api--sparks-digital.run.tools and needs no dependencies. Requires an MCP client that supports HTTP transport.
What it helps with
- extract structured property data from MLS listing text
- scan listing copy for discriminatory language before publication
- compute rental investment returns from price and income
- pull address, rooms and price from agent notes
Example prompts for the agent
- Pull address, bedrooms and price from this text: <listing description>
- Check this listing for Fair Housing Act violations before I publish it
- Calculate cap rate and cashflow: $300,000 purchase, $2,400 rent, 20% down
How to install sparks-re-api
Platform CLI: remote server
claude mcp add --transport http sparks-re-api https://sparks-re-api--sparks-digital.run.toolsPlatform CLI: remote server
codex mcp add sparks-re-api --url https://sparks-re-api--sparks-digital.run.toolsConfig file
{
"mcpServers": {
"sparks-re-api": {
"url": "https://sparks-re-api--sparks-digital.run.tools"
}
}
}Config file
{
"servers": {
"sparks-re-api": {
"type": "http",
"url": "https://sparks-re-api--sparks-digital.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http sparks-re-api https://sparks-re-api--sparks-digital.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about sparks-re-api
How to install sparks-re-api in Claude Code?
Run claude mcp add --transport http sparks-re-api https://sparks-re-api--sparks-digital.run.tools — the server connects over HTTP.
What does sparks-re-api do?
Gives the agent three functions: parse property data from listing text, check copy for Fair Housing Act violations, and calculate rental investment metrics.
Which metrics does the investment function compute?
Cap rate, cash-on-cash return, DSCR, gross rent multiplier, monthly cashflow and net operating income. Requires purchase price, rent and down payment; other inputs have defaults.