UK ONS Full MCP. Analyze UK GDP, Inflation, Population & Trade Data.
Works with every AI agent you already use
…and any MCP-compatible client
Just plug in your AI agents and start using Vinkius.
The UK ONS Full Mega-Server gives you 20 specialized tools to query deep British data. It handles everything from national GDP and CPIH inflation rates to weekly death counts, retail sales index, and population projections.
You can run complex economic models and demographic comparisons without needing an API key or knowing the exact dataset ID.
What your AI agents can do
Get business counts
Retrieves counts of UK businesses, broken down by industry and specific geographical unit.
Get cpih
Gets the official headline inflation measure (Consumer Prices Index including Housing) for the entire UK.
Get dataset info
Looks up metadata about a specific ONS dataset, showing its dimensions and versions.
Compare metrics like quarterly GDP growth against annual inflation rates (CPIH) in a single query.
Monitor real-time shifts in household behavior by combining data from card spending (get_spending_cards) and retail sales indices (get_retail_sales).
Run comparative reports linking population projections to localized well-being estimates or suicide rates.
Analyze how changes in goods imports/exports (get_trade) correlate with national business counts (get_business_counts).
Use get_dimensions and list_datasets to find the precise filter values (like specific dates or regions) needed before running any query.
Ask AI about this MCP
Supported MCP Clients
Waiting for input…
UK ONS Full Mega-Server: 20 Tools for Data Analytics
Use these tools to query specific, complex datasets covering British economics, demographics, trade, and health using flexible filters.
019d75e6get business counts
Retrieves counts of UK businesses, broken down by industry and specific geographical unit.
019d75e6get cpih
Gets the official headline inflation measure (Consumer Prices Index including Housing) for the entire UK.
019d75e6get dataset info
Looks up metadata about a specific ONS dataset, showing its dimensions and versions.
019d75e6get dimension options
Lists all possible filter values (like regions or time periods) for any given ONS dimension.
019d75e6get dimensions
Gets a list of available dimensions and the filtering options you can use across an entire dataset.
019d75e6get economy dataset
Allows querying any main ONS economy dataset (like GDP or retail sales) using flexible filter parameters.
019d75e6get gdp
Retrieves UK Gross Domestic Product data, available quarterly and annually, broken down by region and sector.
019d75e6get observations
Queries any ONS dataset you find the ID for, letting you use complex dimension filters to pull specific metrics.
019d75e6get population projections
Fetches UK population forecasts for older age groups and sex ratios by local authority.
019d75e6get retail sales
Provides the monthly index showing value and volume changes in consumer retail spending across Great Britain.
019d75e6get spending cards
Gathers weekly data on UK debit and credit card transactions, offering near real-time insight into spending shifts.
019d75e6get suicides
Retrieves national statistics detailing suicide registrations across local authorities in England and Wales.
019d75e6get tax benefits
Shows how direct and indirect taxation, alongside benefits, affect overall UK household income.
019d75e6get trade
Provides monthly data on goods traded in the UK—imports, exports, and trade balance by partner country.
019d75e6get traffic activity
Gets weekly traffic camera activity used as an experimental indicator for economic and social changes.
019d75e6get weekly deaths
Provides national statistics on death registrations every week, broken down by age, sex, and region.
019d75e6get wellbeing
Retrieves quarterly UK estimates of personal well-being indices (like life satisfaction and happiness).
019d75e6get wellbeing local
Gets specific well-being index estimates for every local authority across the UK.
019d75e6list datasets
Browses and lists all 337+ available datasets in the complete ONS catalog by category.
019d75e6search datasets
Searches the entire ONS catalog using keywords to find matching dataset IDs and titles.
Choose How to Get Started
Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.
Build Your Own
Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.
- Import from OpenAPI, Swagger, or YAML specs
- Create Agent Skills with progressive disclosure
- Deploy to edge with MCPFusion framework
- Built in DLP, auth, and compliance on every call
- Real time usage dashboard and cost metering
- Publish to catalog or keep private
Make Your AI Do More
Start with UK ONS Full — Complete Statistical Intelligence, then connect any of our 4,700+ other servers whenever your AI needs more. One click, no limits.
- Use this MCP plus 4,700+ others, all in one place
- Add new capabilities to your AI anytime you want
- Every connection is secured and compliant automatically
- Track usage and costs across all your servers
- Works with Claude, ChatGPT, Cursor, and more
- New servers added to the catalog every week
What you can do with this MCP connector
This is your deep dive into British data from the Office for National Statistics (ONS). It's a mega-server that gives you twenty specialized tools to query everything from national GDP figures to local well-being estimates. You don't need an API key or to know complex dataset IDs; you just use your AI client to run the queries.
You can build complex reports by linking different data points together. For example, you can compare quarterly get_gdp growth rates against current inflation using get_cpih, all in one shot. You'll also find yourself tracking consumer spending trends by combining near real-time insights from get_spending_cards with the historical value and volume changes shown in get_retail_sales.
When you need to link macroeconomics to local life, you can run demographic impact analyses that tie population forecasts—retrieved using get_population_projections—to localized well-being estimates from get_wellbeing_local, or even map those projections against regional suicide rates found with get_suicides. You can also analyze how goods imports and exports, detailed by get_trade, correlate directly with the number of active businesses using get_business_counts.
For a full picture of household finances, you can look at both the impact of direct and indirect taxation versus benefits using get_tax_benefits. You'll also get weekly national statistics detailing death registrations via get_weekly_deaths, which breaks down data by age, sex, and region. To gauge economic momentum outside of traditional metrics, you can use get_traffic_activity to look at weekly traffic camera movement as an experimental indicator for social shifts.
To understand the full scope of UK commerce, you've got get_economy_dataset, which lets you query any main ONS economy dataset—like GDP or retail sales—using flexible filter parameters. You can also get a comprehensive view of how much goods are traded by country using get_trade. For more granular data on the physical movement of people, get_traffic_activity gives weekly camera counts that signal economic health.
When you're starting out and don't know where to look, you can use list_datasets to browse all 337+ available datasets in the complete ONS catalog by category. If you need something specific, run search_datasets using keywords to find matching dataset IDs and titles across the whole catalog. Once you have a potential ID, you've got tools to help you figure out the exact filters: use get_dimensions to list all available dimensions for any dataset, and check get_dimension_options to see specific filter values like regions or time periods.
You can also run get_dataset_info to look up metadata on a specific ONS dataset, confirming its dimensions and versions before you pull data.
If you know the exact ID of a dataset, running get_observations queries that dataset, letting you use complex dimension filters to pull only the metrics you need. You can also narrow your focus by using get_dimensions and get_dimension_options on any dataset type, ensuring you don't waste time querying bad parameters.
This server handles everything from tracking household behavior with combined data from get_spending_cards (weekly debit/credit card transactions) and get_retail_sales (monthly consumer spending index), to running comparative reports linking population forecasts via get_population_projections to localized well-being estimates. You can also query national statistics on suicide registrations across local authorities in England and Wales using get_suicides.
Every metric you need—from the quarterly figures of get_gdp broken down by region, to monthly goods trade flows via get_trade—is here.
How UK ONS Full MCP Works
- 1 Start by asking your agent for a comparison of two metrics, like GDP vs. CPIH.
- 2 The agent uses
get_dimensionsto validate the required filters (e.g., 'Does this dataset need region X or Y?'). - 3 Finally, it executes the query using
get_observations, passing all validated IDs and dimension filters to retrieve the raw data.
The bottom line is you tell your agent what question you have; the server figures out which of the 20 tools to run and how to filter the data for you.
Who Is UK ONS Full MCP For?
Economists, financial analysts, and policy advisors. You're the person who gets paid to find patterns in massive public datasets—the one tired of spending hours cross-referencing PDFs from ONS reports. This server cuts out the manual data plumbing.
Runs quarterly reports comparing regional GDP growth (get_gdp) against inflation rates and sector performance.
Monitors consumer health by tracking weekly card spending spikes or drops relative to historical retail sales data.
Builds demographic models, linking population projections (get_population_projections) with localized well-being scores across different local authorities.
What Changes When You Connect
- See complex economic shifts immediately. You can compare quarterly GDP data (
get_gdp) directly against the annual inflation rate usingget_cpih, all in one query run. - Get near real-time spending insights. Monitor consumer health by combining weekly card spending (
get_spending_cards) with historical retail indices (get_retail_sales). - Map demographic changes to economic outcomes. Run reports that link population projections (
get_population_projections) with local well-being estimates (get_wellbeing_local). - Avoid dataset ambiguity. If you don't know the exact filter IDs, start with
search_datasetsand then useget_dimensionsto find exactly what parameters are needed. - Handle multi-domain queries easily. Pull data across trade goods (
get_trade), business counts (get_business_counts), and traffic activity (get_traffic_activity) simultaneously.
Real-World Use Cases
Investigating pandemic economic fallout.
A financial analyst needs to know if the drop in card spending was temporary. They ask their agent to compare get_spending_cards data from 2019 vs. 2020, and then overlay that against the corresponding period's get_retail_sales index. The result shows a deep trough followed by a specific recovery curve.
Assessing regional policy effectiveness.
A government researcher wants to know if changes in local social services impacted well-being. They run get_wellbeing_local for various regions and cross-reference the data against historical population density from other ONS datasets, identifying areas with stable populations but declining happiness.
Analyzing trade balance risks.
A commodities trader needs to check if recent shifts in global demand are affecting UK goods. They query get_trade by commodity and partner country, then cross-reference the findings with current business counts (get_business_counts) to predict supply chain risk.
Building a full national health picture.
A public health official needs to understand mortality trends. They query get_weekly_deaths by region and age group, then compare the trend lines against historical data from get_suicides to model preventative care impact.
The Tradeoffs
Asking for a full comparison in one shot.
Prompt: 'Compare everything about UK life.' This generates vague, unfilterable data dumps that require manual clean-up and force you to guess which year or region it's showing.
→
Break it down. Start with search_datasets for the topic (e.g., 'wellbeing'). Then use get_dimensions to lock down the exact filter needed (e.g., 'quarterly life satisfaction index') before running a specific tool like get_wellbeing.
Assuming data coverage is global.
Prompt: 'What is the average spending across all of Europe?' The server will fail because the tools are strictly limited to UK-specific ONS datasets. It's not a global model.
→
Keep it local. Use get_gdp or any other tool, but always specify the region (e.g., 'England', 'Wales') using the dimension filters found via get_dimension_options. The scope is UK only.
Ignoring metadata checks.
Running get_observations with a random date range or region ID, resulting in empty data because the required filter values were never validated against the dataset's available dimensions.
→
Always validate filters first. Use get_dimension_options for the specific dataset ID to ensure your time period or geographical code is valid before querying.
When It Fits, When It Doesn't
Use this server if your analysis requires cross-referencing multiple, distinct statistical time series—for example, linking consumer spending (get_spending_cards) with population health metrics (get_wellbeing). You need depth and correlation across different ONS domains.
Don't use this if you just need a simple, single-point metric (like 'What was the GDP last quarter?'). For that, a simpler query might suffice. However, if your query is complex—requiring filtering by multiple dimensions simultaneously (e.g., regional GDP growth for businesses in the tech sector)—this server's 20 specialized tools are necessary. If you need data outside the ONS scope, this won't help.
Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by UK ONS. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
VINKIUS INFRASTRUCTURE
Cloud Hosted
Managed infra
V8 Isolated
Sandboxed per request
Zero-Trust Proxy
No stored credentials
DLP Enforced
Policy on every call
GDPR Compliant
EU data residency
Token Compression
~60% cost reduction
Works with Claude, ChatGPT, Cursor, and more
The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.
This server provides 20 capabilities that interface natively with Claude, ChatGPT, Cursor, and any MCP client. No middleware. No custom integration required.
Available Capabilities
Manually pulling a full economic picture is a nightmare of tabs and IDs.
Today, getting a comprehensive view of UK economics means jumping between five different ONS portals. You download the GDP PDF, then open another sheet for inflation (CPIH), then find the retail sales figures, manually checking dates and regions every single time you run a report. It's a mess of manual data plumbing.
With this server, your agent handles the plumbing. You ask: 'Show me UK economic health.' The system coordinates 3–5 tools—like `get_gdp`, `get_cpih`, and `get_spending_cards`—and returns one structured output that compares all three metrics side-by-side. It's instant, reliable data.
The get_observations tool: Querying any ONS dataset by ID.
Before this server, if you found a niche dataset—say, one tracking regional traffic activity (`get_traffic_activity`)—you needed to know its exact internal ID and the specific dimension filters required. One wrong number meant zero results, sending you back to square one.
Now, simply providing the general intent is enough. The agent handles the complex filtering logic for `get_observations`, allowing you to access granular data without needing deep ONS technical knowledge.
Common Questions About UK ONS Full MCP
How do I find the correct filter values before using get_observations? +
You must use get_dimensions first. This tool lists all available dimensions and their possible option values for a given dataset, preventing you from running queries with invalid codes or dates.
Can I compare GDP and inflation rates using get_gdp and get_cpih? +
Yes. You can run these two tools sequentially (or in one prompt) to pull the quarterly/annual growth percentages for both metrics, allowing a direct comparison of macro trends.
What if I need data on local authority well-being? Should I use get_wellbeing or get_wellbeing_local? +
Use get_wellbeing_local. This tool specifically targets datasets broken down by UK Local Authority, giving you granular estimates for regions that get_wellbeing might aggregate at a higher level.
I need to know what kind of data is in the catalog before I start. Which tool should I use? +
Use list_datasets. This method gives you an overview and pagination across all 337+ datasets, helping you narrow down your focus area.
How do I query specific commodity trade flows using get_trade? +
You must specify the desired commodity code when calling get_trade. The tool returns non-seasonally adjusted monthly values in £ million, allowing you to track raw import/export data by partner country.
Is the spending data from get_spending_cards suitable for real-time economic tracking? +
It is designed as an experimental indicator using near real-time debit and credit card transaction data. This differs significantly from retail sales indices, which are usually aggregated monthly estimates.
What information does get_population_projections require for accurate forecasting? +
You need to define the specific local authority and the desired projection year range. The dataset uses these inputs to calculate sex ratios for older people based on ONS models.
What is the scope of death data provided by get_weekly_deaths? +
This tool provides national statistics covering death registrations only in England and Wales. Note that the data updates weekly, making it a high-frequency metric.
Is the ONS API stable? +
The ONS API is currently in Beta. While fully functional and regularly updated, there may occasionally be breaking changes. Rate limits: 120 requests per 10 seconds, 200 per minute.
What datasets does this server pull from? +
It has access to the full ONS library of over 337 statistical datasets, spanning GDP, CPIH, retail sales, demographic projections, health indicators, trade, and more.
Are the GDP and Inflation figures real-time? +
The statistics provided are based on the latest officially published reports from the ONS, which usually trail by a month or a quarter depending on the metric.
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
More in this category
Pointr
Grant your AI access to precision indoor mapping. Navigate buildings, track BLE beacons, and find POIs.
Flux Markets
Access energy market data, live pricing, and proprietary trade insights from Flux Markets.
Adobe Analytics
Customer journey insights — retrieve reports, manage segments, and audit metrics via AI.
You might also like
Exa AI
Search the web with neural embeddings that understand meaning, not just keywords, and return the most relevant results for any query.
Serper
Fast, affordable Google Search API — get real-time SERP results, news, and images with 2,500 free searches per month.
OpenFarm Agriculture
Access crowdsourced agricultural data — search for crops, growing guides, and planting instructions.