Open Data

HMRC Trade Stats MCP Server

Chat with AI and run tools instantly — no account needed.

HMRC trade and tax statistics published on GOV.UK. Search UK overseas trade statistics, tax receipts, customs data, and economic research from HM Revenue & Customs. Covers imports, exports, tariffs, and revenue data.

2 tools
Agent guide included
Try it Free

No account needed. Chat with AI and run tools instantly.

Browse all tools

AI Skill
SKILL.md

Domain knowledge for HMRC Trade Stats — workflow patterns, data models, and gotchas for your AI agent.

HMRC Trade Stats

Access HMRC trade and tax statistics published on GOV.UK. No authentication required.

Data Model

  • Publication — A statistical release or report published by HMRC on GOV.UK.
  • Supergroup — Content category: research_and_statistics for stats, transparency for spending.
  • Organisation — Filter by hm-revenue-customs slug.

Key Fields (search results)

  • title — Publication title
  • description — Summary of the publication
  • public_timestamp — When it was published/updated
  • link — Path on GOV.UK (use with content API for full details)
  • organisations — Publishing organisation(s)
  • format — Content format (e.g. official_statistics, national_statistics, research)

Key Fields (publication detail)

  • base_path — Canonical URL path
  • content_id — UUID identifier
  • details.attachments — Data files (ODS, CSV, HTML attachments)
  • details.body — HTML body with methodology and notes
  • details.national_applicability — Which UK nations data covers

Gotchas

  • The original uktradeinfo.com API is deprecated. Data is now published via GOV.UK.
  • Search uses the GOV.UK search API filtered to HMRC organisation.
  • Detail uses the GOV.UK content API at /api/content/{path}.
  • Pagination: start parameter (0-based offset), default page size varies.
  • count parameter controls results per page (max ~1000).

Tools in this Server (2)

Hmrc Trade Detail

Get full details of an HMRC publication on GOV.UK by path. Returns the publication title, description, body content, attachments (data files), publish...

Hmrc Trade Search

Search HMRC trade and tax statistics published on GOV.UK. Returns UK overseas trade statistics, tax receipts, customs data, and economic research from...

Frequently Asked Questions

What is the HMRC Trade Stats MCP server?

HMRC trade and tax statistics published on GOV.UK. Search UK overseas trade statistics, tax receipts, customs data, and economic research from HM Revenue & Customs. Covers imports, exports, tariffs, and revenue data. It provides 2 tools that AI agents can use through the Model Context Protocol (MCP).

How do I connect HMRC Trade Stats to my AI agent?

Add the MCPBundles server URL to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.). The URL format is: https://mcp.mcpbundles.com/bundle/hmrc-trade-stats. Authentication is handled automatically.

How many tools does HMRC Trade Stats provide?

HMRC Trade Stats provides 2 tools that can be called by AI agents, along with a SKILL.md that gives your AI agent domain knowledge about when and how to use them.

What authentication does HMRC Trade Stats require?

HMRC Trade Stats uses open data APIs — no authentication required.

Setup Instructions

Connect HMRC Trade Stats to any MCP client in minutes

https://mcp.mcpbundles.com/bundle/hmrc-trade-stats

What is MCP?

Model Context Protocol lets AI tools call external capabilities securely through a single URL. This bundle groups tools behind an MCP endpoint that many clients can use.

Use this bundle in 3 steps

  1. Copy the MCP URL above
  2. Open your AI tool and add a new MCP/connector
  3. Paste the URL and follow any auth prompts

Claude Desktop Users

Skip the manual setup! Use the .mcpb file format for one-click installation. Check the Claude Desktop tab for setup instructions.

Pick your tool tab for exact steps

Select ChatGPT, Cursor, Claude Code, or another tab for copy-paste config.

Try HMRC Trade Stats now

No sign-up required. Chat with AI and run tools instantly.

HMRC Trade Stats MCP Server & Skill — 2 Tools