Examples
Every example on this page is a single Python file you can copy, paste,
set your API key, and run. No project setup, no SDK config beyond the
mcp package and a one-line env var. The point is to see real data in
your terminal in under a minute.
Prerequisites
These apply to every example below.
pip install mcpexport ESTAITE_API_KEY="mk_..." # get one at https://estaite.com/developersThat’s the entire setup. Each example imports the same MCP client, opens
a streamable HTTP connection to https://mcp.estaite.com, and calls one
or more tools.
Available examples
Market snapshot
Single-tool call. Give it a city, get a rental market overview — average rent, vacancy, YoY growth, and the top submarkets in that metro.
Compare two submarkets
Multi-tool chain. Searches by name to resolve IDs, then runs a side-by-side comparison across rent, growth, vacancy, and affordability.
Lease renewal advisor
Agent-pattern. Pulls market snapshot, rent trends, and affordability for a submarket, then produces a “stay or move” recommendation based on the tenant’s current rent.
A note on language
The examples here are in Python because the official MCP Python SDK is the most direct way to demonstrate the protocol. The same calls work from any language that can do HTTP — see HTTP / JSON-RPC for the raw protocol if you’re working in TypeScript, Go, Rust, or anything else.