aria-mcp-trafik-dk
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., "@aria-mcp-trafik-dkany traffic incidents on E45?"
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.
aria-mcp-trafik-dk
A Model Context Protocol (MCP) server that exposes current Danish road traffic events and roadworks to AI assistants. Built for ARIA and shareable with the community.
Fully keyless — the data source is a public GCS-hosted JSON feed served by Vejdirektoratet as the backend for trafikkort.vejdirektoratet.dk (trafikinfo.dk).
Complements aria-mcp-drivetime-dk: that server computes drive time; this one tells you whether the road is clear.
Data Source
Source | What | Attribution |
Current traffic events, roadblocks, queues, roadworks, critical announcements | Danish Road Directorate — free public traffic data |
NAP reference: https://nap.vd.dk (National Access Point for road data, Denmark)
Endpoint details
The app at trafikkort.vejdirektoratet.dk is backed by two public GCS-hosted JSON feeds (discovered by reading the app's JavaScript bundle):
File | URL | What |
|
| All current incidents, accidents, roadblocks, queues, closures, weather-related events (~3 min cadence) |
|
| Major planned roadworks and critical traffic announcements |
Both are plain JSON (GeoJSON-derived), no authentication required, no API key.
Data format
big-screen-events.json is an array of GeoJSON FeatureCollections, one per event (each collection has exactly one feature). Each feature carries:
{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [lon, lat] },
"properties": {
"featureId": "...",
"layerId": "layer_id_19H1",
"title": "Kør forsigtigt",
"header": "Kør forsigtigt - E45 fra Randers mod Aalborg ...",
"description": "<p>HTML description</p>",
"TrafficMan2_Type": "org.vd.trafficmap.datexii.v32.datamodel.GeneralInstructionOrMessageToRoadUsers",
"beginPeriod": "13-06-2026 kl. 00:12",
"endPeriod": "13-06-2026 kl. 02:00",
"kommune": "Vejdirektoratet",
"suspended": "false",
"future": "false",
"visible": "true"
}
}The outer FeatureCollection also carries layerName which classifies the event:
| Meaning |
| General incidents, accidents, obstructions |
| Road/lane closures |
| Traffic queues |
| Public events with road closures |
| Slippery road / water on road |
| Strong wind warnings |
| Active roadworks (when present) |
TrafficMan2_Type is a DATEX II v3.2 class path (e.g. ...Accident, ...AbnormalTraffic, ...MaintenanceWorks).
critical-announcements.json is a single FeatureCollection with properties: featureId, title, description (HTML), category, validFrom (ISO datetime).
Fragility notes
The GCS bucket (
trafikkort-data) is public but not officially documented. It has been stable since at least 2020 (the mobile SDKs reference the same domain). URL changes are possible with app updates.The subdirectory
geojson/25832/(EPSG:25832 projected coordinates) is not publicly accessible — only thegeojson/root files are open.Events arrive as individual FeatureCollections (one per event), so the array length in
big-screen-events.jsonequals the event count (typically 100–300).descriptioncontains HTML; this server strips it before returning.beginPeriod/endPeriodare Danish-formatted date strings (e.g."13-06-2026 kl. 00:12"), not ISO — returned as-is.suspended: "true"means the event is stored but currently inactive (e.g. cleared accident). This server includes suspended events but marks the flag.
Related MCP server: mcp-danish-weather
Install & Run
npx aria-mcp-trafik-dkOr install globally:
npm install -g aria-mcp-trafik-dk
aria-mcp-trafik-dkRequires Node.js 20 or later.
Tools
traffic_events
Fetch current Danish road traffic events.
Parameters:
Name | Type | Required | Description |
| string | No | Free-text region/road filter, e.g. |
| string | No |
|
Returns: Array of traffic events:
[
{
"type": "Traffic message",
"road": "E45 fra Randers mod Aalborg",
"location": "Kør forsigtigt - E45 fra Randers mod Aalborg mellem <35> Hobro V og <34> Hobro N",
"description": "E45 fra Randers mod Aalborg mellem <35> Hobro V og <34> Hobro N Havareret køretøj, Pas på I højre spor, vejhjælp er på vej",
"from": "13-06-2026 kl. 00:12",
"severity": "warning",
"suspended": false,
"coordinates": [9.733868, 56.66633]
}
]roadworks
Fetch planned and ongoing roadworks.
Parameters:
Name | Type | Required | Description |
| string | No | Free-text region/road filter |
Returns: Mixed array of TrafficEvent objects (from live roadwork layers) and CriticalAnnouncement objects (from critical-announcements.json):
[
{
"id": "9349df74-15e8-4ffc-93e7-e3e236720da9",
"title": "E45 Østjyske Motorvej spærres ved Horsens",
"description": "I forbindelse med bronedrivning spærres E45 Østjyske Motorvej ...",
"category": "Trafikal forsidemelding (trafikkort)",
"validFrom": "2026-06-12T10:56:00.410Z"
}
]events_near
Find traffic events within a radius of a geographic point.
Parameters:
Name | Type | Required | Description |
| number | Yes | Latitude (WGS84) |
| number | Yes | Longitude (WGS84) |
| number | No | Radius in km (default 25, max 200) |
Returns: Array of traffic events, each with an added distanceKm field, sorted by distance ascending.
[
{
"type": "Road/lane closure",
"road": "E45 Østjyske Motorvej",
"location": "...",
"description": "...",
"severity": "blocking",
"suspended": false,
"coordinates": [9.85, 55.86],
"distanceKm": 2.3
}
]Environment Variables
Variable | Description |
| Override the GCS base URL (for testing or caching proxies). Default: |
ARIA MCP Config
Add to your ARIA credentials / MCP config:
{
"command": "npx",
"args": ["-y", "aria-mcp-trafik-dk"],
"env": {}
}No environment variables are required. Pair with aria-mcp-drivetime-dk for a complete pre-drive check:
[
{ "command": "npx", "args": ["-y", "aria-mcp-drivetime-dk"] },
{ "command": "npx", "args": ["-y", "aria-mcp-trafik-dk"] }
]Development
git clone https://github.com/kimhjort/aria-mcp-trafik-dk
cd aria-mcp-trafik-dk
npm install
npm run build
npm testLicense
MIT — see LICENSE.
Traffic data is public information from Vejdirektoratet (Danish Road Directorate). Attribution to Vejdirektoratet / trafikinfo.dk is appreciated when redistributing.
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 Servers
- Alicense-qualityCmaintenanceEnables natural language access to Denmark's Statistics API (Danmarks Statistik), allowing users to query and analyze Danish statistical data without coding knowledge through AI-powered interactions.MIT
- AlicenseAqualityDmaintenanceProvides access to Danish weather data from the Danish Meteorological Institute, enabling users to retrieve current conditions, hourly forecasts, and historical records. It supports location lookups via city names, postal codes, and coordinates for any Danish region.39MIT
- AlicenseAqualityDmaintenanceProvides access to Danish energy data from Energinet, including real-time electricity spot prices, CO2 emissions, and production mix. It enables users to monitor grid status and identify the most cost-effective hours for energy-intensive tasks.411MIT
- AlicenseAqualityCmaintenanceQuery Swedish public data from AI tools. Includes company data, SCB statistics, weather, transport, public agencies, and more through the Apiverket API.2382MIT
Related MCP Connectors
US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
WA highway conditions, ferry schedules, vessel locations, toll rates, and border waits via MCP.
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/kimhjort/aria-mcp-trafik-dk'
If you have feedback or need assistance with the MCP directory API, please join our Discord server