# Nova Scotia Data Explorer

> Query and explore Nova Scotia open datasets via the Socrata SODA API.

- name: io.github.SevaSk/nova-scotia-data-explorer
- version: 1.0.0
- connection class: R0 (autonomous)
- trust: 86/100
- quality: 79/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.SevaSk%2Fnova-scotia-data-explorer
- tools: https://api.protogrid.dev/v1/servers/io.github.SevaSk%2Fnova-scotia-data-explorer/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "nova-scotia-data-explorer": {
      "type": "http",
      "url": "https://scotiasignal.ca/mcp"
    }
  }
}
```


## Trust

- hygiene: 100
- liveness: 100
- freshness: 45
- provenance: 90
- drivers: +repository +namespace-matches-repo +website +reachable +uptime-100% -stale-235d
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 79/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 71 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: list_categories (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); search_datasets (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_dataset_metadata (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 837 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 4, about 837 tokens to load them all
- tool set hash: 3cbfa761d738ac34c594d61750bd64a3
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.SevaSk/nova-scotia-data-explorer.svg)](https://protogrid.dev/servers/io.github.SevaSk/nova-scotia-data-explorer)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Remotes

- https://scotiasignal.ca/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (4)

- `get_dataset_metadata`: Retrieve full schema and metadata for a Nova Scotia Open Data dataset by its 8-character identifier (e.g. '3nka-59nz'). Returns all column field names, data types, and descriptions — essential before calling query_dataset so you know the exact field names to use in $select and $where clauses.
- `list_categories`: Returns all dataset categories and popular tags available on the Nova Scotia Open Data portal. Use this first to discover valid category names before calling search_datasets with a category filter.
- `query_dataset`: Run a SoQL query against a Nova Scotia Open Data dataset. SoQL is SQL-like.

Key clauses (combine with &):
  $select=col1,col2         — choose columns
  $where=field='value'      — filter rows (use single quotes for strings)
  $where=field like '%val%' — partial match
  $order=field DESC         — sort
  $limit=50                 — row count (default 25, max 50000)
  $offset=50                — pagination
  $group=field              — group by (use with aggregate functions)
  $q=search term            — full-text search

Aggregates: count(*), sum(col), avg(col), min(col), max(col)

Examples:
  $where=year='2024'&$order=total DESC&$limit=10
  $select=department,count(*)&$group=department&$order=count(*) DESC
  $where=area like '%Halifax%'&$limit=5

Always call get_dataset_metadata first to find exact field names.
- `search_datasets`: Search the Nova Scotia Open Data catalog (data.novascotia.ca) for datasets by keyword, category, or tag. Returns dataset names, IDs, descriptions, column names, and direct portal links. Use list_categories first to see valid category and tag names. Use the returned dataset ID with query_dataset or get_dataset_metadata for further exploration.
