Estate Atlas SD-MCP
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Estate Atlas SD-MCP What are the fence height rules for an RS-1-7 lot?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Estate Atlas: SD-MCP
The first and only Model Context Protocol server for the San Diego Municipal Code — built so any AI agent (Claude, Cursor, custom) can query SD's regulatory data with citations, freshness guarantees, and machine-readable structure that no government source publishes.
Status: v0.1 — pilot. Read-only. STDIO transport. Maintained by Estate Atlas. Powered by the same fresh data pipelines used by our property-intelligence product. Embeddings: Voyage AI
voyage-4-large— Anthropic's embedding partner.
What you can ask it
> "What are the fence height rules for an RS-1-7 lot?"
> "Show me all the active permits on APN 535-095-05-00."
> "What's the rear setback for RM-1-1?"
> "Find bulletins about ADUs."
> "When was the municipal code last updated?"Related MCP server: la-legislative
Tools
Tool | Purpose |
| Semantic search across SDMC, bulletins, ordinances |
| Fetch a specific section by number (e.g. |
| Browse the code structure |
| Discover DSD information bulletins |
| Fetch a specific IB by number |
| Address or APN → zoning, overlays, lot, assessor |
| Permit history for a parcel |
| Code-enforcement cases for a parcel |
| Setbacks, FAR, height limits by zone code |
| Higher-level zone summary |
| Per-source last-update + SLA cadence |
| (Stub — v2) Court rulings affecting SD land use |
Every response includes a _meta envelope with source, data_as_of, freshness_sla, citations (with PDF page anchors where available), and license. This is the differentiator — no government source publishes machine-readable freshness or citations.
Install
Claude Desktop
Edit your Claude Desktop config at ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"sandiego-municipal-code": {
"command": "uvx",
"args": ["sandiego-municipal-code-mcp"],
"env": {
"SANDIEGO_MCP_DATABASE_URL": "postgresql://readonly@db.estateatlas.ai/sandiego_public",
"SANDIEGO_MCP_VOYAGE_API_KEY": "pa-..."
}
}
}
}Restart Claude Desktop. You should see "sandiego-municipal-code" in the MCP indicator.
Claude Code
In ~/.claude/settings.json or a project .mcp.json:
{
"mcpServers": {
"sandiego-municipal-code": {
"command": "uvx",
"args": ["sandiego-municipal-code-mcp"],
"env": {
"SANDIEGO_MCP_DATABASE_URL": "postgresql://...",
"SANDIEGO_MCP_VOYAGE_API_KEY": "pa-..."
}
}
}
}Cursor / Continue / Other MCP-aware tools
Use the same JSON above; check your editor's MCP docs for the config path.
From source (development)
git clone https://github.com/estate-atlas/sandiego-mcp
cd sandiego-mcp
uv venv --python 3.11
uv pip install -e ".[dev]"
.venv/bin/sandiego-municipal-code-mcp # runs server over STDIOEnvironment variables
Var | Required | Default | Purpose |
| yes | — | Postgres connection string (read-only role). Falls back to |
| yes | — | Voyage AI key for query embeddings ( |
| no |
| Override the embedding model (must match the model the DB was re-indexed with). |
| no |
| Override the embedding dimension. |
| no |
|
|
Public read-only database (coming soon)
The hosted endpoint db.estateatlas.ai/sandiego_public will provide free, rate-limited access to all the data this MCP server exposes. Until that ships, you can:
Run your own Supabase replica with the schemas under
david/backend/db/Email
hello@estateatlas.aifor a private beta credential
Data sources + refresh cadence
Source | Records | Refresh |
San Diego Municipal Code | 1,966 docs / 27k chunks | Monthly |
Information Bulletins | 456 docs | Monthly |
Building Permits | 240k | Weekly (Accela API) |
Code Enforcement | 17.4k | Weekly |
Parcels | 1.09M | Quarterly |
Zoning Parcels | varies | Quarterly |
Zone Setbacks | 21 zones | On ordinance change |
Refresh is automated via GitHub Actions in the upstream Estate Atlas data repo. The MCP server source code lives at estate-atlas/sandiego-mcp.
Roadmap
v0.1 (now) — STDIO transport, 11 tools, read-only, BYO DB credentials
v0.2 — Public read-only hosted endpoint (free tier + rate limit)
v0.3 — Court rulings ingestion (CourtListener integration)
v1.0 — Hosted HTTP/SSE transport, bearer-token auth, billing tiers
v1.x — San Diego County → other CA cities → other states
License
MIT. Municipal data is public-domain (City of San Diego). The MCP envelope, citations layer, and freshness SLA are © Estate Atlas.
Citing
If your agent's output is consumed for any regulatory or legal decision, the _meta.citations[] field gives you the verifiable source. We recommend always surfacing source_pdf_url to the human consumer.
Available Tools
14 toolsdata_freshnessA
Per-source data freshness: last-update timestamp, record count, and SLA cadence for every data source the MCP exposes. Call this when you need to assess whether the answer to a regulatory question is up-to-date.
Inputs: no named parameters. Returns: object
get_bulletinA
Fetch the full content of a specific information bulletin by IB number (e.g. 'IB-121' or '121'). Returns checklist, required forms, and reference code sections.
Inputs: ib_number (required). Returns: object
get_case_rulingsC
PENDING (v0.1): Federal and California appellate court rulings affecting San Diego land use, zoning, CEQA, and Coastal Act. Pipeline scaffolded 2026-05-15 via CourtListener API. Returns coverage:pending with a planned_at date and fallback CourtListener search URL until live data ships (ETA 2026-07-15).
Inputs: query. Returns: object
get_code_sectionA
Fetch the full text of a specific SDMC section by section number (e.g. '142.0610'). Includes diagrams, cross-references, and source PDF link. Prefer this over search when you already know the section.
Inputs: section_number (required). Returns: object
get_overlays_for_apnA
Return every regulatory overlay that applies to a parcel by APN: SDA (Sustainable Development Area, drives state ADU density bonus eligibility), TPA (Transit Priority Area for AB 2097 parking elimination), CPIOZ, Coastal Overlay, Prop D Coastal Height Limit, MSCP, flood, fire, seismic, airport, and historic-district overlays. The #1 multifamily-developer question — overlays gate ADU bonus and parking workflows.
Inputs: apn (required), include_all. Returns: object
get_overlays_for_pointA
Same overlay lookup as get_overlays_for_apn but keyed by a WGS84 lat/lon. Use when you have a project-site coordinate but no APN (map click, geocode result, etc.).
Inputs: lat (required), lon (required), include_all. Returns: object
get_permits_for_parcelA
Fetch building permits for a parcel by APN. Filter by status ('Active', 'Completed', 'Expired', 'Revoked', 'Pending', or 'all'). Returns permit number, type, dates, contractor, and project value.
Inputs: apn (required), status, limit. Returns: object
get_setbacks_for_zoneA
Return setbacks, lot dimension minima, FAR, height limits, and special-overlay rules for a San Diego zone code (e.g. 'RS-1-7', 'RM-1-1'). Sourced from SDMC tables.
Inputs: zone_code (required), lot_area_sqft, dwelling_units. Returns: object
get_table_of_contentsA
Return a hierarchical table of contents for the Municipal Code, optionally filtered to a single chapter. Use to discover what's available before searching.
Inputs: chapter. Returns: object
get_violations_for_parcelA
Fetch code-enforcement cases for a parcel by APN. Filter by status ('Open', 'Closed', 'Resolved', 'Pending', or 'all'). Returns case number, violation type, dates, and resolution.
Inputs: apn (required), status, limit. Returns: object
get_zone_infoB
Higher-level zone summary. Returns setbacks + envelope limits + pointer back into SDMC for permitted-use detail. Combine with search_municipal_code for narrative regs.
Inputs: zone_code (required), lot_area_sqft, dwelling_units. Returns: object
list_bulletinsB
List Development Services Department information bulletins, optionally filtered by project type (e.g. 'ADU', 'New Construction'). Bulletins are the procedural guides that tell applicants what forms + checklists are required.
Inputs: project_type, limit. Returns: object
lookup_parcelC
Look up a parcel by street address OR APN. Returns zoning, overlays, lot size, assessor data (year built, sqft, type). The killer query — most public sources require visiting 4+ websites to assemble this picture.
Inputs: address, apn. Returns: object
search_municipal_codeA
Semantic search across San Diego Municipal Code, information bulletins, and ordinances. Returns top-matching chunks with section numbers, source URLs, and PDF anchors. Use for open-ended questions like 'what are fence height rules' or 'when do I need historical review'.
Inputs: query (required), limit, doc_types, min_similarity. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools have distinct purposes, but get_zone_info and get_setbacks_for_zone partially overlap (both return setbacks), and lookup_parcel includes zoning/overlays also covered by separate tools. Descriptions help, but an agent might be uncertain which to use for zone details.
Tools predominantly use verb_noun snake_case (get_*, list_*, lookup_*, search_*). data_freshness breaks the pattern slightly, but overall naming is predictable and clear.
14 tools cover a comprehensive domain (land use, zoning, permits, overlays, code enforcement, bulletins, case rulings) without unnecessary excess. Each tool earns its place for a real estate regulatory assistant.
The tool set covers most common regulatory queries (parcel info, overlays, permits, code sections, bulletins). Minor gaps: missing tax assessment or property history, and get_case_rulings is still pending. But core workflows are well-supported.
Maintenance
Related MCP Connectors
Unofficial MCP server for the public PortlandMaps property/permit/zoning API. Not city-affiliated.
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Agent-native MCP server over 49M+ US public and government records, privacy-first, always current.
MCP server for the GovContractScout US government contracts API: search, NAICS, match scoring.
Related MCP Servers
- FlicenseAqualityDmaintenanceAn MCP server that enables users to search and navigate Madison, Wisconsin municipal ordinances using a TF-IDF search index. It provides specific code sections and citations to answer questions about local regulations like building permits and zoning.2-
- FlicenseNot gradedqualityDmaintenanceA read-only MCP server for querying Los Angeles City legislative data - Council Files, votes, member activity, and Neighborhood Council engagement - through parameterized tools without raw SQL.1-
- AlicenseAqualityDmaintenanceAn MCP server that puts open data on tap, enabling LLM clients to search, inspect, and query 30,000+ civic datasets from Socrata portals with built-in guardrails like row caps and actionable error messages.41MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for California statutes and legislation, enabling verification of current statutory text, tracking pending bills that would amend or repeal sections, and retrieving legislative history from 1993 onward using official legislative bulk data.MIT