Skip to main content
Glama

Server Details

UK ONS MCP — Office for National Statistics (no auth)

The last two health checks of this connector failed. If this server requires authentication, missing or expired test credentials may be the cause. A test profile lets Glama authenticate for health checks and discover tools; it is separate from your personal connections.

If you are the author, claim ownership, then add or update a test profile under Admin → Test Profile.

Status
Unhealthy
Uptime
45.5% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
pipeworx-io/mcp-uk-ons
GitHub Stars
0
Server Listing
mcp-uk-ons
ChatGPT
–
Claude
–

TDQS

A3.9/5.0

Scored across 11 tools

Disambiguation4/5

Most tools have clearly distinct resource/action targets, especially uk_ons_get_observations versus ons_timeseries and the generic routing tools versus ONS-specific retrieval. The main overlap is get_version and uk_ons_get_dataset, which both return dataset/version metadata, plus some conceptual overlap between discover_tools and ask_pipeworx that descriptions mostly resolve.

Naming Consistency3/5

All names are snake_case and readable, but the set mixes naming schemes: uk_ons_* prefixing coexists with unprefixed ONS tools (ons_timeseries, get_version, list_editions), generic gateway tools, and noun-style names like company_facts. The convention is understandable but not predictable across the whole server.

Tool Count5/5

Eleven tools is a healthy, well-scoped count for a server combining a focused ONS data surface with a few generic gateway helpers. No excessive tool explosion, and each tool has a recognizable role.

Completeness4/5

The ONS surface covers dataset catalog, dataset metadata, editions, versions, filtered observations, and headline time series, which is strong lifecycle coverage for read-only statistical data. Minor gaps include no dedicated codelist lookup or keyword dataset search, though metadata links and routing tools partially mitigate this.

Available Tools

11 tools
ask_pipeworxAsk PipeworxA
Read-onlyIdempotent
Inspect

The first call for any question whose answer needs an authoritative source: official statistics (FRED, BLS, national statistics offices), SEC and other company filings, company and property registers, regulatory and government records, FDA drug data, USPTO patents, clinical-trial registries, court records, and similar primary-source data. It also answers live weather, markets, crypto, sports, news and academic-paper questions. Routes the question to the right one of 8,025 tools across 2103 verified sources, fills arguments, returns the structured answer with stable pipeworx:// citation URIs. Use it when the user asks "what is", "look up", "find", "get the latest", "how much" or "current" about a figure, filing or record that a publisher of record holds. Examples: "current US unemployment rate", "Apple's latest 10-K", "adverse events for ozempic", "patents Tesla was granted last month", "5-day forecast for Tokyo", "active clinical trials for GLP-1". START HERE among the Pipeworx tools, this is the default entry point, works on every tier, one fast call. Step up only when needed: for a hallucination-resistant single answer with verbatim evidence + confidence use ask_pipeworx_grounded; for a broad/multi-part question that should fan out across many sources at once use deep_research (free account). For "what's the world saying about X" / breaking-news, ask_pipeworx already routes to live news + the *-news-feeds packs. Optionally pass packs:["slug","slug"] to restrict routing to specific sources ("answer this using THESE packs"); omit it for full-catalog routing.

Inputs: question (required), q, ask, text, +5 more.

ask_pipeworx_groundedAsk Pipeworx — GroundedA
Read-onlyIdempotent
Inspect

Hallucination-resistant answer mode for high-stakes reads. Same routing as ask_pipeworx, picks the right tool from 8,025 across 2103 sources, fills arguments, fetches the data, then EXTRACTS the answer using ONLY what the tool result contains. Returns {answer, evidence (verbatim quote), confidence, source, fetched_at, refusal_reason:null} on success, OR an explicit refusal {answer:null, refusal_reason:"not_in_source"|"no_tool_match"|"tool_error"|"data_truncated"|"llm_error"} when the data doesn't directly answer. An "llm_error" also carries refusal_cause ("wall" = our time budget ended before any model call was made; "route"|"threw"|"unparseable"|"wall_after_failure" = a model call failed); refusal_reason itself is unchanged. Use whenever an answer will be quoted, cited, or acted on, and the agent must not invent facts (financial verdicts, legal claims, medical lookups, public statements). Costs one extra LLM call vs ask_pipeworx, prefer ask_pipeworx for casual lookups.

