Skip to main content
Glama
3121n

@nor-data/statfin-mcp

by 3121n

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
sok_tabellA

Search the Statistics Finland (Tilastokeskus) StatFin database for statistical tables by keyword. PxWeb has no server-side search, so this matches a bundled index of all StatFin tables locally and returns the most relevant ones with their tabell_id (use it in hent_tabell / hent_data). Search English titles.

hent_tabellA

Get metadata for a StatFin table: title, dimensions (variables) and their valid value codes + labels. Use this before hent_data to learn which filter codes are available. Variable codes (e.g. 'Alue', 'Vuosi') are language-independent; pass them verbatim to hent_data.

hent_dataA

Fetch actual data values from a StatFin table as JSON-stat2. filtre is a flat object mapping each variable code (from hent_tabell) to a list of selected value codes, e.g. {Alue: ['SSS'], Vuosi: ['2024']}. Omit filtre for the table's default selection. Special selections: {filter:'top', values:['1']} for the latest value(s), {filter:'agg:...'} for groupings. Keep selections small — the API rejects queries over ~100 000 cells.

list_emnerA

List the StatFin subject areas (~140 databases, e.g. 'vaerak' = Population structure). Use a subject id to scope sok_tabell, or to browse when a keyword search misses.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/3121n/nor-data-statfin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server