Udir Mcp

io.github.3121nPublished by GitHub account 3121nv0.1.2Updated Oct 24, 2026

Norwegian school (NSR) & kindergarten (NBR) registry data from UDIR.

VerifiedSTDIODesktop onlyLocation & LifestyleData & Analytics

Overview

AI-generated overview

Lets an assistant look up Norwegian school and kindergarten registry data from UDIR by municipality or organization number.

What you can do
Wraps UDIR's open NSR (school) and NBR (kindergarten) registries. Tools include sok_skole and sok_barnehage for listing units in a municipality by four-digit municipality number, with filters for name substring, type or owner form, and inactive units, plus hent_skole and hent_barnehage for full details per organization number such as address, coordinates, pupil counts, staff range, language form and contact information.
When to use it
Useful when an assistant needs official Norwegian school or kindergarten data, for example mapping schools and kindergartens in a municipality, checking details for a specific organization number, or gathering coordinates for distance calculations.
Requirements
Runs locally as an npm package over stdio; requires Node.js and network access to the UDIR registry APIs. No authentication, API keys or environment variables are declared.
Before you install
Read-only lookups against public registries; no credentials, payments or write actions are involved. Note that name filtering is done client-side per municipality, and units without geocoding are returned without coordinates.

Installation

In SourceWeft

  1. Open Udir Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

@nor-data/udir-mcp

MCP-server som wrapper UDIRs åpne registre — bygget for Nabodata-kartleggingen (#4: skoler/barnehager).

  • NSR (Nasjonalt skoleregister): https://data-nsr.udir.no/v3
  • NBR (Nasjonalt barnehageregister): https://data-nbr.udir.no/v3

Begge er åpne, auth-frie REST-API-er.

Verktøy

VerktøyBeskrivelse
sok_skoleSkoler per kommune (4-sifret kommunenr, normaliserer ledende null). Filter: navn-delstreng, type (grunnskole/videregaaende/privat/offentlig/spesialskole), inkluder_inaktive
hent_skoleFull detalj per orgnr: adresse, koordinater (lat/lon, GeoNorge), elevtall, ansatte-intervall, målform, kontakt
sok_barnehageBarnehager per kommune. Filter: navn, eierform (privat/offentlig), inkluder_inaktive
hent_barnehageFull detalj per orgnr: adresse, koordinater, eierform, kategorier

Datakvalitets-merknader (verifisert 6. juni 2026)

  • UDIR leverer {Lengdegrad:0, Breddegrad:0, GeoKilde:"Undefined"} for ikke-geokodede enheter — serveren behandler dette som manglende koordinat (utelater feltet).
  • Navn-queryparam på /v3/enheter ignoreres av UDIR — navnefilter gjøres derfor klientside per kommune.
  • Registrene inneholder test-enheter (orgnr U999…, kommune 2599) — filtreres implisitt bort ved kommune-søk.

Bygg & test

bash
npm install && npm run buildnpm test   # E2E med ekte UDIR-kall (11 sjekker)

Nabodata-bruk

sok_grunnkrets (kartverket) → kommunenr → sok_skole/sok_barnehage → hent_* for koordinater → avstandsberegning klientside. Fremtidig fase B: skoler_naer_punkt med batch-detaljhenting og haversine-radius.

Source: README.md at commit 624a09b

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.2LatestSep 16, 2026

Score

40% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.