ssbnorway.stats.population
Get Norwegian population statistics from the official SSB population register (table 07459). Returns total resident population by year as a JSON-stat2 dataset. Covers Norway as a whole (region_code="0") or any county/municipality by region code. Data goes back to 1986 and is updated annually (ref...
This record as markdown: /tools/io-github-whiteknightonhorse-apibase/ssbnorway.stats.population.md
What ssbnorway.stats.population does on Apibase
AI agents call ssbnorway.stats.population to retrieve information from Apibase without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
years | integer | — | Number of most recent years to include (1–20, default 5). Table 07459 covers 1986 to the current reference year. |
region_code | string | — | Norwegian region code from SSB classification. "0" = The whole country (default). County codes (2024 structure): "31" Østfold, "32" Akershus, "03" Oslo, "33" Bu |
Parameters from the server's own tool schema.
Why ssbnorway.stats.population is rated Low
Retrieves public demographic data with no side effects or modification capabilities.
From the tool's definition Get Norwegian population statistics, Returns total resident population, query official register
Attacks that exploit this kind of access
The rule that runs ssbnorway.stats.population safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Apibase, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For ssbnorway.stats.population, this is the rule to start with:
ssbnorway.stats.population is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Apibase, apply this rule, and every ssbnorway.stats.population call is checked against it from then on.
Questions about ssbnorway.stats.population
Get Norwegian population statistics from the official SSB population register (table 07459). Returns total resident population by year as a JSON-stat2 dataset. Covers Norway as a whole (region_code="0") or any county/municipality by region code. Data goes back to 1986 and is updated annually (reference date January 1st each year). Region codes: "0" = whole country, "03" = Oslo, "11" = Rogaland, "15" = Møre og Romsdal, "18" = Nordland, "46" = Vestland, "50" = Trøndelag. Use ssbnorway.data.metadata on table 07459 to get all 994 municipality-level region codes. This is a simplified shortcut — for sex/age breakdowns use ssbnorway.data.query with table 07459 and the Kjonn/Alder dimension codes from ssbnorway.data.metadata. It is categorised as a Read tool in the Apibase MCP Server, which means it retrieves data without modifying state.
ssbnorway.stats.population accepts 2 parameters: years, region_code. The full parameter table on this page comes from the server's own tool schema.
Register the Apibase MCP server in PolicyLayer and add a rule for ssbnorway.stats.population: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Apibase. Nothing to install.
ssbnorway.stats.population is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the ssbnorway.stats.population rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for ssbnorway.stats.population. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
ssbnorway.stats.population is provided by the Apibase MCP server (apibase-mcp-client). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Apibase, and thousands of servers like it.
This server
Across the catalogue