germany-parliament-mcp-server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Overview
Follow business through the Bundestag and Bundesrat using DIP, Germany's parliamentary documentation system. Search for a bill or inquiry, trace its procedural steps, and read the official papers and plenary record. Look up people and find their speeches, questions, and other recorded activities.
Tools
Tool | Description |
| Find legislation and other parliamentary business by title, subject, status, term, or reference |
| Read a proceeding and its chronological steps with decisions and document citations |
| Find printed papers or plenary protocols, including documents cited by a proceeding's steps |
| Read document text or printed pages, or list the document's linked proceedings |
| Find speeches, questions, and other activities by person or proceeding |
| Resolve names to DIP person IDs and inspect roles by term |
| Look up terms, German filter vocabulary, identifiers, and attribution |
Related MCP server: Bundestag MCP Server
Capability reference
bundestag_search_proceedings tool
Search by title, descriptor, legislative term, proceeding type, subject area, initiator, or consultation status. Search known references with gestaNumber, councilDocumentNumber, or promulgationCitation. Date filters apply to the latest linked document date. Use bundestag_list_reference for German filter values.
bundestag_get_proceeding tool
Pass a DIP proceedingId to read the proceeding and its chronological steps. An optional chamber filters the steps while preserving the proceeding summary. A cited document provides the kind and ID to use with the step's positionId in bundestag_get_document.
bundestag_search_documents tool
Choose kind: "paper" or kind: "protocol". Both support number, publisher, term, and date filters. Papers also support title, document type, originator, and lead ministry. A proceedingId restricts results to documents cited by that proceeding's steps. Each result's linked-proceeding preview can be expanded with bundestag_get_document in proceedings mode.
bundestag_get_document tool
Supply the
kindanddocumentId, or the kind and a chamber-qualifieddocumentNumbersuch asBR-PlPr. 1099. A bare number requireschamber. Usetermto disambiguate a number when needed.Omit page selectors for whole-document DIP text. For a step citation, pass its
positionIdwith the cited document. This reads the cited printed pages from the official PDF, including any other material on those pages. For a known protocol citation, setstartPageand optionallyendPagefor an inclusive printed range.Try
{"kind":"protocol","documentId":"5693","positionId":"665933"}for a step in proceeding318941. The text begins on printed page 27001, physical PDF page 93. For a Bundesrat example, position666674in proceeding319454cites protocol5694starting on printed page 469, physical PDF page 11.Text chunks default to 8,000 Unicode code points, with a maximum of 40,000 per call. Repeat the same selection with
nextOffsetCharsasoffsetCharsand include the returnedtextRevision. If the revision changes, restart at offset zero.An unavailable-text result includes a reason and preserves the citation. Open the official PDF when it is linked. Image-only pages require reading the PDF directly because this server does no OCR.
Use
mode: "proceedings"and follownextCursorto list the document's linked proceedings.
bundestag_search_activities tool
Supply personId, personName, or proceedingId. Filter by activity type, term, or date. Results carry document references and printed pages when DIP supplies them. Resolve the person first when a name is ambiguous.
bundestag_search_persons tool
Search a surname or a surname-first full name, or list people by term. The optional role filter matches German DIP values such as MdB. With a term and role, the same role record must match both.
bundestag_list_reference tool
Choose terms, proceedingTypes, consultationStatuses, subjectAreas, documentTypes, activityTypes, personRoles, identifiers, or attribution. Vocabulary lists give examples with English glosses.
Features
Built on @cyanheads/mcp-ts-core with stdio and Streamable HTTP transports, pluggable authentication, swappable storage, structured logging, and optional OpenTelemetry tracing.
List calls default to 20 records and accept up to 100. Repeat the same filters with
nextCursorascursoruntil no continuation remains. A filtered page can be empty and still have a continuation.Cursors are valid for up to 15 minutes on the server instance that issued them. A restart, a request routed to a different replica, or eviction of older cursors can invalidate them sooner. If you receive
invalid_cursor, restart the same search without the cursor.Responses preserve DIP provenance, German source wording, and official citations where available. The underlying records are available free of charge from Deutscher Bundestag/Bundesrat – DIP. See the DIP reuse terms.
Data is limited to DIP and its cited official PDFs. Roll-call ballots, consolidated statute text, audiovisual archives, separate open-data exports, and PDF OCR are outside this server's scope.
Getting started
The npm install requires Node.js 24 or later. Get a current public API key from the DIP API help page, or use your personal key. Set BUNDESTAG_API_KEY in your shell before running the command.
claude mcp add -e "BUNDESTAG_API_KEY=$BUNDESTAG_API_KEY" germany-parliament-mcp-server -- npx -y @cyanheads/germany-parliament-mcp-serverFor other MCP clients, add the following configuration and replace YOUR_DIP_KEY with your key.
{
"mcpServers": {
"germany-parliament-mcp-server": {
"command": "npx",
"args": ["-y", "@cyanheads/germany-parliament-mcp-server"],
"env": { "BUNDESTAG_API_KEY": "YOUR_DIP_KEY" }
}
}
}The Claude Desktop bundle prompts for the DIP key at installation.
Configuration
Variable | Description | Default |
| Required DIP API key | — |
|
|
|
| HTTP bind address |
|
| HTTP listen port |
|
| Streamable HTTP endpoint path |
|
| Opt in to sending aggregate tool-call counts to the maintainer |
|
See .env.example for authentication, storage, and telemetry settings. If DIP rejects a stale key, replace it and restart the server.
Running the server
From source
With Bun 1.4.4+ and Node.js 24+, copy .env.example to .env and set BUNDESTAG_API_KEY.
bun install
bun run build
bun run start:stdioUse bun run start:http to serve Streamable HTTP at http://127.0.0.1:3010/mcp with the default bind settings.
Docker
docker run --rm -p 127.0.0.1:3010:3010 -e BUNDESTAG_API_KEY ghcr.io/cyanheads/germany-parliament-mcp-server:latestExport BUNDESTAG_API_KEY in your shell before running Docker. The image defaults to HTTP. For a local image, run docker build -t germany-parliament-mcp-server . and use that image name in the run command.
Project structure
Directory | Purpose |
| Tool definitions and document selectors |
| DIP client, filters, joins, and pagination |
| Printed-page mapping and PDF text extraction |
| DIP record schemas and normalized citations |
| Parliamentary terms, vocabulary, and citation guidance |
| Tool, DIP service, and PDF tests |
See docs/tree.md for the full tree.
Development guide
See CLAUDE.md for development guidelines and docs/design.md for domain design. Register tools in src/index.ts and validate DIP records at the service boundary. Keep missing upstream fields absent and preserve the same data in both MCP output surfaces.
Contributing
Issues are welcome. Run checks and tests before submitting.
bun run devcheck
bun run testLicense
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search Swiss parliamentary business, votes, debates, members, and declared interests.
Search Bluesky posts and feeds; read profiles, threads, and trends. STDIO or Streamable HTTP.
Query SEC EDGAR filings, XBRL financials, and company data via MCP. STDIO or Streamable HTTP.
Search MPs and Lords, fetch profiles, synopses, and Westminster constituencies
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables searching and retrieving documents, activities, and plenary protocols from the German Bundestag's DIP system via MCP tools.75 npmMIT
- AlicenseNot gradedqualityDmaintenanceA production-ready MCP server that provides access to the German Bundestag's parliamentary documentation system (DIP API).1MIT
- FlicenseNot gradedqualityDmaintenanceEnables querying German Bundestag politician records and calculating parliamentary group distributions for a legislative period via the DIP API.-
- AlicenseNot gradedqualityBmaintenanceEnables discovery and retrieval of European Parliament procedures, MEPs, plenary votes, documents, speeches, and questions from the Open Data API over STDIO or Streamable HTTP.353 npm1Apache 2.0