home / mcp / eregulations mcp server

eRegulations MCP Server

Provides MCP access to eRegulations data for procedures, steps, requirements, and costs.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "benmoumen-eregulations-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "EREGULATIONS_API_URL",
        "ghcr.io/unctad-ai/eregulations-mcp-server:latest"
      ],
      "env": {
        "EREGULATIONS_API_URL": "YOUR_API_URL"
      }
    }
  }
}

You can access eRegulations API data through a dedicated MCP server that exposes procedures, steps, requirements, and costs in a structured, AI-friendly format. This server is designed to make it easier for AI models to answer questions about administrative procedures by providing standardized tool access and prompt guidance.

How to use

Connect to the eRegulations MCP server from an MCP-compatible client (such as a tool that can issue MCP tool calls). You will typically run the server in a local environment or container and point your client to the server’s interface exposed by the MCP runtime. Use the available tools to list procedures, fetch detailed information about a procedure or a specific step, and search for procedures by keyword.

How to install

Prerequisites you need before starting: Docker installed on your machine.

# Pull the latest image (optional)
docker pull ghcr.io/unctad-ai/eregulations-mcp-server:latest

# Run the server, providing the target eRegulations API URL
export EREGULATIONS_API_URL="https://your-eregulations-api.com"
docker run -i --rm -e EREGULATIONS_API_URL ghcr.io/unctad-ai/eregulations-mcp-server:latest

Configuration and usage notes

Environment variable needed: EREGULATIONS_API_URL. This value should be the base URL of the target eRegulations API you want to connect to, for example https://api-tanzania.tradeportal.org.

When you run the server via the container, the server will listen for MCP JSON requests on standard input and send responses to standard output. Use a compatible MCP client to send tool invocations and receive results.

Tools available through the MCP server

The server provides the following tools to interact with the eRegulations data set:

  • listProcedures: Lists all available procedures in the eRegulations system.
  • getProcedureDetails: Gets detailed information about a specific procedure by its ID.
  • getProcedureStep: Gets information about a specific step within a procedure.
  • searchProcedures: Searches for procedures by keyword or phrase. Note that results may include items related to underlying objectives, not only exact procedure names.

Available tools

listProcedures

Lists all available procedures in the eRegulations system.

getProcedureDetails

Retrieves detailed information about a specific procedure using its ID.

getProcedureStep

Fetches information about a specific step within a procedure using procedure and step IDs.

searchProcedures

Searches for procedures by keyword or phrase; results may include related objectives.