Bring Statistics
to Mastra AI
Create your Vinkius account to connect UK ONS Full — Complete Statistical Intelligence to Mastra AI and start using all 20 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the UK ONS Full — Complete Statistical Intelligence MCP Server?
The ultimate UK ONS Mega-Server — 20 tools across 4 domains.
20 Tools
- 💰 Economy (6) — GDP, CPIH, retail sales, card spending, tax
- 👥 Population (5) — Deaths, well-being, suicides, projections
- 🚢 Trade (3) — Goods trade, business counts, traffic
- 🔍 Discovery (6) — Search, browse, metadata, query
No API Key Required
Built-in capabilities (20)
Dataset: uk-business-by-enterprises-and-local-units. Source: Inter-Departmental Business Register (IDBR). Get UK business counts by enterprises and local units, by industry and geography
Dataset: cpih01. The headline UK inflation measure used by the ONS. Filter by aggregate (cpih1dim1A0 = all items) and geography (K02000001 = UK). Get UK inflation (CPIH) — the official consumer prices index including housing costs
Get metadata for an ONS dataset: dimensions, editions, versions
g., all geography codes, all time periods, all aggregate categories). Use this to find the correct filter values for observations. Get all option values for a specific dimension in an ONS dataset
Each dimension has options you can use to filter observations. Essential for understanding what query parameters to use. Get available dimensions and filter options for an ONS dataset
Common IDs: regional-gdp-by-quarter, cpih01, retail-sales-index, uk-spending-on-cards. Use get_dimensions to discover available filters. Query any ONS economy dataset by ID with flexible filters
Main datasets: regional-gdp-by-quarter (quarterly), regional-gdp-by-year (annual). Covers England, Wales, and 9 English regions. Use time=* for the full time series. Get UK GDP data — quarterly and annual, by region and sector
Provide dataset ID and dimension filters. Use search_datasets to find IDs and get_dimensions to discover available filters. Set time=* for full time series. Query any ONS dataset by ID with flexible dimension filters
Dataset: projections-older-people-sex-ratios. Get UK population projections for older people, sex ratios by local authority
Dataset: retail-sales-index. Monthly data showing value and volume of retail sales in Great Britain. Base year 2019=100. Seasonally and non-seasonally adjusted. Get UK retail sales index — value and volume of consumer spending
Dataset: uk-spending-on-cards. Weekly data providing near real-time insight into consumer spending patterns. Get UK debit and credit card spending — experimental real-time indicator
Dataset: suicides-in-the-uk. National statistics. If you are struggling, call Samaritans free: 116 123. Get suicide registrations by local authority in England and Wales
Dataset: tax-benefits-statistics. Shows redistribution effects of direct and indirect taxation and benefits in cash or kind. Get the effects of taxes and benefits on UK household income
Dataset: trade. Monthly data on UK trade in goods: imports, exports, trade balance by partner country and commodity. Non-seasonally adjusted. Values in £ million. Get UK trade in goods data — country by commodity, imports and exports
Dataset: traffic-camera-activity. Used as a real-time indicator to understand economic activity and social change. Get UK traffic camera activity — experimental economic indicator
Datasets: weekly-deaths-age-sex (by age and sex), weekly-deaths-region (by region). National statistics updated weekly. Get weekly death registrations in England and Wales — by age, sex, and region
Dataset: wellbeing-quarterly. Higher scores (0-10) indicate better well-being (except anxiety, where lower is better). Get UK personal well-being estimates — life satisfaction, happiness, anxiety
Dataset: wellbeing-local-authority. Covers life satisfaction, worthwhileness, happiness, and anxiety by region. Get well-being estimates by UK local authority
The catalog contains 337+ datasets covering economy, population, health, trade, business, and more. Browse the complete ONS dataset catalog with pagination
Returns matching dataset IDs, titles, and descriptions. Use this to find the right dataset before querying data. Search ONS datasets by keyword — explore 337+ available datasets
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and UK ONS Full — Complete Statistical Intelligence tool infrastructure. Connect 20 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add UK ONS Full — Complete Statistical Intelligence without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every UK ONS Full — Complete Statistical Intelligence tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
UK ONS Full — Complete Statistical Intelligence in Mastra AI
Why run UK ONS Full — Complete Statistical Intelligence with Vinkius?
The UK ONS Full — Complete Statistical Intelligence connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 20 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect UK ONS Full — Complete Statistical Intelligence using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
UK ONS Full — Complete Statistical Intelligence and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect UK ONS Full — Complete Statistical Intelligence to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
UK ONS Full — Complete Statistical Intelligence for Mastra AI
Every request between Mastra AI and UK ONS Full — Complete Statistical Intelligence is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
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.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
NetBird
89 toolsAutomate Zero Trust networking via NetBird — manage accounts, users, and access controls directly from any AI agent.

Everfit Coaching
10 toolsEquip your AI agent to manage coaching clients, track workout plans, and monitor performance via the Everfit API.

Bitly
10 toolsShorten and manage links via Bitly — track clicks, analyze metrics, and manage groups directly from any AI agent.

WorldNewsAPI
4 toolsSearch world news — audit articles, top stories, and sources via AI.
