Set up Gemini
Connect Google Gemini 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 Gemini, go to Settings → Extensions or MCP.
2.Add the GovData server
Add a new MCP server with these details:
| 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:
"What are the current UK VAT rates?"
Gemini will read the VAT rates resource from GovData and present the current standard, reduced, and zero rates.
What's next?
- MCP Reference — see all available tools, resources, and prompts
- Quick Start — learn about the REST API for programmatic access