# UK ONS Economy MCP for AI Agents AI Agent Connect

> UK ONS Economy MCP gives your agent direct access to official UK economic data. It pulls GDP, CPIH inflation, retail sales, and real-time card spending from the Office for National Statistics. No API keys are needed. It's the fastest way to get accurate UK macro data into your workflow.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_yDxYYXfkh3NSkvIw6WVWdLWAac4XPoP76E3A7xIJ/ai-agent-connect
- **Tags:** gdp, inflation, economic-indicators, retail-sales, consumer-spending, macroeconomics

## Description

This Connector provides direct access to official UK economic data from the Office for National Statistics. You're trying to figure out whether the UK economy is actually cooling down or if people are just spending differently. Instead of jumping between the ONS website and dozens of different spreadsheets, your agent can pull the raw data directly. It covers the big stuff like regional GDP and the headline CPIH inflation measure, but it also gets into the weeds with monthly retail sales volumes and experimental real-time credit card spending. If you need to see how taxes and benefits are actually redistributing household income, it's got that too. You can use this as part of your broader data stack in the Vinkius catalog to make sure your analysis is based on official government figures rather than just vibes or outdated news clips. It's built for anyone who needs to move from 'I think the economy is doing X' to 'The data shows Y' without the manual heavy lifting of web scraping or hunting for the right CSV files. Since it requires no API keys, you can get started immediately without any configuration hurdles. It handles the tedious work of finding the correct datasets and pulling the latest figures so you can spend your time on the actual analysis instead of the data collection phase.

## Tools

### get_spending_cards
The get_spending_cards tool provides weekly, near real-time data on debit and credit card spending. Use this to see immediate shifts in consumer behavior.

### get_gdp
The get_gdp tool pulls quarterly and annual GDP data for England, Wales, and nine English regions. Use it to see which areas are leading economic growth.

### get_cpih
The get_cpih tool fetches the official UK headline inflation measure including housing costs. It is the primary way to track the cost of living.

### get_retail_sales
The get_retail_sales tool returns monthly value and volume for retail sales in Great Britain. It shows exactly how much people are spending at stores.

### get_tax_benefits
The get_tax_benefits tool shows how taxes and benefits affect household income across the UK. It tracks the redistribution of wealth by the government.

### get_economy_dataset
The get_economy_dataset tool queries any ONS economy dataset using a specific ID. This lets you find more niche data points within the official records.

## Prompt Examples

**Prompt:** 
```
What is the current UK inflation rate?
```

**Response:** 
```
📊 **UK Inflation (CPIH)**

Latest: 3.2% (February 2026)
Previous: 3.4% (January 2026)

CPIH (Consumer Prices Index including owner occupiers' housing costs) is the ONS's headline inflation measure.

Key components:
- Food & non-alcoholic beverages: 4.1%
- Housing & household services: 5.8%
- Transport: 1.2%

Source: ONS, dataset cpih01
```

**Prompt:** 
```
Show me UK GDP by region
```

**Response:** 
```
🇬🇧 **UK Regional GDP (Q3 2025)**

| Region | Growth (QoQ) |
|--------|-------------|
| London | +0.4% |
| South East | +0.3% |
| North West | +0.2% |
| Scotland | +0.1% |
| Wales | -0.1% |

UK Total: +0.3% quarterly growth
```

**Prompt:** 
```
How much did people spend on cards last week?
```

**Response:** 
```
💳 **Weekly Card Spending Indicators**

| Indicator | Value |
|-------------|-------|
| Debit Cards | £4.2B |
| Credit Cards | £3.1B |

*Note: These are experimental real-time indicators providing a snapshot of current consumer spending patterns.*
```

## Capabilities

### Pull regional GDP data
Use get_gdp to fetch quarterly and annual figures for England, Wales, and nine English regions.

### Fetch headline inflation
Use get_cpih to get the official UK consumer prices index, which includes housing costs.

### Retrieve retail sales
Use get_retail_sales to see monthly value and volume for consumer spending in Great Britain.

### Access card spending
Use get_spending_cards to get weekly, near real-time data on debit and credit card patterns.

### Analyze tax and benefits
Use get_tax_benefits to see how taxes and benefits redistribute household income.

### Query economy datasets
Use get_economy_dataset to pull specific ONS records using their unique IDs.

## Use Cases

### Comparing regional growth
An analyst needs to compare regional growth. They ask the agent to pull GDP for London vs the North West using get_gdp.

### Predicting consumer spend
A retail brand wants to see spending spikes. They use get_spending_cards to check the latest weekly card spending indicators.

### Cost of living research
A researcher is writing a paper on cost of living. They use get_cpih to grab the latest headline inflation figures including housing.

### Tax impact analysis
A policy wonk wants to see tax impact. They use get_tax_benefits to see how household income is redistributed.

## Benefits

- Stop manual data entry. Use get_gdp to pull regional growth numbers instantly instead of downloading and cleaning spreadsheets.
- Track inflation accurately. Use get_cpih to get the official headline measure including housing costs every single time.
- Monitor consumer behavior. Use get_spending_cards to see real-time card spending trends as they happen in the market.
- Analyze retail trends. Use get_retail_sales to compare monthly volumes and values across Great Britain for better forecasting.
- View wealth redistribution. Use get_tax_benefits to see how taxes and benefits impact household income directly and clearly.
- Access official sources. You get data straight from the ONS without needing to manage complex API keys or web scraping scripts.

## How It Works

The bottom line is you get official government economic data without having to navigate the ONS website yourself.

1. Connect the UK ONS Economy MCP to your AI client by adding the connection in your settings.
2. Request specific datasets by name, such as regional GDP by quarter or the latest CPIH inflation.
3. Receive structured data from the ONS, ready for immediate use in your research or reports.

## Frequently Asked Questions

**Can I use the UK ONS Economy MCP for business reports?**
Yes, it's a great way to get official government figures for your reports. You can pull GDP and inflation data directly into your documents without manual searching.

**Does the UK ONS Economy MCP require an API key?**
No, it's completely open and unrestricted. You can connect it to your AI client and start pulling data immediately.

**Can I get regional data with the UK ONS Economy MCP?**
Yes, you can pull GDP data specifically for England, Wales, and nine English regions to see how different areas are performing.

**What kind of inflation data does the UK ONS Economy MCP provide?**
It provides the CPIH, which is the official headline inflation measure. This includes housing costs, making it the standard for tracking the cost of living.

**Is the card spending data in the UK ONS Economy MCP real-time?**
It provides weekly data that acts as a near real-time indicator. It's perfect for seeing immediate shifts in how people are spending money.

**Can I use the UK ONS Economy MCP to see tax impacts?**
Yes, you can use it to see how taxes and benefits redistribute household income across the UK, which is useful for policy and economic research.

**What is CPIH?**
CPIH (Consumer Prices Index including owner occupiers' housing costs) is the UK's most comprehensive inflation measure. Unlike CPI, it includes housing costs for homeowners. The ONS considers CPIH its headline measure of inflation.