议会协议访问服务

一个提供德国议会协议访问的MCP服务器,可通过聊天客户端与议会内容互动。

  • by goern
  • Python
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 goern/bundestag-mcp

使用说明

联邦议院MCP

这很简单 MCP服务器 它允许访问 协议 德国议会。安装后,您可以“与议会聊天”:

此MCP服务器需要安装聊天客户端。我们将使用 克劳德桌面 作为一个例子。

安装选项

选项1:使用容器

# Clone this repo
git clone git@github.com:luebken/bundestag-mcp.git; cd bundestag-mcp

# Build the container image
podman build -t bundestag-mcp .

# Run the container with your API key
podman run -e BUNDESTAG_API_KEY=your_api_key bundestag-mcp

或者,您也可以将容器集成到 Claude Desktop 中:

{
  "mcpServers": {
    "bundestag-mcp": {
      "command": "podman",
      "args": ["run", "--rm", "-e", "BUNDESTAG_API_KEY=your_api_key", "bundestag-mcp"]
    }
  }
}

选项2:本地安装

# Clone this repo
git clone git@github.com:luebken/bundestag-mcp.git; cd bundestag-mcp

# Install python dependencies
uv venv
source .venv/bin/activate
uv pip install -e .

# Configure bundestag-mcp for Claude > Settings > Developer > Edit Config
# /Users/YOUR_USERNAME/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
      "bundestag-mcp": {
          "command": "uv",
          "args": [
              "--directory",
              "/ABSOLUTE/PATH/TO/PARENT/FOLDER/bundestag-mcp/",
              "run",
              "server.py"
          ]
      }
  }
}
# Restart Claude. 
# Test with the prompt
# > Was wurde in der letzten Plenarsitzung im Bundestag diskutiert?

调试

npx @modelcontextprotocol/inspector uv --directory $(PWD) run server.py

路线图

资源