Set up ChatGPT
Connect ChatGPT to GovData and query UK Government data in natural language.
Before you start
- Create a GovData account (free)
- Go to your console and create an agent
- Copy the agent's API key — it starts with
gd_live_orgd_test_
1.Open MCP settings
In ChatGPT, go to Settings → Connected 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