# sok_kommune

Slå opp kommune og fylke for et geografisk punkt (WGS84) via Kartverkets kommuneinfo-API.

Agent View of the PolicyLayer registry record for `sok_kommune`. HTML page: https://policylayer.com/tools/3121n-nor-data-kartverket-mcp/sok-kommune

## Facts

- Tool: `sok_kommune`
- Server: Kartverket (`@nor-data/kartverket-mcp`) — https://policylayer.com/tools/3121n-nor-data-kartverket-mcp.md
- Install: `npx -y @nor-data/kartverket-mcp`
- Homepage: https://github.com/3121n/nor-data-kartverket-mcp
- Risk category: Read (Low risk)
- Registry record: grade A, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "sok_kommune",
    "arguments": {}
  }
}
```

## Why sok_kommune is rated Low

This tool retrieves municipality and county information for a geographic coordinate (WGS84) from a read-only API. It performs a straightforward lookup with no capacity to modify, delete, or execute external operations. The blast radius of misuse is minimal—returning incorrect geographic metadata poses no security or safety risk.

From the tool's own definition: "Tool name 'sok_kommune' (lookup municipality) and description 'Slå opp kommune og fylke' (look up municipality and county) indicate a query/lookup operation."

## Use case

AI agents call sok_kommune 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.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Kartverket:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "sok_kommune": {}
  }
}
```

## Other tools on Kartverket (6)

- `hent_hoyde` — Read — https://policylayer.com/tools/3121n-nor-data-kartverket-mcp/hent-hoyde.md
- `sok_adresse` — Read — https://policylayer.com/tools/3121n-nor-data-kartverket-mcp/sok-adresse.md
- `sok_bygning` — Read — https://policylayer.com/tools/3121n-nor-data-kartverket-mcp/sok-bygning.md
- `sok_eiendom` — Read — https://policylayer.com/tools/3121n-nor-data-kartverket-mcp/sok-eiendom.md
- `sok_grunnkrets` — Read — https://policylayer.com/tools/3121n-nor-data-kartverket-mcp/sok-grunnkrets.md
- `sok_stedsnavn` — Read — https://policylayer.com/tools/3121n-nor-data-kartverket-mcp/sok-stedsnavn.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=3121n-nor-data-kartverket-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/3121n-nor-data-kartverket-mcp
