GovData Docs

Set up ChatGPT

Connect ChatGPT to GovData and query UK Government data in natural language.

Before you start

  1. Create a GovData account (free)
  2. Go to your console and create an agent
  3. Copy the agent's API key — it starts with gd_live_ or gd_test_

1.Open MCP settings

In ChatGPT, go to SettingsConnected apps or MCP Servers.

2.Add the GovData server

Click Add Server or Connect and enter:

Server URL https://mcp.govdata.dev/mcp
Authentication Bearer token
Token YOUR_API_KEY

Replace YOUR_API_KEY with your actual API key from the console.

3.Try it out

Start a new conversation and ask:

"Look up BP plc's company details and financial health"

ChatGPT will search for the company, retrieve its details, and assess its financial health using GovData tools.

What's next?

  • MCP Reference — see all available tools, resources, and prompts
  • Quick Start — learn about the REST API for programmatic access