SuperAPIAI Directory

fds-mcp

github.com · AI developer platforms

Freedom-of-information requests in Germany via FragDenStaat: find the responsible authority, check the law and deadline, track requests and draft new ones.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

fds-mcp is an MCP (Model Context Protocol) server for AI assistants that connects to the German information disclosure platform FragDenStaat.de (built on froide). After installation, MCP clients such as Claude gain access to 15 tools for preparing freedom of information requests in natural language.

Main capabilities: find the authority responsible for a given location and provide the supporting evidence; indicate the applicable law and its deadlines; track requests that have been sent; collect replies and attachments; draft new requests in local files for human confirmation before sending. Four of the tools can be used without an account or token: searching authorities, reading laws, and determining who is responsible for a location. check_jurisdiction queries along the geographic area chain and returns the API URL used as evidence.

Usage: the server communicates via stdio and can be run directly from PyPI or installed from a source checkout (requires Python 3.10+). Once registered with an MCP client, it is ready to use. Tools that require a token use OAuth 2.0; first register an application at FragDenStaat.de, login uses Authorization Code + PKCE (S256), redirecting to https://localhost:8765/callback;令牌存于 ~/.config/fds-mcp/tokens.json (permissions 0600), and the refresh token is valid for 180 days. The default requested scopes are read:user read:request make:request, which can be overridden with fds-mcp configure --scopes.

Limitations and security: the FragDenStaat REST API does not support drafts, previews, or revocation; once POST /api/v1/request/ succeeds it cannot be withdrawn, and the serializer lacks the law_type field, so it may submit under the default law. Therefore it is recommended to use build_submit_url to generate a pre-filled web form for a human to click and send. The API also cannot select the legal basis, set status, or reply to authority emails. All red tools default to dry_run=True. The optional send_reply_via_browser is off by default and is only registered if FDS_MCP_BROWSER_SEND=1 is set; it bypasses the final human confirmation step and carries prompt injection and account permission risks, so the official recommendation is to keep it off or use a separate browser profile.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools