sok_bygning
Finn bygninger (Matrikkelen-Bygningspunkt, Kartverket) rundt et koordinat (WGS84). Returnerer bygningstype (NS-3457, dekodet), bygningsstatus (dekodet — RA/IG indikerer byggeaktivitet), SEFRAK-minne (proxy for eldre bygg, hovedsakelig før 1900), kulturminne-flagg og avstand fra punktet. NB: bygge...
This record as markdown: /tools/3121n-nor-data-kartverket-mcp/sok-bygning.md
What sok_bygning does on Kartverket
AI agents call sok_bygning to retrieve information from Kartverket without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why sok_bygning is rated Low
This tool retrieves and queries geographic building data from Kartverket's open API based on coordinates. It is purely a read operation that returns structured data about buildings (type, status, cultural heritage flags, distance) with no side effects. The tool requires only input coordinates (WGS84) and returns informational attributes. No data is created, modified, deleted, or used to trigger external actions.
From the tool's definition Tool name 'sok_bygning' means 'search building'; description states it 'Finn bygninger' (find buildings) and 'Returnerer' (returns) building data like type, status, and historical flags around a coordinate.
Attacks that exploit this kind of access
The rule that runs sok_bygning safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Kartverket, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For sok_bygning, this is the rule to start with:
sok_bygning 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 Kartverket, apply this rule, and every sok_bygning call is checked against it from then on.
Questions about sok_bygning
Finn bygninger (Matrikkelen-Bygningspunkt, Kartverket) rundt et koordinat (WGS84). Returnerer bygningstype (NS-3457, dekodet), bygningsstatus (dekodet — RA/IG indikerer byggeaktivitet), SEFRAK-minne (proxy for eldre bygg, hovedsakelig før 1900), kulturminne-flagg og avstand fra punktet. NB: byggeår finnes IKKE i det åpne datasettet (krever full Matrikkel-avtale) — SEFRAK-flagget er nærmeste åpne alderssignal. Kilde: Kartverket WFS, CC BY 4.0, avtale-fri. It is categorised as a Read tool in the Kartverket MCP Server, which means it retrieves data without modifying state.
Register the Kartverket MCP server in PolicyLayer and add a rule for sok_bygning: 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 Kartverket. Nothing to install.
sok_bygning 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 sok_bygning 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 sok_bygning. 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.
sok_bygning is provided by the Kartverket MCP server (@nor-data/kartverket-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Kartverket, and thousands of servers like it.
This server
Across the catalogue