GovData Docs

Set up Gemini

Connect Google Gemini 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 Gemini, go to SettingsExtensions 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