# kartverket-mcp [Health: Active]

**Category:** 🗺️ Location Services  
**Repository:** https://github.com/3121n/nor-data-kartverket-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 501  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/kartverket-mcp

## Description
Norwegian address geocoding, places, properties, buildings & elevation from Kartverket.

## Tools
Capabilities this server exposes over MCP:

- **sok_stedsnavn** — Søk i Sentralt Stedsnavnregister (Kartverket). Returnerer treff med skrivemåte, kommune, fylke og koordinater (WGS84 lat/lon).
- **sok_adresse** — Søk i Matrikkelens adresseregister (Kartverket). Returnerer treff med fullstendig adresse, kommune, postnummer og koordinater (ETRS89/WGS84 lat/lon).
- **hent_hoyde** — Hent terrenghøyde (meter over havet) for et koordinat fra Kartverkets høydedata-API. Bruker DTM 1m der det finnes.
- **sok_kommune** — Slå opp kommune og fylke for et geografisk punkt (WGS84) via Kartverkets kommuneinfo-API.
- **sok_eiendom** — Slå opp matrikkeleiendom enten via et geografisk punkt (lat/lon) eller via matrikkelnummer (knr/gnr/bnr, evt. festenr/seksjonsnr). Returnerer matrikkelnummer, lokalid og representasjonspunkt (WGS84).
- **sok_grunnkrets** — Slå opp statistisk grunnkrets (SSB/Kartverket-inndeling) for et geografisk punkt (WGS84). Returnerer grunnkretsnummer (8 sifre), grunnkretsnavn og kommunenummer. Grunnkretsnummeret kan brukes direkte som Region-filter i SSB-tabeller på grunnkretsnivå (f.eks. 04362 alders-/kjønnsfordeling, 04317 befolkning) for ekte nabolagsdemografi. Kilde: Kartverket WFS (åpen, avtale-fri).
- **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.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "kartverket-mcp": {
    "command": "npx",
    "args": ["-y","@nor-data/kartverket-mcp"]
  }
}
```

## Documentation

## What kartverket-mcp does

kartverket-mcp exposes Kartverket’s open services as MCP tools for Norwegian geographic data. It covers place names, postal and street addresses, terrain elevation, municipality boundaries and metadata, cadastral properties, statistical grunnkrets areas, and building points.

Place-name searches use the Central Place Name Register and return spelling, place type, municipality, county, coordinates, and place identifiers. Address searches use Matrikkelen’s address register and can return address text, postal information, municipality, coordinates, and cadastral details.

Coordinate-oriented tools provide terrain height, the municipality and county containing a point, nearby properties, statistical grunnkrets membership, and nearby buildings. Property searches accept either coordinates or cadastral identifiers such as municipality, farm, and use numbers. Building results include decoded building type and status, distance from the query point, SEFRAK information, and a cultural-heritage flag.

The server also includes municipality lookup by number, municipality-name or county searches, and GeoJSON retrieval for a municipality boundary. Boundary requests can return only polygon and point counts when full geometry is unnecessary.

## How it works

The package wraps open Kartverket services exposed through Geonorge. Requests use WGS84 latitude and longitude for coordinate inputs and outputs where applicable. Elevation uses the 1-meter digital terrain model when available and falls back to coarser data otherwise.

The `sok_grunnkrets` result includes an eight-digit grunnkrets number, name, and municipality number. That number can be used as a Region filter in SSB tables at grunnkrets level. Points near a statistical-district boundary may produce multiple matches.

Municipality geometries are returned as GeoJSON MultiPolygon data using EPSG:4258. Open data is available without authentication. The general data license is NLOD 2.0; the building-point source is identified as CC BY 4.0.

## Setup and configuration

The recommended launch method uses `npx`:

```bash
npx -y @nor-data/kartverket-mcp
```

A global installation is also supported:

```bash
npm install -g @nor-data/kartverket-mcp
drist-kartverket-mcp
```

For Claude Code, register the server as a stdio MCP server in `~/.claude.json`:

```json
{
  "mcpServers": {
    "kartverket": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@nor-data/kartverket-mcp"]
    }
  }
}
```

The same registration can be performed with `claude mcp add`. No API key or environment variable is needed.

## Tools and capabilities

- `sok_stedsnavn`: search place names, optionally filtered by municipality.
- `sok_adresse`: search Norwegian addresses, optionally restricted to a municipality.
- `hent_hoyde`: retrieve terrain elevation in meters above sea level.
- `sok_kommune`: identify municipality and county from a WGS84 point.
- `hent_kommune`: retrieve municipality metadata from a four-digit municipality number.
- `hent_kommune_omrade`: return a municipality boundary as GeoJSON or summary counts.
- `sok_kommuner`: find municipalities by name fragment or list them by county.
- `sok_eiendom`: find nearby cadastral properties or query by cadastral number.
- `sok_grunnkrets`: resolve a point to a statistical grunnkrets.
- `sok_bygning`: find nearby Matrikkelen building points with decoded attributes.

## Limitations and notes

Building data does not provide construction year. The SEFRAK flag is an available indicator for older buildings, mainly those predating 1900, while full construction-year data requires a Matrikkel agreement. Property point searches support a radius from 1 to 1,000 meters. Municipality numbers use four digits, and county numbers use two digits. Coordinate inputs should be supplied as WGS84 latitude and longitude.

_Full upstream README: https://allmcps.com/mcp/kartverket-mcp/readme_

