loading…
Search for a command to run...
loading…
MCP server for UK Freedom of Information research. Connects AI assistants to WhatDoTheyKnow — the UK's largest FOI request platform to search requests, read res
MCP 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.
Glama smithery badge Install in VS Code Install in VS Code Insiders Install in Cursor Install in VS Code (local)
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.
| Tool | Description |
|---|---|
search_request_events |
Full-text search of FOI requests and responses via WhatDoTheyKnow's Atom feed. Supports structured expressions (status:successful, body:"Liverpool City Council"). |
search_authorities |
Search UK public authorities by name. Returns slug for use with other tools. |
get_request_feed_items |
Fetch the event timeline (sent, response, clarification) for a specific FOI request. |
build_request_url |
Build a prefilled WhatDoTheyKnow request URL for a given authority and topic. |
create_request_record |
Create a request via the write API (requires WDTK_API_KEY). |
update_request_state |
Update user-assessed state of a request (requires WDTK_API_KEY). |
| URI template | Returns |
|---|---|
wdtk://authorities/{authority_slug} |
Authority profile JSON |
wdtk://requests/{request_slug} |
FOI request detail JSON |
wdtk://users/{user_slug} |
User profile JSON |
wdtk://requests/{request_slug}/feed |
Request event Atom feed |
wdtk://users/{user_slug}/feed |
User activity Atom feed |
wdtk://authorities/all.csv |
Full CSV of all UK public authorities |
| Prompt | Description |
|---|---|
draft_foi_request |
Draft a narrow, specific FOI request for a given authority and topic. |
{
"mcpServers": {
"whatdotheyknow": {
"type": "http",
"url": "https://whatdotheyknow-mcp.fly.dev/mcp"
}
}
}
{
"mcpServers": {
"whatdotheyknow": {
"type": "stdio",
"command": "uvx",
"args": ["whatdotheyknow-mcp"]
}
}
}
| Variable | Required | Description |
|---|---|---|
WDTK_API_KEY |
Optional | Enables create_request_record and update_request_state write tools |
| Source | API | Licence | Auth |
|---|---|---|---|
| WhatDoTheyKnow | www.whatdotheyknow.com |
OGL v3 | None (read) / API key (write) |
Data is sourced directly from the WhatDoTheyKnow public API. The platform is operated by mySociety.
Add this to claude_desktop_config.json and restart Claude Desktop.
{
"mcpServers": {
"what-do-they-know": {
"command": "npx",
"args": []
}
}
}