house-of-commons-oral-and-written-questions-api

house-of-commons-oral-and-written-questions-api

3.2

If you are the rightful owner of house-of-commons-oral-and-written-questions-api and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This project is an MCP (Multi-Agent Conversation Protocol) Server designed for the OpenAPI URL provided by the UK Parliament's oral questions API.

The MCP Server is a sophisticated tool designed to facilitate multi-agent conversations by leveraging the OpenAPI specifications of the UK Parliament's oral questions API. Built using AG2's MCP builder, this server is tailored to handle complex interactions and data exchanges in a structured and efficient manner. It is developed in Python 3.9+ and requires pip and uv for installation. The server supports various transport modes, including stdio, sse, and streamable-http, making it versatile for different communication needs. The project emphasizes code quality and reliability, employing tools like ruff for linting and formatting, mypy for static type checking, and pytest for testing. Additionally, it integrates pre-commit hooks to ensure code consistency and quality before each commit. The server can be configured using environment variables, allowing for flexible deployment and operation. It also supports building and publishing through Hatch, streamlining the process of distributing the server to different environments.

Features

  • Supports multiple transport modes: stdio, sse, streamable-http.
  • Utilizes ruff for linting and formatting to maintain code quality.
  • Incorporates mypy for static type checking to ensure type safety.
  • Includes pytest for comprehensive testing and coverage reporting.
  • Configurable via environment variables for flexible deployment.