UK ONS Trade MCP. Analyze UK trade flows and business density instantly.
Works with every AI agent you already use
…and any MCP-compatible client
Just plug in your AI agents and start using Vinkius.
UK ONS Trade — International Trade & Business Activity provides three specialized datasets from the UK Office for National Statistics (ONS).
You can retrieve monthly trade figures—imports, exports, and balance by country/commodity using `get_trade`. It also pulls business counts from the IDBR register, showing enterprises grouped by industry and region via `get_business_counts`.
Finally, it includes experimental real-time economic signals from traffic camera activity through `get_traffic_activity`.
What your AI agents can do
Get business counts
Returns the count of active UK businesses, segmented by industry type and local administrative units using IDBR data.
Get trade
Provides monthly goods trade data for the UK, detailing imports, exports, and the total balance by commodity and partner country.
Get traffic activity
Delivers experimental, real-time indicators derived from traffic camera activity to gauge local economic or social shifts.
Retrieves monthly UK goods trade data, allowing you to calculate the net balance of imports versus exports for specific countries or commodities.
Generates a count of active enterprises across the UK, segmenting results by industry type and local administrative area.
Pulls experimental traffic camera data to give you an indicator of current movement or activity levels in specific areas.
Ask AI about this MCP
Supported MCP Clients
Waiting for input…
UK ONS Trade: 3 Tools for Economic Analysis
Access three distinct datasets—trade figures, business registries, and traffic activity—to build a comprehensive view of the UK economy.
019d75e6get business counts
Returns the count of active UK businesses, segmented by industry type and local administrative units using IDBR data.
019d75e6get trade
Provides monthly goods trade data for the UK, detailing imports, exports, and the total balance by commodity and partner country.
019d75e6get traffic activity
Delivers experimental, real-time indicators derived from traffic camera activity to gauge local economic or social shifts.
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 Trade — International Trade & Business Activity, 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 MCP Server connects your agent directly to three core economic datasets from the UK Office for National Statistics (ONS). You'll use this server when you need to model macroeconomics by combining official trade figures, structured business counts, and real-time local movement indicators. It gives you a centralized way to crunch numbers on British economic activity without ever leaving your chat window.
Analyzing Trade Balances with get_trade
When you call the get_trade tool, you get monthly goods trade data for the UK. This dataset specifies imports, exports, and the total balance for specific commodities and partner countries. You can use these figures to calculate the net balance—the difference between what's coming in and what's going out—for any combination of commodity and nation over time.
The tool details this flow by providing metrics on both imported goods and exported goods against a specified country or product category, allowing you to map how trade patterns change month-to-month.
Mapping Business Density with get_business_counts
The get_business_counts tool pulls active business data from the IDBR register. It returns an actual count of active UK businesses that you can segment across two dimensions: industry type and local administrative units. This means you don't just get a total number; you figure out where the businesses are clustered and what kind of businesses they are.
For example, you can map how many finance firms operate in London versus manufacturing firms operating in Manchester. It gives you granular density metrics by combining sector classification with specific geographic areas across England.
Assessing Real-Time Economic Indicators with get_traffic_activity
Calling the get_traffic_activity tool delivers experimental, real-time indicators derived from traffic camera data. This isn't standard historical data; it provides a live gauge of local economic or social shifts based on movement patterns in specific areas. You use this to track immediate activity levels—it’s useful for seeing if foot traffic or vehicle flow changes drastically day over day.
Because these are experimental indicators, you interpret the metrics as immediate signals of current momentum rather than stable historical averages.
You'll combine these data points easily: you can cross-reference a region with high business counts (using get_business_counts) against its recent trade balance changes (from get_trade), and then overlay that analysis with real-time activity indicators (via get_traffic_activity). It helps you build models that connect the big picture—national commodity flows—to micro-level data, like a specific business sector's performance or daily movement in a single neighborhood.
You can analyze how local economic signals correlate with international trade trends.
How UK ONS Trade MCP Works
- 1 Tell your AI client which combination of variables you need (e.g., 'UK exports to Germany for machinery').
- 2 Your agent calls the appropriate tool, like
get_tradeorget_business_counts, sending it structured parameters. - 3 The server pulls and formats the raw ONS data, returning clean metrics directly into your conversation.
The bottom line is: you get complex, official UK economic statistics instantly, without having to navigate multiple government websites or manually process spreadsheet downloads.
Who Is UK ONS Trade MCP For?
This is for the supply chain analyst who needs to know if a trade route matters right now. It's also for the market research specialist tracking regional business health, and any economist building models that connect national trade patterns with local economic indicators.
Uses get_trade to compare historical import/export deficits across different commodities to model macro-economic shifts.
Combines get_traffic_activity with trade data to assess how physical movement might affect goods flow between regions or countries.
Runs get_business_counts across different sectors and geographies to pinpoint areas experiencing rapid industrial growth or decline.
What Changes When You Connect
- Connect national metrics to local reality. You don't just get a total trade deficit from
get_trade; you can cross-reference that with regional business health data usingget_business_countsto pinpoint where the problem starts. - Stop relying on stale reports. The combination of historical
get_tradefigures and real-time traffic indicators fromget_traffic_activitylets you model how current activity might affect future trade volumes. - Speed up deep research. Instead of downloading three separate Excel sheets (one for trade, one for business, one for traffic), your AI client runs all the necessary tools—
get_trade,get_business_counts, andget_traffic_activity—in a single query. - Benchmark industry strength. Use
get_business_countsto compare how many financial services firms are in London versus Manchester, giving you immediate data points for market reports. - Calculate the full picture of movement. You can assess not only what is shipped (via
get_trade) but also the supporting local activity that drives it by running a query againstget_traffic_activity.
Real-World Use Cases
Assessing post-pandemic recovery in manufacturing.
A consultant needs to know if trade deficits are being offset by local growth. They ask the agent: 'Show me the trend of machinery exports (get_trade) compared to the number of manufacturing businesses registered in key areas (get_business_counts).' The system delivers a combined view, showing that while export volumes stabilized, business density lagged behind.
Understanding supply chain risk in a specific corridor.
A logistics manager is worried about congestion impacting goods flow. They use the agent to run get_traffic_activity for a key motorway and compare the current readings against historical trade spikes (get_trade) to predict potential bottlenecks that could derail shipments.
Validating market entry theory in a new region.
A corporate strategy team wants to know if high business density predicts increased foreign trade. They use get_business_counts for several industrial hubs and cross-reference the results with specific commodities' import/export data from get_trade.
Modeling immediate economic impact of a local event.
An urban planner wants to see if a new subway line is changing commerce. They use get_traffic_activity before and after the line's opening, then compare those changes against the subsequent growth in commercial businesses reported by get_business_counts.
The Tradeoffs
Mixing up data types
Asking 'What were the trade figures if there were more IT companies?' The model fails because business counts are not a direct variable in trade calculations.
→
Break it into two steps. First, run get_business_counts for the Information sector to establish baseline density. Second, use get_trade independently to analyze actual import/export trends without mixing variables.
Forgetting non-seasonally adjusted data
Assuming that all trade numbers are comparable year-over-year without checking the dataset's adjustment status, leading to incorrect conclusions.
→
Always confirm with get_trade documentation that the figures are non-seasonally adjusted. Use this context when comparing time periods.
Overlooking data granularity
Asking for 'UK trade.' This is too vague and results in a massive, unhelpful dump of all possible metrics.
→ Be specific. Always include the required parameters: country name (e.g., 'Germany'), commodity (e.g., 'machinery'), and time period.
When It Fits, When It Doesn't
Use this server if your analysis requires combining official macro-level economic data (trade flows from get_trade) with granular local metrics (business counts via get_business_counts) or real-time indicators (get_traffic_activity). You need to prove a causal link between physical activity and economic output. Don't use this if you just need a simple, single metric—like 'What is the current population of London?' For that, you'd use a census API instead; this server focuses specifically on trade, business registration, and traffic movement. If your question only concerns historical stock prices or commodity futures (outside of UK goods), this won't cut it.
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 3 capabilities that interface natively with Claude, ChatGPT, Cursor, and any MCP client. No middleware. No custom integration required.
Available Capabilities
Analyzing international trade used to mean opening three different government websites.
Today, analyzing a simple trade relationship—say, the UK’s imports from China—requires logging into the ONS site. You pull up one commodity sheet, then you jump to another dashboard for business registration numbers in Shenzhen. Then, if you want real-time context, you start looking at municipal traffic reports. It’s tedious, slow, and prone to copy/paste errors.
With this MCP Server, your agent handles the whole sequence. You just ask: 'What was the trade deficit with China last month, and how does that compare to current local activity?' The system runs `get_trade`, pulls relevant data from `get_business_counts` (if needed), and gives you a single answer. It’s immediate.
The get_traffic_activity tool delivers real-time economic insight.
Before, gauging true local economic health meant relying on quarterly surveys or official business reports that were always months old. If a major event happened—a strike, a new factory opening—you had no way to quantify the immediate physical impact until weeks later.
Now, your agent can access `get_traffic_activity` and provide an experimental indicator of current economic movement. It gives you a live pulse check that connects macro trends (like those in `get_trade`) to ground-level reality—that's genuinely different.
Common Questions About UK ONS Trade MCP
How do I use the get_business_counts tool? +
To run this, specify the desired industry sector and geographical region. For example: 'Get business counts for the finance sector in London.' It uses IDBR data to provide an accurate count.
What kind of data does get_trade handle? +
get_trade handles goods trade, specifically imports and exports. You must define a commodity (like 'vehicles') and the partner country to get meaningful results. It uses monthly figures in £ million.
Can I use get_traffic_activity for future planning? +
The data is experimental, but it's designed as a real-time indicator of economic activity. You can model how current movement correlates with historical trade spikes from get_trade to inform your projections.
Do I need all three tools for one analysis? +
No, you only call the tool(s) relevant to your question. If you just want business density, stick to get_business_counts. Don't try to run trade queries if you don't specify a country and commodity.
When using get_trade, what parameters do I specify if I need data for a date range other than monthly? +
You must provide specific year and month values in your input request. The tool pulls non-seasonally adjusted monthly reports only; it cannot generate quarterly or annual summaries directly.
Can get_business_counts retrieve enterprise data for regions outside the UK? +
No, this function is restricted to using the Inter-Departmental Business Register (IDBR). You can only pull official business counts specific to local units within the United Kingdom.
What should I do if I run into a rate limit error while calling get_traffic_activity? +
Wait a short period and retry your request. We recommend implementing an exponential backoff strategy in your agent code to manage high-volume calls.
How is the data structured when I call get_trade for commodity and country flows? +
The output is a structured JSON array. It includes distinct fields for the partner country, specific commodity codes, and whether the recorded value represents an import or export.
What is the IDBR? +
The Inter-Departmental Business Register (IDBR) is a comprehensive list of UK businesses used for all government statistical surveys. It covers 2.7 million+ live enterprises across all sectors.
Does this cover both goods and services? +
Currently, the primary datasets focus extensively on the trade in goods by commodity and country. Trade in services data is also available but categorized separately in larger macroeconomic releases.
What kind of traffic activity data is available? +
The ONS provides experimental real-time indicators compiled from traffic camera activity, which measure vehicle counts and traffic movement as a proxy for economic and supply chain activity.
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
More in this category
EZO Asset Intelligence
Equip your AI agent to manage fixed assets, track inventory, and monitor checkouts via the EZO.io (EZOfficeInventory) API.
World Bank Labor & Trade
Analyze global unemployment, labor forces, trade balances (imports/exports), and FDI directly from the World Bank API.
Hub Planner
Manage resources, projects, and bookings via Hub Planner API.
You might also like
BugSnag
Monitor application errors via BugSnag — track stability, inspect error groups, and retrieve event details directly from any AI agent.
JobNimbus
Manage contacts, jobs, and tasks via JobNimbus CRM API.
Mailtrap
Test, debug, and preview emails in a sandbox before sending to production with analytics that catch rendering issues early.