• SEARCH
  • STRUCTURE
  • DATA
  • HUMAN

How to find and extract ONS statistics with your agent

Connect this MCP to your AI client to turn the UK Office for National Statistics catalog into a searchable, queryable database.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I use AI to get ONS data?

Your agent searches the ONS catalog for specific topics, drills down into dataset dimensions, and pulls the exact numbers you need. You get raw statistical observations without manual browsing. Here is how the process works.

The results of your queries

Where your data lands

Depending on what you ask, your agent delivers different levels of data depth.

SEARCH

Targeted dataset discovery

Your agent scans the 337+ available datasets to find the exact topic you're looking for. You get a list of relevant datasets instead of endless scrolling.

STRUCTURE

Dimension mapping

Your agent identifies how the data is organized, such as time periods or geographic regions. This ensures you know exactly what filters are available.

DATA

Precise observations

Your agent pulls specific data points and values from the chosen dataset. You get the actual numbers you need for your analysis.

HUMAN

Final interpretation

Your agent provides the raw data and metadata. You remain responsible for the final statistical analysis and reporting.

The workflow

What your agent does when you ask for data.

Your agent moves from broad searches to specific data points using a sequence of specialized tools.

  1. Locate datasets

    Your agent searches the ONS catalog to find datasets that match your specific keywords or topics.

    search_datasets
  2. Inspect dataset structure

    Once a dataset is found, your agent checks its metadata and available filters to understand the scope.

    get_dataset_infoget_dimensions
  3. Identify filter options

    Your agent looks at specific dimensions to see what specific categories or timeframes are available for selection.

    get_dimension_options
  4. Extract values

    Your agent pulls the actual statistical observations based on the dimensions you've selected.

    get_observations

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute UK ONS tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to begin your research.

Starting points

Replace the bracketed text with your specific research topics or timeframes.

UK ONS Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_fvId9Opua7L9Nik9gCqSg8golmJupaDzpV9JVlBd/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, UK ONS capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "uk-ons-discovery-search-337-statistical-datasets-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_fvId9Opua7L9Nik9gCqSg8golmJupaDzpV9JVlBd/mcp"
    }
  }
}
Copy into chat04
  • 01

    Search the ONS catalog for datasets related to [UK inflation rates].

  • 02

    Find the dimensions available in the [Consumer Price Index] dataset.

  • 03

    Get the statistical observations for [unemployment rates] in [London] for [2023].

  • 04

    Show me the available options for the [geography] dimension in the [population] dataset.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect UK ONS Discovery once, then ask.

One click connects this MCP to your AI client. Your credentials stay encrypted, and you can start querying the ONS catalog immediately.

Connect UK ONS Discovery to your agent

FAQ

How the ONS Discovery MCP behaves

  • 01

    Can your agent update or change ONS data?

    No. Your agent only reads data from the ONS catalog. It cannot modify any official statistics.

  • 02

    Can your agent download files directly to my computer?

    No. Your agent extracts observations and data points into your chat. You must manually save any data you want to keep.

  • 03

    How many datasets can your agent search?

    Your agent can search through all 337+ datasets available in the ONS catalog.

  • 04

    Does your agent perform the statistical modeling for me?

    No. Your agent pulls the raw observations and metadata. You are responsible for performing the actual statistical modeling or trend analysis.

  • 05

    Can I ask for data from specific years?

    Yes, provided that the specific dataset contains those time dimensions.

  • More questions about UK ONS Discovery? The Connector page answers them. See everything the UK ONS Discovery Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from UK ONS to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    UK ONS plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect UK ONS to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.