Skip to main content
Glama
sf-opendata-business-registry-mcp

sf-opendata-business-registry-mcp

sf-opendata-business-registry-mcp

City of San Francisco DataSF Socrata catalog and live registered business locations over Model Context Protocol (MCP). Commercial compliance analysts, KYB teams, and GovTech builders can query data.sfgov.org with zero API keys. Setup takes seconds.

Hosted endpoint

Point any Streamable HTTP MCP client at the free Cloudflare Worker endpoint.

https://sf-opendata-business-registry-mcp.lipmichal.workers.dev/mcp

Related MCP server: DataSF MCP

Available tools

Tool

Purpose

search_sf_opendata_catalog

Search the San Francisco DataSF Socrata open data catalog by keyword

search_sf_registered_businesses

Search registered business locations by owner name, DBA, or active status

query_sf_businesses_by_naics

Filter registered San Francisco businesses by self-reported NAICS code prefix

query_sf_businesses_by_zip

Retrieve registered business locations within a 5-digit ZIP code

query_sf_dataset_resource

Query rows from any DataSF Socrata dataset using its 4x4 resource ID

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "sf-opendata-business-registry": {
      "url": "https://sf-opendata-business-registry-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run this server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries data.sfgov.org with a polite User-Agent header (mcpstamp-sf-opendata-business-registry/1.0.1 (hello@mcpstamp.com)) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions cleanly.

More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

Available Tools

5 tools
query_sf_businesses_by_naicsQuery San Francisco businesses by NAICSB
Read-onlyIdempotent

Filter San Francisco registered business locations by self-reported NAICS industry code prefix.

Inputs: naics_prefix (required), limit, offset.

query_sf_businesses_by_zipQuery San Francisco businesses by ZIPB
Read-onlyIdempotent

Retrieve San Francisco registered business locations within a 5-digit ZIP code.

Inputs: zip_code (required), limit, offset.

query_sf_dataset_resourceQuery San Francisco dataset resourceB
Read-onlyIdempotent

Query live JSON rows from any San Francisco DataSF Socrata dataset using its 4x4 resource identifier.

Inputs: dataset_id (required), limit, query, offset.

search_sf_opendata_catalogSearch San Francisco open data catalogA
Read-onlyIdempotent

Search the San Francisco DataSF Socrata catalog (data.sfgov.org) for municipal datasets, permits, finance, and business records.

Inputs: limit, query, offset.

search_sf_registered_businessesSearch San Francisco registered businessesB
Read-onlyIdempotent

Search the San Francisco Office of the Treasurer & Tax Collector registered business locations dataset (g8m3-pdis).

Inputs: limit, query, offset, active_only.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 5 tools

    Disambiguation3/5

    The two query tools by NAICS and ZIP are clearly distinct, but search_sf_registered_businesses sits ambiguously alongside them, since it targets the same dataset without stating whether it is keyword search or a general filter. query_sf_dataset_resource is a generic escape hatch that can also hit the business dataset, further blurring boundaries.

    Naming Consistency4/5

    All names are snake_case with a consistent sf/sf_opendata qualifier and readable verb_noun phrasing. The only inconsistency is the mixed verb choice (search vs query) applied across similar operations, which is a minor deviation.

    Tool Count5/5

    Five tools is well-scoped for a single-domain open-data lookup server, with each tool covering a distinct access pattern (catalog discovery, business search, two filters, raw dataset query).

    Completeness4/5

    The surface covers catalog discovery, keyword search, industry filtering, geography filtering, and a generic raw-query fallback that can work around most gaps. Direct lookup of a single business by registration/license number or an address-based filter is missing, but the generic dataset query mitigates this.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Provides access to San Francisco public permitting, business, and property data through the Socrata SODA API. Users can search permit details, aggregate statistics, and look up property assessments using natural language.
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI agents to query and retrieve San Francisco open data from data.sfgov.org via the Socrata SODA API.
      102 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables querying live U.S. federal spending data — searching contracts, grants, IDVs and loans, pulling full award details, comparing agency budgets, ranking top contractors and grant recipients, and sizing NAICS industry markets. Talks directly to the official USAspending.gov API v2 with no API key or account required, and is available as a hosted Streamable HTTP endpoint or a local stdio server.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables KYB, credit, and legal teams to search official French company records and verify SIREN/SIRET numbers, directors, NAF industry codes, and annual financials without any API keys. It runs as a hosted Streamable HTTP endpoint or locally over stdio.
      MIT