@nor-data/udir-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@nor-data/udir-mcplist schools in Oslo municipality"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@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/v3NBR (Nasjonalt barnehageregister):
https://data-nbr.udir.no/v3
Begge er åpne, auth-frie REST-API-er.
Verktøy
Verktøy | Beskrivelse |
| Skoler per kommune (4-sifret kommunenr, normaliserer ledende null). Filter: navn-delstreng, type (grunnskole/videregaaende/privat/offentlig/spesialskole), inkluder_inaktive |
| Full detalj per orgnr: adresse, koordinater (lat/lon, GeoNorge), elevtall, ansatte-intervall, målform, kontakt |
| Barnehager per kommune. Filter: navn, eierform (privat/offentlig), inkluder_inaktive |
| Full detalj per orgnr: adresse, koordinater, eierform, kategorier |
Related MCP server: @nor-data/nabolag-mcp
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/enheterignoreres 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
npm install && npm run build
npm 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.
Available Tools
4 toolshent_barnehageA
Hent full detalj om én barnehage fra NBR (UDIR): adresse, koordinater (lat/lon), eierform, kategorier, kontaktinfo.
| Name | Required | Description | Default |
|---|---|---|---|
| orgnr | Yes | Organisasjonsnummer (9 siffer) for barnehagen, fra sok_barnehage |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must disclose behavioral traits. It only lists output fields and does not mention whether the operation is read-only, required permissions, rate limits, error conditions, or any side effects. The name implies a read operation, but the description lacks formal disclosure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence that efficiently communicates the tool's purpose and output fields with no wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter tool with no output schema, the description adequately lists the returned fields. It could be improved by mentioning error handling or response format, but given the simplicity, it is largely complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The tool description does not add additional information about the 'orgnr' parameter beyond what the schema already provides. It merely repeats the source hint, which is already in the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'hent' (get), the resource 'full detalj om én barnehage' (full details about one kindergarten), and lists specific data fields (address, coordinates, ownership, categories, contact info). It distinguishes from sibling tools like 'hent_skole' and 'sok_barnehage' by specifying it retrieves detailed information for a single kindergarten.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage after obtaining an organization number from 'sok_barnehage' (search), but does not explicitly state when to use this tool versus alternatives like 'hent_skole'. The context is clear enough for a simple tool, but lacks an explicit when-not-to-use guide.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hent_skoleA
Hent full detalj om én skole fra NSR (UDIR): adresse, koordinater (lat/lon), elevtall, ansatte, målform, skoletype, kontaktinfo.
| Name | Required | Description | Default |
|---|---|---|---|
| orgnr | Yes | Organisasjonsnummer (9 siffer) for skolen, fra sok_skole |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must convey behavior. It effectively lists the returned data fields, indicating it is a read operation. However, it omits any mention of authorization or rate limits, which would improve transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence efficiently front-loads the purpose and key outputs, with no wasted words. Every element earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple single-parameter read tool, the description covers purpose, input source, and output fields comprehensively. No output schema exists, but the listed fields suffice. No gaps in essential information.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage for its single parameter 'orgnr', already explaining it is a 9-digit organization number from 'sok_skole'. The description adds no further parameter-level detail beyond what the schema provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves full details about one school from NSR (UDIR), listing specific data fields like address, coordinates, enrollment, staff, etc. It distinguishes from sibling tools: 'sok_skole' is for search, 'hent_barnehage' is for kindergartens.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage after obtaining an orgnr from 'sok_skole', providing clear context. It does not explicitly mention when not to use or alternatives, but the context from sibling names is sufficient.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
sok_barnehageA
Søk etter barnehager i en kommune via Nasjonalt barnehageregister (NBR/UDIR). Filtrer på navn og eierform. Returnerer kompakt liste; bruk hent_barnehage for detaljer med koordinater.
| Name | Required | Description | Default |
|---|---|---|---|
| kommunenummer | Yes | 4-sifret kommunenummer, f.eks. '0301' for Oslo (ledende null påkrevd, '301' normaliseres) | |
| navn | No | Delstreng-filter på barnehagenavn (ikke case-sensitivt) | |
| eierform | No | Eierform-filter (default: alle aktive) | |
| inkluder_inaktive | No | Ta med nedlagte/inaktive enheter (default false) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided; description only mentions returns compact list but lacks disclosure of response format, limits, side effects (read-only), or authentication. Minimal behavioral context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, zero waste, front-loaded with purpose and sibling differentiation.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Adequate for a compact search tool but missing details on returned fields, pagination, error behavior, and limits. Would benefit from additional context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% so description adds no extra meaning beyond summarizing filters. Baseline score applied; description adds value for source and compact list but not for params.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states the verb 'Søk', the resource 'barnehager', the context via 'Nasjonalt barnehageregister', and distinguishes from sibling 'hent_barnehage' which provides details with coordinates.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Description implies usage for compact listing and directs to 'hent_barnehage' for details, but does not explicitly state when not to use or provide exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
sok_skoleA
Søk etter skoler i en kommune via Nasjonalt skoleregister (NSR/UDIR). Filtrer på navn og skoletype. Returnerer kompakt liste; bruk hent_skole for detaljer med koordinater og elevtall.
| Name | Required | Description | Default |
|---|---|---|---|
| kommunenummer | Yes | 4-sifret kommunenummer, f.eks. '0301' for Oslo (ledende null påkrevd, '301' normaliseres) | |
| navn | No | Delstreng-filter på skolenavn (ikke case-sensitivt) | |
| type | No | Skoletype-filter (default: alle aktive skoler) | |
| inkluder_inaktive | No | Ta med nedlagte/inaktive enheter (default false) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided. Description implies read-only behavior (search, return list) but does not explicitly state destructive safety or auth requirements. It mentions the return is a compact list, which is helpful, but lacks deeper behavioral context like pagination or rate limits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences only, maximum information density, front-loaded with primary action. No unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, the description adequately describes the return (compact list) and directs to sibling for details. It covers filtering and defaults. Missing mention of pagination or result limits, but acceptable for a search tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, but the description adds valuable details not in the schema: case-insensitive navn filter, normalization of kommunenummer (leading zero, handling '301'), and default for type (alle aktive skoler). This aids correct parameter usage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Søk etter skoler i en kommune' with specific verb and resource, and distinguishes from sibling tools by noting that 'hent_skole' provides details. It also differentiates from the barnehage siblings by tool name and context.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides clear context: filters by name and type, returns compact list, and explicitly recommends 'hent_skole' for detailed info. No explicit when-not guidance, but the alternative is clearly stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
4 tool updates
v0.1.2- First observed
hent_barnehage - First observed
hent_skole - First observed
sok_barnehage - First observed
sok_skole
TDQS
Each tool targets a distinct resource (kindergarten or school) and operation (search or detail). No overlap between 'hent_' and 'sok_' functions.
All tools follow the clear 'verb_noun' pattern using Norwegian verbs (hent/fetch, søk/search) and nouns (barnehage, skole). Perfect consistency.
Four tools cover the two core entities with both search and detail retrieval, which is appropriate for a focused data lookup service. Not too few nor too many.
The set provides search and full detail for both domains, which is the main requirement. A minor gap is the lack of a tool to list municipalities, but it's not essential as the search requires a municipality parameter.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server for Statistics Sweden (SCB) - 1200+ tables with population, economy, environment data
MCP server for US nursing facility search and ownership lookup (NursingHomeDatabase).
Hosted MCP server for finding authoritative primary data sources and official portals.
- earthOAuthcom.mireye
MCP server for Mireye Earth — federal-source-cited geospatial data for any MCP-aware agent.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server that wraps Kartverket's open APIs for Norwegian geographic data including place names, addresses, elevation, municipalities, properties, statistical districts, and building points. Requires no authentication.780MIT
- AlicenseAqualityDmaintenanceMCP server that wraps open Norwegian neighborhood data, enabling queries for public transport coverage, traffic noise, and green areas around a location.376MIT
- AlicenseAqualityDmaintenanceMCP server that provides tools to search Norwegian addresses, reverse geocode, find place names, and get elevation data from Kartverket's open geographic datasets.4121MIT
- AlicenseAqualityDmaintenanceMCP server providing access to comprehensive UK school data from official government sources, including search, details, near-postcode, comparisons, Ofsted ratings, and DfE education datasets.11MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/3121n/nor-data-udir-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server