Skip to content
Eden Engine

NHS Organisation Search by Name: ODS Code, Status, Role, Postcode (NHS ORD)

nhsord/search-organisations

Searches the NHS Organisation Data Service (ORD) directory by organisation name and returns summary records: ODS code, name, active or inactive status, record class, postcode, last change date and primary role, with a link to each full record. Matches include organisations that have closed, so check the status of each. Optional filters narrow the matches by status and by primary role code. A name that matches nothing returns an empty list; the full record of a match is the tool organisation-by-code. NHS England ORD data, passed through unmodified and served by Eden Engine; not an official NHS product.

activeper callv1

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.00.

Data source

NHS England

Data from the NHS Organisation Data Service (ORD), NHS England. Licence terms for the ORD directory were not confirmed; credit given as a courtesy. Served by Eden Engine; not an official NHS product.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "nhsord/search-organisations" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "nhsord/search-organisations" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "nhsord/search-organisations", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "nhsord/search-organisations", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not 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.

ChargePrice
Per call
$0.0026
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "description": "Organisation name, or part of one, to search for, for example leeds. Matching is done by the directory."
    },
    "limit": {
      "type": "integer",
      "default": 5,
      "maximum": 25,
      "minimum": 1,
      "description": "Maximum number of organisations to return, 1 to 25. Defaults to 5."
    },
    "status": {
      "enum": [
        "Active",
        "Inactive"
      ],
      "type": "string",
      "description": "Only organisations with this status. Leave out for both: matches then include closed organisations."
    },
    "primary_role_id": {
      "type": "string",
      "pattern": "^RO[0-9]{1,4}$",
      "description": "Only organisations whose primary role is this ODS role code, for example RO197 (NHS trust), RO177 (prescribing cost centre) or RO141 (local authority). Leave out for any role."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "Organisations"
  ],
  "properties": {
    "Organisations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "Name": {
            "type": "string",
            "description": "Organisation name."
          },
          "OrgId": {
            "type": "string",
            "description": "The organisation's ODS code, for example 02V."
          },
          "Status": {
            "type": "string",
            "description": "Active or Inactive."
          },
          "OrgLink": {
            "type": "string",
            "description": "URL of the organisation's full record."
          },
          "PostCode": {
            "type": "string",
            "description": "Postcode; an empty string for some older records."
          },
          "PrimaryRoleId": {
            "type": "string",
            "description": "Primary role code, for example RO98."
          },
          "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."
          },
          "PrimaryRoleDescription": {
            "type": "string",
            "description": "Primary role name, for example CLINICAL COMMISSIONING GROUP."
          }
        },
        "additionalProperties": true
      },
      "description": "Matching organisations. Empty when none match."
    }
  },
  "description": "The ORD directory response: an `Organisations` list of summary records, empty when no organisation matches the name.",
  "additionalProperties": true
}