Claude Code + MLS data
Add Live MLS Listings to a Claude Code Real Estate Site
Connect BC board MLS data to a site built with Claude Code: where the key goes, the prompt to paste, a listing search, one-area pages and sold prices.

Claude Code is Anthropic's coding agent, which works in your own project folder from the terminal or an editor. For an MLS site, keep the feed key in a local .env file while you build and in your host's secret settings when live, and put the feed rules in the project's CLAUDE.md. Claude Code's docs say it reads CLAUDE.md at the start of every session, so every session follows the same rules about the key and the listings.
Key takeaways
- Project rules go in ./CLAUDE.md or ./.claude/CLAUDE.md.
- Local: the key in .env, listed in .gitignore.
- Live: the key in the host's secret settings.
- All feed calls go through one server module.
Why CLAUDE.md matters here
Each Claude Code session starts with a fresh context. CLAUDE.md carries the instructions that must hold in every session. For an MLS site, those are: where the key lives, that only server code may call the feed, that listings are never invented, and what every listing must show.
The steps for Claude Code
Work through the pages in order. Each one ends with something you can check in Claude Code before moving on.
- Store the key: Store Your MLS API Key in Claude Code
- Paste the build prompt: Claude Code Prompt to Build a Real Estate Site With MLS Listings
- Add listing search: MLS Listing Search Page in Claude Code
- Limit to one neighbourhood: One-Neighbourhood MLS Site in Claude Code: Kitsilano Example
- Add sold prices behind a sign-up: Sold Prices Behind a Sign-Up in Claude Code
Before you start
You need access to the feed first. Send a request with the form on this page; our team contacts you, checks what your board allows, and sets up access. The general guide at MLS API for BC Real Estate Websites explains the data, and Board Rules for Showing MLS Data on Your Website lists what to settle with your board before launch.
Frequently asked questions
Can Claude Code build an MLS site?
Yes. It writes the code in your project. The feed supplies the listings, and CLAUDE.md holds the rules.
Where should the site be hosted?
Any host with server-side secrets. The examples use Cloudflare Workers.
Can I use AGENTS.md instead of CLAUDE.md?
Claude Code's docs say it can read a repository's AGENTS.md as project instructions.
Sources
Every claim on this page that could be checked against a primary source is linked below. Where something is not publicly documented by a vendor, the page says so rather than filling the gap with an estimate.
- How Claude remembers your project (Anthropic)
- Claude Code settings (Anthropic)
- Secrets (Cloudflare)
- RESO Web API (Real Estate Standards Organization (RESO))