What Do They Know
whatdotheyknow-mcp
A Model Context Protocol server for UK Freedom of Information research. Connects AI assistants to WhatDoTheyKnow — the UK's largest FOI request platform — to search requests, read responses, look up public authorities, and draft new requests.
Tools
Tool | Description |
| Full-text search of FOI requests and responses via WhatDoTheyKnow's Atom feed. Supports structured expressions ( |
| Search UK public authorities by name. Returns slug for use with other tools. |
| Fetch the event timeline (sent, response, clarification) for a specific FOI request. |
| Fetch full public request JSON, including status, authority, requester, correspondence events, and attachment metadata where exposed. |
| List a user's visible requests with title, slug, status, authority, dates, and snippets. |
| Fetch a user's activity Atom feed as structured entries with readable content text. |
| Fetch full public authority JSON, including contact/profile fields and request statistics. |
| Build a prefilled WhatDoTheyKnow request URL for a given authority and topic. |
| Create a request via the write API (requires |
| Update user-assessed state of a request (requires |
Related MCP server: UK Parliament MCP Server
Resources
URI template | Returns |
| Authority profile JSON |
| FOI request detail JSON |
| User profile JSON |
| Request event Atom feed |
| User activity Atom feed |
| Full CSV of all UK public authorities |
Prompts
Prompt | Description |
| Draft a narrow, specific FOI request for a given authority and topic. |
Connect
Hosted (no install)
{
"mcpServers": {
"whatdotheyknow": {
"type": "http",
"url": "https://whatdotheyknow-mcp.fly.dev/mcp"
}
}
}Local (uvx)
{
"mcpServers": {
"whatdotheyknow": {
"type": "stdio",
"command": "uvx",
"args": ["whatdotheyknow-mcp"]
}
}
}Environment variables
Variable | Required | Description |
| Optional | Enables |
Upstream API and Licence
Source | API | Licence | Auth |
WhatDoTheyKnow |
| None (read) / API key (write) |
Data is sourced directly from the WhatDoTheyKnow public API. The platform is operated by mySociety.
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/paulieb89/whatdotheyknow-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server