Look something up
A person or an agent answering a question about one body.
Everything you need to connect to, harvest, crosswalk, test and build on the register: no key, no sign-in, no cost. Every fact cites its source, every file has a licence, and every check runs in the open.
Repository on GitHub (opens in a new tab)What we adopted from other projects (opens in a new tab)Contributor charter (opens in a new tab)
A person or an agent answering a question about one body.
Counts, joins and charts across all bodies.
Match your records to UK public bodies by a code you already hold.
Keep a copy in step automatically.
OpenSanctions, OpenAleph, yente, BODS tools.
Give an AI assistant reliable, cited answers.
Check your BODS or FollowTheMoney code handles public bodies.
Fix a fact, add a source, build an add-on.
The published files are the API. Read them with a plain HTTPS GET: no key, no sign-in, and any website can read them from the browser (the host sends Access-Control-Allow-Origin: *). Send If-None-Match with the ETag you last saw to get a quick 304 Not Modified when nothing changed. Base address: https://cyberdudeuk.github.io/opengovernment-uk/.
| File | Format | What it holds |
|---|---|---|
| data/catalogue.jsonld | application/ld+json | DCAT catalogue of every dataset and download: start here |
| data/register.csv | text/csv | The register: one row per body, with every register code |
| data/register.jsonld | application/ld+json | The register as linked data (W3C ORG and schema.org) |
| data/register.ftm.json | application/json | The register in FollowTheMoney, one entity per line |
| bods-0.4.json | application/json | Ownership and control as BODS 0.4 statements |
| accountable-owner.csv | text/csv | Who each body answers to in the end, with the chain |
| edges.csv | text/csv | Every accountability link with its source |
| concordance.csv | text/csv | Each body's codes in other registers |
| data/international.jsonld | application/ld+json | International bodies, memberships, treaties, agreements, countries |
| data/taxonomies.skos.jsonld | application/ld+json | The classifications as SKOS concept schemes |
| data/crosswalks.json | application/json | Field-by-field crosswalks to other standards |
| data/source-status.json | application/json | How each source stands: read, current, not read and why |
| data/alerts.json | application/json | Notifications and latest changes |
| data/search-index.json | application/json | Every body's key, name, family and status, for search |
| data/provenance.jsonld | application/ld+json | Where each build's data came from, with fingerprints |
| datapackage.json | application/json | Frictionless data package describing the CSV files |
| opengovernment-uk.db | application/vnd.sqlite3 | Every table in one SQLite file |
OpenAPI 3.1 description of these files, for API tools and code generators.
curl -sO https://cyberdudeuk.github.io/opengovernment-uk/data/register.csv
curl -s -H 'If-None-Match: "<etag you saw>"' -o /dev/null -w '%{http_code}\n' https://cyberdudeuk.github.io/opengovernment-uk/data/register.csvimport csv, io, urllib.request
rows = list(csv.DictReader(io.StringIO(urllib.request.urlopen("https://cyberdudeuk.github.io/opengovernment-uk/data/register.csv").read().decode())))
print(len(rows), rows[0]["name"])import pandas as pd
bodies = pd.read_csv("https://cyberdudeuk.github.io/opengovernment-uk/data/register.csv")
-- DuckDB
SELECT kind, count(*) FROM read_csv_auto('https://cyberdudeuk.github.io/opengovernment-uk/data/register.csv') GROUP BY kind ORDER BY 2 DESC;const res = await fetch("https://cyberdudeuk.github.io/opengovernment-uk/data/search-index.json");
const bodies = await res.json(); // [key, name, family, open]
console.log(bodies.filter(b => b[1].includes("Office")).length);bodies <- read.csv("https://cyberdudeuk.github.io/opengovernment-uk/data/register.csv")
table(bodies$kind)Google Sheets: =IMPORTDATA("https://cyberdudeuk.github.io/opengovernment-uk/data/register.csv")
Excel: Data > Get Data > From Web, then paste https://cyberdudeuk.github.io/opengovernment-uk/data/register.csvhttps://cyberdudeuk.github.io/opengovernment-uk/id/<register key>, for example id/government-organisation:D9. They are stable names; they do not yet open a page of their own.How each field in the register maps to the standards and registers it is published in or joins to. Every cell is checked on every build against the real file or model, so the table can't drift from the data. A dash means there is no equivalent. The table scrolls sideways on smaller screens.
| Field | Register (CSV column) | BODS 0.4 | FollowTheMoney | W3C ORG and schema.org (register.jsonld) | Wikidata property | org-id.guide scheme | OpenCorporates | Note |
|---|---|---|---|---|---|---|---|---|
| Identifier in this register | register. | recordDetails. | – | dct: | – | – | – | A CURIE: the owning register's own code. FtM ids are oguk- plus the key; JSON-LD ids are the portal's id/ address plus the key |
| Name | register. | recordDetails. | PublicBody. | schema: | – | – | name | Current name; earlier names are in the changes data |
| Kind of body | register. | recordDetails. | PublicBody. | org: | – | – | – | BODS uses state, stateBody and legalEntity types; the register's own kind goes in entityType.details |
| Open or closed | register. | recordDetails. | PublicBody. | og: | P576 (opens in a new tab) | – | current_status | BODS shows closure as a dissolution date, not a status word |
| Date set up | register. | recordDetails. | PublicBody. | schema: | P571 (opens in a new tab) | – | incorporation_date | Only where a source states it |
| Date closed | register. | recordDetails. | PublicBody. | schema: | P576 (opens in a new tab) | – | dissolution_date | |
| Official website | register. | – | PublicBody. | foaf: | P856 (opens in a new tab) | – | – | BODS has no website field; recordDetails.uri points to the body's GOV.UK page where it has one |
| Nation | register. | recordDetails. | PublicBody. | – | P17 (opens in a new tab) | – | jurisdiction_code | FtM codes: gb, gb-sct, gb-wls, gb-nir (FtM has no code for England, so England-only bodies are gb) |
| Who it answers to | register. | relationship: | Control. | org: | P749 (opens in a new tab) | – | – | BODS: controlByLegalFramework for designation by law, otherInfluenceOrControl for sponsorship, with the meaning in the publicAccountability extension |
| Shares held | – | relationship: | Membership. | – | – | – | – | The register's only stated shares are the UK's holdings in international financial institutions. FollowTheMoney only lets an Ownership point at a company, so they go out as a Membership with the share in its description; Ownership.percentage stays empty |
| Legal Entity Identifier | register. | recordDetails. | PublicBody. | owl: | P1278 (opens in a new tab) | XI-LEI | – | In JSON-LD as a lei.info address |
| Companies House number | register. | recordDetails. | Company. | rov: | P2622 (opens in a new tab) | GB-COH | company_number | OpenCorporates key: gb/ plus the number |
| Wikidata item | register. | recordDetails. | PublicBody. | owl: | – | XI-WIKIDATA | – | Corroborating only |
| GOV.UK organisation | concordance. | recordDetails. | – | – | – | GB-GOVUK | – | |
| NHS Organisation Data Service code | concordance. | recordDetails. | – | – | – | GB-NHS | – | |
| Local authority code | concordance. | recordDetails. | – | – | – | GB-LAE | – | |
| ONS GSS code | concordance. | – | – | – | P836 (opens in a new tab) | – | – | Councils and other areas |
| Charity number (England and Wales) | concordance. | recordDetails. | – | – | P3057 (opens in a new tab) | GB-CHC | – | |
| OpenCorporates record | – | – | – | – | P1320 (opens in a new tab) | – | jurisdiction_code/ | Built from the Companies House number: gb/ plus the number |
| Where the fact comes from | – | source | PublicBody. | schema: | – | – | – | Every link carries its own source; provenance.jsonld lists every source with its fingerprint |
Download: crosswalks.json · crosswalks.csv · source and checks: sources/crosswalks.json (opens in a new tab), tools/devhub.py (opens in a new tab)
FollowTheMoney only lets an Ownership point at a company, so the UK's shares in international financial institutions are a Membership whose description gives the share of votes. Public-sector test case 20 sets this out for converter authors.
A Model Context Protocol connector gives any MCP client (Claude, coding assistants, your own agent) cited answers from the published files. It runs on your own computer, needs no account and costs nothing; it is read-only and reads only the published files.
| Tool | What it answers |
|---|---|
search_bodies | Find public bodies by name or register key. Returns key, name, family and whether it is open. |
get_body | One body's record: kind, status, nations, parents, dates, website, worked-out purpose and activity, identifiers. |
who_answers | Who a body answers to in the end, and the chain of links, each with its relation and source. |
uk_and_country | The UK's trade agreement in effect, tax treaty, Commonwealth membership and treaty count with one country. |
source_status | When each source was read, whether it is current, and what could not be read and why. |
crosswalk | How a register field maps to BODS, FollowTheMoney, ORG and schema.org, Wikidata, org-id and OpenCorporates. |
list_datasets | Every published file with its title, format and licence, from the DCAT catalogue. |
pip install -r integrations/mcp/requirements.txtclaude mcp add opengovernment-uk -- python integrations/mcp/server.py{
"mcpServers": {
"opengovernment-uk": {
"command": "python",
"args": [
"/path/to/opengovernment-uk/integrations/mcp/server.py"
]
}
}
}OGUK_DATA to a local copy of docs/ to work offline.| Add-on | What you get | How |
|---|---|---|
| Datasette Lite | Filter, facet and run SQL on every table in your browser | Open the register in Datasette Lite (opens in a new tab) |
| Google Sheets | A live sheet of every body | =IMPORTDATA("https://cyberdudeuk.github.io/opengovernment-uk/data/register.csv") |
| Excel and Power BI | A refreshable table | Get Data, From Web, paste the address of any CSV |
| OpenRefine | Clean and match your own list against the register | Create project, Web addresses, paste the register CSV address; match on a shared code column. A hosted reconciliation service would need a server, so it isn't offered |
| SQLite tools | Every table offline | Download the SQLite file |
| Notebooks (Jupyter, Observable, Colab) | Reproducible analysis | Read any CSV or JSON address directly; see the recipes under Connect |
| MCP clients | Cited answers inside your AI assistant | MCP connector |
| Build your own | Your add-on, listed here | Tell us about it (opens in a new tab) once it has a public page and repository |
pip install libcovebods
libcovebods jsv bods-0.4.json && libcovebods pv bods-0.4.json| You want to | You may | Condition |
|---|---|---|
| Copy, publish or share the data | Yes, commercially or not | Attribute (below) |
| Adapt it, combine it with other data | Yes | Attribute; don't imply endorsement |
| Reuse the code | Yes (MIT) | Keep the copyright notice |
| Reuse the documentation, test cases' expectations | Yes (CC BY 4.0) | Attribute |
| Say a public body endorses your use | No | Neither this project nor any public body endorses reuse |
Attribution to use: Contains public sector information licensed under the Open Government Licence v3.0, via OpenGovernment UK.
Each file's licence: LICENCES.md (machine-readable in REUSE.toml (opens in a new tab)). Some facts come from sources with their own terms, for example Wikidata (CC0) and GLEIF (CC0); each source is named in provenance.jsonld. OpenSanctions data (CC BY-NC 4.0) is linked to, never copied in.
This is a public good, and it gets better when people who know a part of the state correct it. The contributor charter (opens in a new tab) says what we promise each other.
| You can | How | Credit |
|---|---|---|
| Correct a fact | Data correction form (opens in a new tab), citing the official source | Named (by your choice of handle) in the release notes and CONTRIBUTORS |
| Suggest a source | Feedback form (opens in a new tab) with its address and licence | As above, and the source page names who found it |
| Add a test case or crosswalk row | A pull request against sources/crosswalks.json (opens in a new tab) or the test cases | CONTRIBUTORS and the citation file, if you opt in |
| Build an add-on or integration | Build on the files or the MCP connector, then tell us (opens in a new tab) | Listed on this page and in CONTRIBUTORS, with a link |
| Become a steward | Look after a family of bodies or a nation: review corrections for it | Named as steward for that area |
How to contribute (opens in a new tab) · Contributors (opens in a new tab) · Code of conduct (opens in a new tab) · Open issues (opens in a new tab)