使用说明
联邦议院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
路线图
- [x] 最后协议
- []错误处理
- []日志记录 https://modelcontextprotocol.io/docs/tools/debugging#server-side-logging
- []特定日期/号码的协议
- []日期范围的协议
- []支持 MCP SSE
- [ ] 其他API端点:操作,打印,活动
- []关键字/相似性搜索