azstat

v0.1.0
io.github.azerbaijan-mcp/azstat Checked 3 days ago Published 1 month ago

Official Azerbaijani statistics: search State Statistical Committee tables and read their data.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_topics List Topics

The Committee's statistical topics (demography, labour market, education and so on).

ParameterTypeDescription
langstringLanguage of the topic names.

search_tables Search Tables

Search the Committee's statistical tables (about 1,800). Titles with the query words rank first. Use describe_table on a result to see what it holds. Without a query, the tables of the topic are listed.

ParameterTypeDescription
langstringLanguage of titles and of the words searched.
limitintegerTables to return.
offsetintegerTables to skip, for paging.
queryWords to find in a table's title or description; all must appear.
topicA topic id or part of a topic name, from list_topics.

describe_table Describe Table

What a table holds: its description, periods, units and each dimension's categories. Reads the whole table once (cached), so a big table takes a moment. Use the category names it shows in the where filter of get_table_data.

ParameterTypeDescription
table_id *stringA table id from search_tables, such as DT_AA_001.
category_queryWords to look for in category names, to find the exact ones to filter.
langstringLanguage of names and categories.

get_table_data Get Table Data

Rows of one statistical table in long format, filtered by period and category. `columns` names the cells of each row: the period, one column per dimension, the value, and symbol and unit when the rows have them. A null value with a symbol means the Committee published the symbol instead of a number. Use describe_table first to see the dimensions and the exact category names.

ParameterTypeDescription
table_id *stringA table id from search_tables, such as DT_AA_001.
langstringLanguage of names and categories.
limitintegerRows to return.
offsetintegerRows to skip, for paging.
period_fromFirst period to include: a year such as 2015, or 2025-03 for a month.
period_toLast period to include, written like period_from.
whereCategory filters, for example {"Indicator": "Total population"}. A key is a dimension name or its number (1, 2, ...); a value is words that must appear in the category name. Every filter must match.