Fonsora Canadian Data Catalog
Search Canadian datasets, check sources and reuse terms, and find CSV and Parquet downloads.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"fonsora": {
"url": "https://fonsora.net/mcp"
}
}
}Remote endpoints
https://fonsora.net/mcpstreamable-httpWhat it can do
Tool inventory
Tools (15)
🟢get_analysis(id, sha256, spec, offset, limit)
Analyze an open edition. Operations include series, availability, calendar, notes, revisions, histogram, percentiles, rollup, yoy and cube. See /agents/#analysis.
Input Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"sha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"spec": {
"type": "object",
"additionalProperties": false,
"required": [
"op"
],
"properties": {
"op": {
"enum": [
"series",
"availability",
"calendar",
"notes",
"revisions",
"histogram",
"percentiles",
"rollup",
"yoy",
"cube"
]
},
"dimensions": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1
}
},
"by": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1
}
},
"measure": {
"type": "string",
"minLength": 1
},
"where": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"column",
"op",
"value"
],
"properties": {
"column": {
"type": "string",
"minLength": 1
},
"op": {
"enum": [
"eq",
"prefix",
"contains",
"in",
"gte",
"lte"
]
},
"value": {
"description": "An exact cell string, search text, list of cell strings, or typed range bound according to the operator."
},
"as": {
"enum": [
"number",
"period"
],
"description": "Interpret a range bound as an exact decimal or a calendar period."
}
},
"oneOf": [
{
"properties": {
"op": {
"const": "eq"
},
"value": {
"type": "string"
},
"as": false
}
},
{
"properties": {
"op": {
"enum": [
"prefix",
"contains"
]
},
"value": {
"type": "string",
"minLength": 1
},
"as": false
}
},
{
"properties": {
"op": {
"const": "in"
},
"value": {
"type": "array",
"minItems": 1,
"maxItems": 50,
"items": {
"type": "string"
}
},
"as": false
}
},
{
"properties": {
"op": {
"enum": [
"gte",
"lte"
]
},
"value": {
"type": "string",
"minLength": 1
}
},
"required": [
"as"
]
}
]
}
},
"from": {
"type": "string",
"description": "Current or previous CSV digest, or empty for an initial sync."
},
"mode": {
"enum": [
"allFields",
"sharedFields"
]
},
"edges": {
"type": "array",
"minItems": 2,
"maxItems": 65,
"items": {
"type": "string",
"minLength": 1
}
},
"percentiles": {
"type": "array",
"minItems": 1,
"maxItems": 20,
"items": {
"type": "number",
"minimum": 0,
"maximum": 100
}
},
"method": {
"enum": [
"sum",
"mean",
"last",
"absolute",
"percent"
]
},
"frequency": {
"enum": [
"year",
"quarter"
]
}
},
"oneOf": [
{
"properties": {
"op": {
"const": "series"
}
},
"propertyNames": {
"enum": [
"op",
"where"
]
}
},
{
"properties": {
"op": {
"const": "availability"
}
},
"propertyNames": {
"enum": [
"op",
"dimensions",
"where"
]
},
"required": [
"dimensions"
]
},
{
"properties": {
"op": {
"const": "calendar"
}
},
"propertyNames": {
"enum": [
"op"
]
}
},
{
"properties": {
"op": {
"const": "notes"
}
},
"propertyNames": {
"enum": [
"op",
"where"
]
}
},
{
"properties": {
"op": {
"const": "revisions"
}
},
"propertyNames": {
"enum": [
"op",
"from",
"mode"
]
},
"required": [
"from"
]
},
{
"properties": {
"op": {
"const": "histogram"
}
},
"propertyNames": {
"enum": [
"op",
"measure",
"edges",
"by",
"where"
]
},
"required": [
"measure",
"edges"
]
},
{
"properties": {
"op": {
"const": "percentiles"
}
},
"propertyNames": {
"enum": [
"op",
"measure",
"percentiles",
"by",
"where"
]
},
"required": [
"measure"
]
},
{
"properties": {
"op": {
"const": "rollup"
},
"method": {
"enum": [
"sum",
"mean",
"last"
]
}
},
"propertyNames": {
"enum": [
"op",
"frequency",
"method",
"where"
]
},
"required": [
"frequency",
"method"
]
},
{
"properties": {
"op": {
"const": "yoy"
},
"method": {
"enum": [
"absolute",
"percent"
]
}
},
"propertyNames": {
"enum": [
"op",
"method",
"where"
]
},
"required": [
"method"
]
},
{
"properties": {
"op": {
"const": "cube"
}
},
"propertyNames": {
"enum": [
"op",
"dimensions",
"measure",
"where"
]
},
"required": [
"dimensions",
"measure"
]
}
]
},
"offset": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"id",
"spec"
],
"additionalProperties": false
}🟢get_bundle(ids, files)
Get the manifest and a pinned ZIP download link for selected open editions.
Input Schema
{
"type": "object",
"properties": {
"ids": {
"type": "array",
"minItems": 1,
"maxItems": 12,
"items": {
"type": "string"
}
},
"files": {
"type": "string",
"enum": [
"csv",
"parquet",
"both"
]
}
},
"required": [
"ids"
],
"additionalProperties": false
}🟢get_areas(code)
Traverse a geographic parent or its children and find editions covering its descendants.
Input Schema
{
"type": "object",
"properties": {
"code": {
"type": "string"
}
},
"required": [],
"additionalProperties": false
}🟢get_dictionary(column)
Read a versioned publisher code list linked from an edition schema.
Input Schema
{
"type": "object",
"properties": {
"column": {
"type": "string",
"minLength": 1,
"description": "Exact CSV column name."
}
},
"required": [
"column"
],
"additionalProperties": false
}🟢get_vintage(id, at)
Resolve the reviewed file pair in the latest retained catalog snapshot at or before a UTC time.
Input Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"at": {
"type": "string"
}
},
"required": [
"id",
"at"
],
"additionalProperties": false
}🟢get_geographies(geo, bbox, q, lang)
Find active regional codes, bilingual names, extents and edition links.
Input Schema
{
"type": "object",
"properties": {
"geo": {
"type": "string",
"description": "ISO subdivision code from get_geographies."
},
"bbox": {
"type": "string",
"description": "West,south,east,north in OGC:CRS84 degrees."
},
"q": {
"type": "string"
},
"lang": {
"type": "string",
"enum": [
"en",
"fr"
]
}
},
"required": [],
"additionalProperties": false
}🟢get_batch(ids)
Get up to 20 active edition manifests in order, with per-item status.
Input Schema
{
"type": "object",
"properties": {
"ids": {
"type": "array",
"minItems": 1,
"maxItems": 20,
"items": {
"type": "string"
}
}
},
"required": [
"ids"
],
"additionalProperties": false
}🟢search_editions(geo, bbox, within, q, collection, ...)
Search or enumerate editions. Use limit=0 for counts and facets. Use sort=id and after for forward crawling. Select files and manifest for download URLs, checksums and terms.
Input Schema
{
"type": "object",
"properties": {
"geo": {
"type": "string",
"description": "ISO subdivision code from get_geographies."
},
"bbox": {
"type": "string",
"description": "West,south,east,north in OGC:CRS84 degrees."
},
"within": {
"type": "string",
"description": "Area code including descendants."
},
"q": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"collection": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"sort": {
"type": "string",
"enum": [
"relevance",
"title",
"rows",
"id",
"modified"
]
},
"changeKind": {
"type": "string",
"enum": [
"edition",
"files",
"metadata"
],
"description": "Select which change date to filter or sort."
},
"modifiedSince": {
"type": "string",
"minLength": 10,
"maxLength": 24,
"description": "Inclusive UTC date or timestamp of material edition change."
},
"modifiedBefore": {
"type": "string",
"minLength": 10,
"maxLength": 24,
"description": "Exclusive UTC date or timestamp of material edition change."
},
"after": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"fields": {
"type": "string",
"minLength": 1,
"description": "Comma-separated result fields, such as identifier,access,files,manifest."
},
"access": {
"type": "string",
"enum": [
"open",
"agreement"
]
},
"limit": {
"type": "integer",
"minimum": 0,
"maximum": 20,
"default": 5
},
"minRows": {
"type": "integer",
"minimum": 0
},
"maxRows": {
"type": "integer",
"minimum": 0
},
"offset": {
"type": "integer",
"minimum": 0
}
},
"required": [],
"additionalProperties": false
}🟢get_rows(id, column, offset, limit, sha256, ...)
Read open CSV rows. Use column with eq for exact text, or with as and inclusive range bounds. Use sha256 to pin later pages. The result includes CSV and NDJSON download links for the selected rows.
Input Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"column": {
"type": "string",
"minLength": 1,
"description": "Exact CSV column name."
},
"offset": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 5
},
"sha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"query": {
"type": "object",
"minProperties": 1,
"additionalProperties": false,
"dependentRequired": {
"having": [
"aggregate"
]
},
"properties": {
"bbox": {
"type": "string",
"description": "Select reviewed WGS84 observation points using west,south,east,north. The source schema must declare x-fonsora-spatial."
},
"where": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"column",
"op",
"value"
],
"properties": {
"column": {
"type": "string",
"minLength": 1
},
"op": {
"enum": [
"eq",
"prefix",
"contains",
"in",
"gte",
"lte"
]
},
"value": {
"description": "An exact cell string, search text, list of cell strings, or typed range bound according to the operator."
},
"as": {
"enum": [
"number",
"period"
],
"description": "Interpret a range bound as an exact decimal or a calendar period."
}
},
"oneOf": [
{
"properties": {
"op": {
"const": "eq"
},
"value": {
"type": "string"
},
"as": false
}
},
{
"properties": {
"op": {
"enum": [
"prefix",
"contains"
]
},
"value": {
"type": "string",
"minLength": 1
},
"as": false
}
},
{
"properties": {
"op": {
"const": "in"
},
"value": {
"type": "array",
"minItems": 1,
"maxItems": 50,
"items": {
"type": "string"
}
},
"as": false
}
},
{
"properties": {
"op": {
"enum": [
"gte",
"lte"
]
},
"value": {
"type": "string",
"minLength": 1
}
},
"required": [
"as"
]
}
]
}
},
"orderBy": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"column": {
"type": "string",
"minLength": 1
},
"as": {
"enum": [
"text",
"number",
"period"
]
},
"direction": {
"enum": [
"asc",
"desc"
]
}
},
"required": [
"column"
]
}
},
"latest": {
"type": "object",
"description": "Rank calendar periods and explicit comparison spans by end then start. Fiscal years use the labelled year within a group with one reporting convention.",
"additionalProperties": false,
"properties": {
"per": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"items": {
"type": "string",
"minLength": 1
},
"uniqueItems": true
},
"period": {
"type": "string",
"minLength": 1
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"per",
"period",
"count"
]
},
"aggregate": {
"type": "object",
"additionalProperties": false,
"properties": {
"by": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"items": {
"type": "string",
"minLength": 1
},
"uniqueItems": true
},
"measure": {
"type": "string",
"minLength": 1
}
},
"required": [
"by",
"measure"
]
},
"having": {
"type": "array",
"minItems": 1,
"maxItems": 8,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"column",
"op",
"value"
],
"properties": {
"column": {
"type": "string",
"minLength": 1
},
"op": {
"enum": [
"eq",
"prefix",
"contains",
"in",
"gte",
"lte"
]
},
"value": {
"description": "An exact cell string, search text, list of cell strings, or typed range bound according to the operator."
},
"as": {
"enum": [
"number",
"period"
],
"description": "Interpret a range bound as an exact decimal or a calendar period."
}
},
"oneOf": [
{
"properties": {
"op": {
"const": "eq"
},
"value": {
"type": "string"
},
"as": false
}
},
{
"properties": {
"op": {
"enum": [
"prefix",
"contains"
]
},
"value": {
"type": "string",
"minLength": 1
},
"as": false
}
},
{
"properties": {
"op": {
"const": "in"
},
"value": {
"type": "array",
"minItems": 1,
"maxItems": 50,
"items": {
"type": "string"
}
},
"as": false
}
},
{
"properties": {
"op": {
"enum": [
"gte",
"lte"
]
},
"value": {
"type": "string",
"minLength": 1
}
},
"required": [
"as"
]
}
]
}
},
"quality": {
"type": "object",
"additionalProperties": false,
"required": [
"column",
"label"
],
"properties": {
"column": {
"enum": [
"status_code",
"symbol_code",
"security_code"
]
},
"label": {
"type": "string"
}
}
},
"sample": {
"type": "object",
"additionalProperties": false,
"required": [
"seed",
"count"
],
"properties": {
"seed": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 1000
}
}
}
},
"description": "Combined row query. See /agents/#advanced-rows."
},
"fields": {
"type": "string",
"minLength": 1,
"description": "Comma-separated CSV column names."
},
"eq": {
"type": "string",
"description": "Exact cell text. An empty string matches an empty cell."
},
"as": {
"type": "string",
"enum": [
"number",
"period"
],
"description": "Range type. Period matches overlapping calendar years, quarters, months, days or slash-separated pairs of calendar endpoints."
},
"gte": {
"type": "string",
"minLength": 1,
"description": "Inclusive lower bound as text."
},
"lte": {
"type": "string",
"minLength": 1,
"description": "Inclusive upper bound as text."
},
"order": {
"type": "string",
"enum": [
"asc",
"desc"
],
"description": "Order all typed matches before paging. Ties retain CSV order."
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢get_values(id, column, offset, limit, sha256)
List distinct values and their row counts for one open CSV column, most frequent first.
Input Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"column": {
"type": "string",
"minLength": 1,
"description": "Exact CSV column name."
},
"offset": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 5
},
"sha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
}
},
"required": [
"id",
"column"
],
"additionalProperties": false
}🟢get_schema(id, sha256, lang, q)
Read the ordered CSV fields and their revision-pinned profile links for an open edition.
Input Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"sha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"lang": {
"type": "string",
"enum": [
"en",
"fr"
]
},
"q": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢get_profile(id, column, sha256)
Inspect an open CSV column’s exact completeness, distinct nonempty count and numeric bounds.
Input Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"column": {
"type": "string",
"minLength": 1,
"description": "Exact CSV column name."
},
"sha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
}
},
"required": [
"id",
"column"
],
"additionalProperties": false
}🟢get_versions(id, revision)
Get the current file revision and verified predecessor, or resolve a retained revision by its CSV and Parquet checksum pair.
Input Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"revision": {
"type": "string",
"pattern": "^[0-9a-f]{64}\\.[0-9a-f]{64}$"
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢get_edition(id)
Get the edition's source metadata.
Input Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢get_manifest(id)
Get file checksums, download access and reuse terms.
Input Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"id"
],
"additionalProperties": false
}Community
Evidence