Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Danadresse — public API docs, examples & MCP server

API status OpenAPI Docs npm client MCP server License: MIT

Danadresse is a drop-in replacement for DAWA (Danmarks Adressers Web API), which closes 17 August 2026. Same endpoints, same query parameters, same JSON shapes — migration is a base-URL change plus an X-Api-Key header. Backed by its own data from Datafordeleren (DAR, BBR, Matriklen, DAGI), so it keeps working after DAWA shuts down.

This is the public repo: API reference, client examples and the MCP server. The backend is private. Product site: https://danadresse.dk.

📖 Interactive API reference

Swagger UI

🚀 Quick start

# No key needed for the free tier (lower per-IP rate limit):
curl "https://api.danadresse.dk/autocomplete?q=rådhuspladsen+1+københavn"

# With a key (get one at https://danadresse.dk):
curl -H "X-Api-Key: dawa_live_…" \
  "https://api.danadresse.dk/datavask/adresser?betegnelse=rådhuspladsen+1+1550+københavn"

Migrating from DAWA? Change api.dataforsyningen.dkapi.danadresse.dk, add the X-Api-Key header, done. See clients/migrate-cli.

🤖 MCP server — Danish addresses for AI agents

@danadresse/mcp-server gives Claude Desktop / Claude Code / Cursor / Continue / Zed direct access to 2.4M Danish addresses (autocomplete, validation, reverse geocoding, DAGI, BBR, quality scoring). No install — npx fetches it:

{
  "mcpServers": {
    "danadresse": {
      "command": "npx",
      "args": ["-y", "@danadresse/mcp-server"],
      "env": { "DANADRESSE_API_KEY": "dawa_live_…" }
    }
  }
}

Full guide: examples/mcp · source: mcp-server.

📦 Examples & clients

examples/ curl · Python · JavaScript · PHP · MCP
clients/python pip install danadresse
@danadresse/client npm i @danadresse/client (JS/TS)
clients/wordpress-plugin WordPress / WooCommerce
clients/migrate-cli DAWA → Danadresse migration CLI

License

Examples, clients and the MCP server in this repo are MIT licensed. The API data follows the Datafordeleren licence (CC BY 4.0). The backend is proprietary.


🇩🇰 Built by LynBro ApS. Issues & questions: open an issue or hello@lynbro.dk.

About

Public API docs, OpenAPI spec, client examples & MCP server for Danadresse — the drop-in DAWA replacement (Danish address API). Backend is private.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages