Skip to main content
Glama
canada-calgary-open-data-mcp

canada-calgary-open-data-mcp

canada-calgary-open-data-mcp

City of Calgary Open Data Socrata portal over Model Context Protocol (MCP). Property researchers, urban planners, and GovTech teams can query data.calgary.ca for commercial building permits, business licenses, zoning, and municipal datasets with no API keys. Setup takes seconds.

Hosted endpoint

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

https://canada-calgary-open-data-mcp.lipmichal.workers.dev/mcp

Related MCP server: data-calgary

Available tools

Tool

Purpose

search_calgary_opendata_catalog

Search public municipal datasets published on data.calgary.ca by keyword or category.

query_calgary_building_permits

Query live City of Calgary building permit records from dataset c2es-76ed with optional filters.

query_calgary_socrata_dataset

Query live rows from any City of Calgary Socrata dataset by resource ID using SoQL parameters.

list_calgary_dataset_categories

List official dataset categories and counts across the City of Calgary open data catalog.

get_calgary_dataset_metadata

Fetch schema columns, types, description, and update timestamps for a City of Calgary dataset ID.

Client configuration

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

{
  "mcpServers": {
    "canada-calgary-open-data": {
      "url": "https://canada-calgary-open-data-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.calgary.ca with a polite User-Agent header (mcpstamp-canada-calgary-open-data/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
get_calgary_dataset_metadataGet Calgary dataset metadataA
Read-onlyIdempotent

Fetch metadata, typed column definitions, description, and update timestamps for a City of Calgary dataset ID.

Inputs: dataset_id (required).

list_calgary_dataset_categoriesList Calgary dataset categoriesA
Read-onlyIdempotent

List official dataset categories and dataset counts published on data.calgary.ca.

Inputs: no named parameters.

query_calgary_building_permitsQuery Calgary building permitsB
Read-onlyIdempotent

Query live City of Calgary building permit records from dataset c2es-76ed with optional full-text search, SoQL filter, and sorting.

Inputs: q, limit, order, where, +1 more.

query_calgary_socrata_datasetQuery Calgary Socrata datasetA
Read-onlyIdempotent

Query live rows from any City of Calgary Socrata dataset by four-by-four resource ID using optional SoQL parameters.

Inputs: dataset_id (required), q, limit, order, +3 more.

search_calgary_opendata_catalogSearch Calgary open data catalogA
Read-onlyIdempotent

Search public municipal datasets on data.calgary.ca by keyword, category, and pagination.

Inputs: limit, query, offset, category.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool has a reasonably distinct role: catalog search, category listing, metadata retrieval, generic row query, and a specialized building-permit query. The main overlap is between query_calgary_building_permits and query_calgary_socrata_dataset, since the former is functionally a named shortcut for a specific dataset ID, which could cause occasional misselection.

    Naming Consistency4/5

    All names are snake_case and verb-first (search_, query_, list_, get_), with a consistent 'calgary' domain segment. Minor inconsistency: one tool says 'opendata_catalog' while the rest use 'dataset'/'datasets', and the noun phrase length varies, but the pattern is still predictable.

    Tool Count5/5

    Five tools is well-scoped for a municipal open-data catalog server: discovery, navigation, metadata, and querying without redundancy bloat. Each tool earns its place, with only the permit-specific query being questionably additive.

    Completeness4/5

    The surface covers the core lifecycle: find datasets via search/categories, inspect schema via metadata, and pull rows via the generic Socrata query, plus a convenience wrapper for the popular permits dataset. Gaps are minor — no aggregation/group-by helper and no export or sample-preview convenience, but agents can work around these with SoQL.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables querying Calgary open data from data.calgary.ca using the Socrata SODA API through natural language questions or direct tool calls.
      94 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables searching and querying the Nova Scotia Open Data catalog via Socrata SoQL. Provides tools to find datasets, query data, and get metadata by resource ID.
      68 npm
      MIT