statutory-instruments-api

statutory-instruments-api

3.2

If you are the rightful owner of statutory-instruments-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 statutory instruments API.

The MCP Server is a robust and versatile server designed to facilitate multi-agent conversations using the Multi-Agent Conversation Protocol (MCP). It is auto-generated using AG2's MCP builder and is tailored to work with the OpenAPI specifications provided by the UK Parliament's statutory instruments API. The server is built with Python 3.9+ and leverages modern development tools such as ruff for linting, mypy for static type checking, and pytest for testing. It supports various transport modes, including stdio, sse, and streamable-http, making it adaptable to different communication needs. The server is highly configurable through environment variables, allowing users to specify configuration paths, JSON strings, and security parameters. With a focus on development efficiency, the project includes pre-commit hooks and scripts for testing, linting, and static analysis, ensuring high code quality and reliability. Additionally, the server can be built and published using Hatch, streamlining the deployment process.

Features

  • Supports multiple transport modes: stdio, sse, and streamable-http.
  • Configurable via environment variables for flexible deployment.
  • Includes pre-commit hooks for maintaining code quality.
  • Utilizes modern development tools like ruff, mypy, and pytest.
  • Built and published using Hatch for streamlined deployment.