NHS Organisation Record by ODS Code: Address, Roles, Relationships, Successors (NHS ORD)
nhsord/organisation-by-code
Fetches the full NHS Organisation Data Service (ORD) record of one organisation from its ODS code, for example RR8 for Leeds Teaching Hospitals NHS Trust: name, active or inactive status, record class, address with postcode, contact details where held, every role with its status and dates, relationships to other organisations and predecessor or successor links. Closed roles and relationships are kept, with Status Inactive and an end date. A code the directory does not hold is refused as a validation error without charge. Data from NHS England's Organisation Data Service, passed through unmodified and served by Eden Engine; not an official NHS product.
Price
$0.0026 per call
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.
Data source
Data from the NHS Organisation Data Service (ORD), NHS England. Licence terms for the ORD directory were not confirmed; credit given as a courtesy. Passed through unmodified and served by Eden Engine; not an official NHS product.
Use it
Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.
Connect once and your AI can find and run this tool, and any other it needs.
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "nhsord/organisation-by-code" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "nhsord/organisation-by-code" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "nhsord/organisation-by-code", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "nhsord/organisation-by-code", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 20, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"pattern": "^[A-Za-z0-9]{3,9}$",
"description": "The organisation's ODS code: 3 to 9 letters and digits, for example RR8 (Leeds Teaching Hospitals NHS Trust) or 212 (Leeds City Council). Search results give it as OrgId."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"Organisation"
],
"properties": {
"Organisation": {
"type": "object",
"required": [
"Name",
"OrgId",
"Status"
],
"properties": {
"Date": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "Operational or legal start and end dates of the record."
},
"Name": {
"type": "string",
"description": "Organisation name."
},
"Rels": {
"type": "object",
"description": "`Rel` lists relationships to other organisations, current and ended.",
"additionalProperties": true
},
"OrgId": {
"type": "object",
"properties": {
"root": {
"type": "string"
},
"extension": {
"type": "string",
"description": "The ODS code, for example RR8."
},
"assigningAuthorityName": {
"type": "string"
}
},
"description": "The ODS code is `extension`; `root` and `assigningAuthorityName` identify the code system.",
"additionalProperties": true
},
"Roles": {
"type": "object",
"description": "`Role` lists every role: `id` (such as RO197), `primaryRole` on the main one, `Status` and dates.",
"additionalProperties": true
},
"Succs": {
"type": "object",
"description": "`Succ` lists predecessor and successor organisations; absent when none.",
"additionalProperties": true
},
"GeoLoc": {
"type": "object",
"description": "`Location` holds the address lines, Town, PostCode, Country and UPRN where held.",
"additionalProperties": true
},
"Status": {
"type": "string",
"description": "Active or Inactive."
},
"Contacts": {
"type": "object",
"description": "`Contact` lists telephone, web and email entries where held; absent when none.",
"additionalProperties": true
},
"LastChangeDate": {
"type": "string",
"description": "Date the record last changed, YYYY-MM-DD."
},
"orgRecordClass": {
"type": "string",
"description": "Record class: RC1 for an organisation, RC2 for a site."
}
},
"additionalProperties": true
}
},
"description": "The ORD directory response: one `Organisation` record.",
"additionalProperties": true
}