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

canada-calgary-open-data-mcp

README.md
# 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.

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

## 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.

```json
{
  "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.

```bash
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.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.canada-calgary-open-data-mcp) with hosted commercial servers and priority endpoints.

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