What Do They Know? — Claude Code MCP server: setup guide
MCP server to query UK Freedom of Information entries, public authorities, and responses on WhatDoTheyKnow.
no license 2,223 installs updated 2026-04-30
claude mcp add --transport http whatdotheyknow https://whatdotheyknow--bouch.run.toolsWhat What Do They Know? does
This tool links your assistant to the WhatDoTheyKnow archive. You can look up UK authorities by name using search_authorities, query public records via search_request_events, and read structured entries from specific threads with get_request_feed_items. When preparing a new submission, build_request_url constructs a prefilled link ready to open.
The server also provides prompts inspection via list_prompts and get_prompt. Modifying data with create_request_record or changing review statuses with update_request_state calls an experimental write API, which immediately fails without WDTK_API_KEY set in the environment.
What it helps with
- locate UK authorities and extract their identifier slugs
- retrieve structured events from FOI Atom feeds
- generate prefilled URLs for Freedom of Information drafts
- modify request states using the write API
Example prompts for the agent
- Search WhatDoTheyKnow for public authorities in Manchester
- Fetch parsed feed entries for this FOI request thread
- Generate a request URL for the transport authority
How to install What Do They Know?
Platform CLI: remote server
claude mcp add --transport http whatdotheyknow https://whatdotheyknow--bouch.run.toolsPlatform CLI: remote server
codex mcp add what-do-they-know --url https://whatdotheyknow--bouch.run.toolsConfig file
{
"mcpServers": {
"what-do-they-know": {
"url": "https://whatdotheyknow--bouch.run.tools"
}
}
}Config file
{
"servers": {
"what-do-they-know": {
"type": "http",
"url": "https://whatdotheyknow--bouch.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http what-do-they-know https://whatdotheyknow--bouch.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about What Do They Know?
How to install What Do They Know? in Claude Code?
Run claude mcp add --transport http whatdotheyknow https://whatdotheyknow--bouch.run.tools in your terminal.
What does What Do They Know? do?
It lets assistants query UK Freedom of Information disclosures, look up public bodies, parse updates, and build submission links.
Is an API key required to run queries?
Read-only searches work without credentials, but invoking create_request_record or update_request_state mandates WDTK_API_KEY.