Inputs: question (required), q, ask, text, +5 more.

company_factsCompany FactsA
Read-onlyIdempotent
Inspect

TYPED, DETERMINISTIC financial facts for a US public company for a NAMED reporting period, "Apple revenue for fiscal 2023", "Walmart net income FY2026 Q3", "Microsoft cash at the end of fiscal 2024", or for the MOST RECENT reported period when you leave period out ("NVIDIA revenue in its most recent quarter", "Apple's latest net income"): the answer then names the period it resolved to (period_resolution) and says when a newer 8-K earnings release exists than the latest 10-Q/10-K (newer_earnings_release). PREFER OVER entity_profile / get_company_financials whenever the period matters: those answer "the most recent figures" and will happily hand back FY2025 when you asked about FY2019, and neither separates a discrete quarter from a year-to-date figure. This one refuses instead, it NEVER substitutes the latest period for the period requested, NEVER returns 0 for missing data, NEVER lets a 9-month YTD number answer a quarterly question, and NEVER converts a currency. Every answer carries the exact us-gaap concept it came from, what that concept MEASURES (NetIncomeLoss excludes non-controlling interests, ProfitLoss includes them, not synonyms), the accession number and a link to the filing on sec.gov, the restatement trail of any superseded figures, and a contract + derivation version to pin against. Fiscal periods are the FILER'S OWN, anchored on their fiscal-year end, so Walmart's year ending 2026-01-31 is FY2026 and Apple's ending 2025-09-27 is FY2025. Attributes: revenue, net_income, cash, gross_profit, operating_income, eps_diluted, capex, operating_cash_flow, long_term_debt, shares_outstanding (the dei COVER-PAGE share count, so its period end is the cover date, after the quarter closed, that is the most current count the filing carries). Units are not all USD: shares_outstanding is in shares with currency null, eps_diluted in USD/shares. A discrete quarter the filer never filed, every Q4, and Q2/Q3 of cash-flow lines, which are filed year-to-date, is DERIVED as YTD(q) minus YTD(q-1) and comes back with reported: false, the subtraction named in derivation (fy_minus_9m / ytd_9m_minus_6m / ytd_6m_minus_3m) and both legs with their filings in derived_from; test reported if you will only accept a figure lifted from a filing. Per-share and balance-sheet figures are NEVER derived. Every non-answer is a named status, unavailable (the filer did not report it for that period; the periods that DO exist are listed, without values), unsupported (outside what v1 covers, a non-us-gaap filer, an unknown attribute, a non-USD unit), ambiguous (the company name matched two filers equally well; both are named), conflicting (two filings the same day disagree; both are returned and neither is picked), partial (a value with no accession behind it). Source: SEC EDGAR, XBRL financial facts, one publisher read once, see corroboration. Same response is served at POST https://gateway.pipeworx.io/v1/facts for non-MCP callers.

Inputs: company (required), attribute (required), as_of, basis, +5 more.

discover_toolsDiscover ToolsA
Read-onlyIdempotent
Inspect

Find tools by describing the data or task. Use when you need to browse, search, look up, or discover what tools exist for: SEC filings, financials, revenue, profit, FDA drugs, adverse events, FRED economic data, Census demographics, BLS jobs/unemployment/inflation, ATTOM real estate, ClinicalTrials, USPTO patents, weather, news, crypto, stocks. Returns the top-N most relevant tools with names, descriptions, and full input schemas (with curated examples), each result is ready to call directly, no second schema lookup needed. Call this FIRST when you have many tools available and want to see the option set (not just one answer).

