• DATA
  • STRUCTURE
  • OPTIONS
  • HUMAN

How to extract filtered ONS observations with your agent

Connect the UK ONS Discovery MCP to your AI client. Once connected, your agent can browse dataset structures and pull specific statistical values through natural language.

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 get specific ONS stats using my AI?

Your agent uses the connector to find valid dataset dimensions and filter for the exact values you need. You'll get specific statistical observations without manual searching. This breakdown shows you how your agent handles the data.

Data outcomes

What you get

The results your agent produces after processing your request.

DATA

Filtered observations

Your agent pulls the specific statistical values you asked for. You get the raw numbers that match your filters.

STRUCTURE

Dataset dimensions

Your agent identifies the valid categories and variables within a dataset. This ensures your queries use correct parameters.

OPTIONS

Valid filter values

Your agent checks which specific options exist for each dimension. This prevents errors caused by invalid filter requests.

HUMAN

Final verification

You review the statistical outputs. Your agent provides the data, but you decide if the numbers fit your analysis.

The workflow

What your agent does when the request arrives.

Your agent follows a logical path to turn a question into a specific data point.

  1. Map the dataset

    Your agent looks at the available variables in the ONS dataset to understand what can be queried.

    get_dimensions
  2. Check valid values

    It verifies which specific options exist for each dimension to ensure the filters are valid.

    get_dimension_options
  3. Apply filters

    Your agent builds a precise request using the dimensions and options it identified.

    get_dimension_options
  4. Retrieve data

    Your agent pulls the final statistical observations that match your criteria.

    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 data extraction.

Starting points

Swap out the dataset names and specific variables for the ones you actually need.

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

    Find the dimensions available in the UK employment dataset.

  • 02

    What are the valid options for the 'Region' dimension in the population dataset?

  • 03

    Get the observations for the 'Age' dimension where 'Year' is 2022.

  • 04

    List the dimensions for the consumer price index dataset and pull the latest values.

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

Start here

Connect UK ONS Discovery once, then ask.

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

Connect UK ONS Discovery to your agent

FAQ

How the task behaves

  • 01

    Can your agent change the data in the ONS datasets?

    No. The tools only allow your agent to read dimensions and observations. It cannot modify any ONS records.

  • 02

    Does your agent decide which filters to use?

    Your agent suggests filters based on the dimensions it finds, but it follows your specific instructions for the final query.

  • 03

    Can I use this to download entire datasets?

    No. Your agent pulls specific observations based on your filters. It is designed for targeted data retrieval rather than bulk database dumps.

  • 04

    How does your agent know which dimensions are valid?

    It uses the get_dimensions tool to see the structure of the dataset before it attempts to pull data.

  • 05

    Can your agent create new statistical categories?

    No. Your agent can only work with the existing dimensions and options provided by the ONS.

  • 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.