Estate Atlas SD-MCP

Estate Atlas SD-MCP

MCP server for querying the San Diego Municipal Code, bulletins, permits, parcels, and zoning data with citations and freshness guarantees.

Category
访问服务器

README

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?"

Tools

Tool Purpose
search_municipal_code Semantic search across SDMC, bulletins, ordinances
get_code_section Fetch a specific section by number (e.g. 142.0610)
get_table_of_contents Browse the code structure
list_bulletins Discover DSD information bulletins
get_bulletin Fetch a specific IB by number
lookup_parcel Address or APN → zoning, overlays, lot, assessor
get_permits_for_parcel Permit history for a parcel
get_violations_for_parcel Code-enforcement cases for a parcel
get_setbacks_for_zone Setbacks, FAR, height limits by zone code
get_zone_info Higher-level zone summary
data_freshness Per-source last-update + SLA cadence
get_case_rulings (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 STDIO

Environment variables

Var Required Default Purpose
SANDIEGO_MCP_DATABASE_URL yes Postgres connection string (read-only role). Falls back to DATABASE_URL.
SANDIEGO_MCP_VOYAGE_API_KEY yes Voyage AI key for query embeddings (voyage-4-large). Falls back to VOYAGE_API_KEY. Get one free at voyageai.com.
SANDIEGO_MCP_EMBEDDING_MODEL no voyage-4-large Override the embedding model (must match the model the DB was re-indexed with).
SANDIEGO_MCP_EMBEDDING_DIM no 1024 Override the embedding dimension.
SANDIEGO_MCP_LOG_LEVEL no INFO DEBUG / INFO / WARNING / ERROR. Logs go to stderr (stdout is the MCP transport).

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:

  1. Run your own Supabase replica with the schemas under david/backend/db/
  2. Email hello@estateatlas.ai for 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.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选