Inputs: query (required), q, task, limit, +2 more.

get_versionGet VersionA
Read-onlyIdempotent
Inspect

Fetch metadata for a specific version of an ONS dataset edition, including dimension definitions with codelist links, CSV/XLS download URLs, release date, and publication state.

Inputs: edition (required), version (required), dataset_id (required). Returns: state, edition, version, downloads, +3 more

list_editionsList EditionsA
Read-onlyIdempotent
Inspect

List all named editions of an ONS dataset (e.g., "time-series", "annual"). Returns each edition label, release date, state, and the latest version ID to use with get_version or get_observations.

Inputs: dataset_id (required). Returns: total, editions, dataset_id

ons_timeseriesOns TimeseriesA
Read-onlyIdempotent
Inspect

UK Office for National Statistics (ONS) headline series by series ID (CDID): UK CPI and CPIH consumer price inflation, RPI, unemployment and employment rates, average weekly earnings, GDP and GDP growth, retail sales, public finances, population. Returns the full series (years, quarters, months) plus latest, the most recent observation with its period (e.g. "2026 OCT") and release date, so "what was UK CPI inflation in the latest release" is one call. Headline CDIDs: D7G7 = CPI annual rate, the 12-month inflation rate, all items; L55O = CPIH annual rate; CZBH = RPI annual rate; CHAW = RPI index; MGSX = unemployment rate, aged 16+, seasonally adjusted; LF24 = employment rate, aged 16-64; KAB9 = average weekly earnings, total pay, GBP; ABMI = GDP chained volume, GBP million, quarterly; IHYQ = GDP quarter-on-quarter growth, %. Pass EITHER code (a CDID; it is looked up across ONS datasets, and dataset_id such as "MM23" or "DRSI" only disambiguates a CDID published in several; a bare dataset code such as "PN2" returns that dataset's series list to pick a CDID from) OR uri (the www.ons.gov.uk path, e.g. "/economy/grossdomesticproductgdp/timeseries/abmi/pn2"). (Named ons_timeseries, get_series is used by many other economic-data packs.)

Inputs: uri, code, dataset_id.

uk_ons_get_datasetUk Ons Get DatasetB
Read-onlyIdempotent
Inspect

Single dataset metadata: title, description, methodology, contacts, release frequency, latest version, related links.

Inputs: dataset_id (required). Returns: id, type, state, theme, +9 more

uk_ons_get_observationsUk Ons Get ObservationsA
Read-onlyIdempotent
Inspect

UK ONS filterable datasets (the cube API: CPIH cpih01, earnings ASHE, census, regional and local-authority tables): fetch observations from a dataset/edition/version. Pass dimension filters as dimensions map ({"geography": "K02000001", "time": "2023"}). Use * for "all values" within a dimension. The single headline UK numbers (latest CPI, unemployment, GDP growth) come from ons_timeseries.

Inputs: edition (required), version (required), dataset_id (required), dimensions (required). Returns: notes, edition, version, dataset_id, +3 more

uk_ons_list_datasetsUk Ons List DatasetsA
Read-onlyIdempotent
Inspect

Paginated catalog of UK Office for National Statistics (ONS) datasets: consumer price inflation (cpih01), labour market, earnings, GDP, population, census. Returns id, title, description, contacts, release frequency, last release, theme.

Inputs: limit, offset. Returns: total, datasets, returned

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      C
      maintenance
      A research MCP server for UK geospatial and statistical data, enabling AI assistants to query Ordnance Survey and ONS datasets.
      103
      3
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides access to UK economic, social, and labour-market statistics via the ONS beta and Nomis APIs, enabling discovery and retrieval of time series, datasets, and census data.
      18
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for official statistics from Statistics Finland (Tilastokeskus) — the StatFin database, exposed through the PxWeb API. Search 3000+ tables, inspect their dimensions, and pull data as JSON-stat2.
      4
      53 npm
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.