MCP tool
search
Search the data catalogRead-only
Find tables, datasets, columns, variables (e.g. count_death, infant_mortality_rate), entity types (municipality, school, death…), code systems and topics. Start here. Ranking blends Portuguese + English full text, fuzzy names, semantic similarity, the ontology (a topic's sub-topics, a derived variable's inputs) and curation level. Filters: entity_type = one row per it ('municipality', 'state', 'death'), references = rows mention it (aggregable to it), variable, topic ('health.mortality'), period_from/period_to (years), provider, access (the access method: bigquery, postgres, athena, files, rest, …), min_maturity (2 = grain and roles known, 4 = verified), kind. Optional `intent`: the user's question in one sentence, without personal identifiers; Evidence logs it to learn which data people need (it doesn't change the ranking). Next: describe(id) on a promising table, or explore(id) on a variable, entity type or topic.
Parameters
querystringrequired- What to look for, in Portuguese or English (e.g. "PIB municipal", "infant mortality by municipality").
accessstringoptional- Access method (connector): bigquery, postgres, athena, files, rest, … Or "platform" (tables mcp queries with its own credentials) or "caller" (tables that need your own credential).
entity_typestringoptional- Only tables with ONE ROW PER this entity type: its id, slug or name, e.g. "municipality", "state", "school", "death", "Município".
intentstringoptional- The user's underlying question, in one sentence.
kindstringoptional- Restrict to one kind: table, dataset, column, variable, entity_type, code_system, topic, publisher, unit, or any (the default: tables, datasets, columns, variables, entity types, code systems and topics). Plurals work.
limitintegeroptional- Max results (default 8, max 25).
min_maturityintegeroptional- Minimum curation level 0–5 (2 = structured: grain and column roles known; 4 = verified).
period_fromintegeroptional- Only tables with data on or after this year.
period_tointegeroptional- Only tables with data on or before this year.
providerstringoptional- Publisher id, slug or name, e.g. "urn:publisher:bdd:ibge", "ibge".
referencesstringoptional- Only tables whose rows mention this entity type (so they can be aggregated to it), e.g. "municipality".
topicstringoptional- Only tables under this topic (sub-topics included): id, slug or name, e.g. "health.mortality".
variablestringoptional- Only tables with a column measuring this variable (id, slug or name), e.g. "count_death", "count_person".
Input schema (JSON)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"access": {
"default": null,
"description": "Access method (connector): bigquery, postgres, athena, files, rest, … Or \"platform\" (tables mcp\nqueries with its own credentials) or \"caller\" (tables that need your own credential).",
"type": [
"string",
"null"
]
},
"entity_type": {
"default": null,
"description": "Only tables with ONE ROW PER this entity type: its id, slug or name, e.g. \"municipality\", \"state\",\n\"school\", \"death\", \"Município\".",
"type": [
"string",
"null"
]
},
"intent": {
"default": null,
"description": "The user's underlying question, in one sentence.",
"type": [
"string",
"null"
]
},
"kind": {
"default": null,
"description": "Restrict to one kind: table, dataset, column, variable, entity_type, code_system, topic, publisher, unit,\nor any (the default: tables, datasets, columns, variables, entity types, code systems and topics). Plurals work.",
"type": [
"string",
"null"
]
},
"limit": {
"default": null,
"description": "Max results (default 8, max 25).",
"format": "int64",
"type": [
"integer",
"null"
]
},
"min_maturity": {
"default": null,
"description": "Minimum curation level 0–5 (2 = structured: grain and column roles known; 4 = verified).",
"format": "int16",
"maximum": 32767,
"minimum": -32768,
"type": [
"integer",
"null"
]
},
"period_from": {
"default": null,
"description": "Only tables with data on or after this year.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"period_to": {
"default": null,
"description": "Only tables with data on or before this year.",
"format": "int64",
"type": [
"integer",
"null"
]
},
"provider": {
"default": null,
"description": "Publisher id, slug or name, e.g. \"urn:publisher:bdd:ibge\", \"ibge\".",
"type": [
"string",
"null"
]
},
"query": {
"description": "What to look for, in Portuguese or English (e.g. \"PIB municipal\", \"infant mortality by municipality\").",
"type": "string"
},
"references": {
"default": null,
"description": "Only tables whose rows mention this entity type (so they can be aggregated to it), e.g. \"municipality\".",
"type": [
"string",
"null"
]
},
"topic": {
"default": null,
"description": "Only tables under this topic (sub-topics included): id, slug or name, e.g. \"health.mortality\".",
"type": [
"string",
"null"
]
},
"variable": {
"default": null,
"description": "Only tables with a column measuring this variable (id, slug or name), e.g. \"count_death\", \"count_person\".",
"type": [
"string",
"null"
]
}
},
"required": [
"query"
],
"type": "object"
}