Nova Scotia Data Explorer

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

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
100%
Integridad del esquema
80%
Calidad de los nombres
100%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~874Tokens (definiciones de herramientas)
~1.2 KBTamaño de respuesta típico
Impacto moderado en la atención (0.68% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "nova-scotia-data-explorer": {
      "url": "https://scotiasignal.ca/mcp"
    }
  }
}

Puntos de conexión remotos

https://scotiasignal.ca/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (4)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢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.

Esquema de entrada

{
  "type": "object",
  "properties": {}
}
🟢search_datasets(query, category, tag, limit, offset)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "query": {
      "description": "Free-text search query (e.g. 'population', 'fisheries', 'road network')",
      "type": "string"
    },
    "category": {
      "description": "Filter by exact category name from list_categories (e.g. 'Health and Wellness', 'Lands, Forests and Wildlife', 'Crime and Justice', 'Population and Demographics')",
      "type": "string"
    },
    "tag": {
      "description": "Filter by an exact tag name from list_categories (e.g. 'population', 'fisheries')",
      "type": "string"
    },
    "limit": {
      "description": "Maximum number of results to return (1–50, default 10)",
      "default": 10,
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    },
    "offset": {
      "description": "Offset for pagination (default 0)",
      "default": 0,
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_dataset_metadata(dataset_id)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "dataset_id": {
      "description": "8-character Socrata dataset identifier (e.g. '3nka-59nz')",
      "type": "string"
    }
  },
  "required": [
    "dataset_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢query_dataset(dataset_id, soql, limit)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "dataset_id": {
      "description": "8-character Socrata dataset identifier (e.g. '3nka-59nz')",
      "type": "string"
    },
    "soql": {
      "description": "SoQL query string. Multiple clauses joined with '&'. String values in $where must use single quotes: field='value'. Do NOT URL-encode — pass the raw string.",
      "type": "string"
    },
    "limit": {
      "description": "Max rows to return (1–1000, default 25). Ignored if $limit is in soql.",
      "default": 25,
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    }
  },
  "required": [
    "dataset_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada4 herramientas
verificadoversión no registrada4 herramientas
verificadoversión no registrada4 herramientas