Skip to main content
Glama
paulieb89

What Do They Know

by paulieb89

whatdotheyknow-mcp

一个用于英国信息自由(FOI)研究的模型上下文协议(MCP)服务器。将 AI 助手连接到 WhatDoTheyKnow(英国最大的 FOI 请求平台),以搜索请求、阅读回复、查询公共机构并起草新请求。

工具

工具

描述

search_request_events

通过 WhatDoTheyKnow 的 Atom 订阅源对 FOI 请求和回复进行全文搜索。支持结构化表达式(如 status:successfulbody:"Liverpool City Council")。

search_authorities

按名称搜索英国公共机构。返回用于其他工具的 slug。

get_request_feed_items

获取特定 FOI 请求的事件时间线(发送、回复、澄清)。

build_request_url

为给定的机构和主题构建预填写的 WhatDoTheyKnow 请求 URL。

create_request_record

通过写入 API 创建请求(需要 WDTK_API_KEY)。

update_request_state

更新用户评估的请求状态(需要 WDTK_API_KEY)。

Related MCP server: mcp-legislation-uk

资源

URI 模板

返回值

wdtk://authorities/{authority_slug}

机构资料 JSON

wdtk://requests/{request_slug}

FOI 请求详情 JSON

wdtk://users/{user_slug}

用户资料 JSON

wdtk://requests/{request_slug}/feed

请求事件 Atom 订阅源

wdtk://users/{user_slug}/feed

用户活动 Atom 订阅源

wdtk://authorities/all.csv

所有英国公共机构的完整 CSV

提示词

提示词

描述

draft_foi_request

为给定的机构和主题起草一份范围明确、具体的 FOI 请求。

快速入门

本地运行

pip install fastmcp httpx pydantic
fastmcp run server.py

使用 MCP Inspector 进行检查:

npx @modelcontextprotocol/inspector http://localhost:8000/mcp

环境变量

变量

必需

描述

WDTK_API_KEY

可选

启用 create_request_recordupdate_request_state 写入工具

上游 API 和许可

来源

API

许可

认证

WhatDoTheyKnow

www.whatdotheyknow.com

OGL v3

无(读取)/ API 密钥(写入)

数据直接来源于 WhatDoTheyKnow 公共 API。该平台由 mySociety 运营。

Install Server
A
license - permissive license
B
quality
C
maintenance

Maintenance

Maintainers
Response time
2dRelease cycle
4Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    An MCP server that gives AI assistants access to UK Parliament data. Query MPs, Lords, bills, votes, committees, debates, and more through AI assistants like Claude Desktop and VS Code Copilot.
    4
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    MCP server for the Froide FOI platform. Exposes Froide's REST API as MCP tools for Claude and other MCP clients.
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    MCP server exposing the full UK Companies House Public Data API, enabling natural language queries for company profiles, search, officers, filing history, charges, insolvency, and persons with significant control, as well as downloading and reading PDF documents.

View all related MCP servers

Related MCP Connectors

  • Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.

  • Pocket Agent (aipocketagent.com) MCP server — read tools for personas, apps, and product info.

  • An MCP server for deep research or task groups

View all MCP Connectors

Latest Blog Posts

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