Integration · Company data
Connect Claude & ChatGPT to Statistics Denmark (StatBank)
Ask your AI a question about Denmark and let it answer with official figures from Statistics Denmark's StatBank. It can browse subjects, find the right table, read which variables and codes the table has, and fetch exactly the figures you ask for. Tables and metadata are available in Danish or English.
Free plan, no credit card. Takes about a minute.
Try asking
“How many people lived in Aarhus Municipality at the start of 2024?”
The AI finds a population table, reads its variables and codes, and fetches the figure for that municipality and quarter.
“Which tables are there about housing?”
It browses the subject hierarchy and lists the tables under the matching subject, with IDs and titles.
“What variables does table FOLK1A have?”
It reads the table's metadata: title, unit and every variable with its value codes.
What your AI can do
Find the right table
Browse Statistics Denmark's subject hierarchy, or list tables by subject or by recent update, with IDs and titles.
Read the codes first
Get a table's title, unit and every variable with its value codes, so the AI asks for exactly the figures you mean.
Open data, no key
StatBank is open data, so there is nothing to paste. Pick the app and your MCP link is ready.
“Which tables were updated in the last week?”
It lists tables updated in the last 7 days with their last update time.
“Compare the population of Copenhagen and Odense over the last five years.”
It fetches the figures for both areas and the years you ask for, and lays them side by side.
“Give me the table titles in English.”
It lists subjects and tables with lang set to en.
4 tools for Statistics Denmark (StatBank)
These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.
get_table_dataChanges dataFetch figures from a table: `table` ID, `format` (CSV is easiest to read) and `variables` as a list of {code, values} using codes from get_table_info, e.g. Tid with ["2024K1"]. Variables left out are summed or eliminated where possible.get_table_infoChanges dataGet a table's metadata by `table` ID (e.g. FOLK1A): title, unit, and every variable with its value codes. Call this before fetching data to know which codes to select.list_subjectsChanges dataBrowse Statistics Denmark's subject hierarchy. Pass `subjects` (subject IDs) to drill down, `recursive` to include sub-subjects and `include_tables` to list their tables; `lang` is da or en.list_tablesChanges dataList StatBank tables, optionally filtered by `subjects` or only those updated in the last `pastdays` days. Returns table IDs, titles and last update; `lang` is da or en.
Set up in three steps
- 1
Pick the app
Create a free PipMCP account and choose Statistics Denmark (StatBank) from the app list.
- 2
Paste your key
No account or key needed. Statistics Denmark's StatBank API is open data under CC BY 4.0, so you only pick the app in PipMCP to get your MCP link. Cite Statistics Denmark as the source when you use the figures.
- 3
Add the link to your AI
You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:
- Click your name, then Settings › Connectors › Add custom connector.
- Paste your link as the Remote MCP server URL.
- Switch it on from the + menu in a chat.
Questions
What can the AI do in StatBank?
It can browse Statistics Denmark's subject hierarchy, list tables by subject or recent update, read a table's metadata with variables and value codes, and fetch figures from a table for the codes you choose. All tools only read public data.
Does the AI see my StatBank credentials?
There are none to see. StatBank is open data and needs no account or API key, so you do not paste anything into PipMCP. The AI only sees the results of the tools it calls.
Can I control what the AI is allowed to do?
Yes. You choose which tools are switched on. All tools here only read public statistics, so nothing is changed anywhere. Every tool call is logged.
Does it work with ChatGPT?
Yes. In ChatGPT, open Settings › Apps & Connectors › Advanced, turn on Developer mode and add your PipMCP link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.
What does it cost?
PipMCP has a free plan with no credit card required. Paid plans bill per completed task. StatBank itself is open data and needs no account.
Can I use the figures in a report?
Yes. StatBank data is published under CC BY 4.0, which means you cite Statistics Denmark as the source. Ask the AI for the table ID along with the figures, so you can reference it.
Related integrations
Let your AI work in Statistics Denmark (StatBank) today.
Start free. Your key stays encrypted, and you decide what the AI may do.
Connect Statistics Denmark (StatBank) freePipMCP is not affiliated with Statistics Denmark (StatBank). Product names are trademarks of their owners.






