Skip to main content
Glama
mcpflow

eRegulations MCP Server

by mcpflow

eRegulations MCP Server

A Model Context Protocol (MCP) server implementation for accessing eRegulations API data. This server provides structured, AI-friendly access to eRegulations instances, making it easier for AI models to answer user questions about administrative procedures.

Features

  • Access eRegulations data through a standardized protocol

  • Query procedures, steps, requirements, and costs

  • MCP prompt templates to guide LLM tool usage

  • Streamlined implementation using standard I/O connections

Related MCP server: Federal Register MCP Server

Installation

Quick Installation with Smithery

The easiest way to install and run the eRegulations MCP Server is through Smithery:

Visit https://smithery.ai/server/@unctad-ai/eregulations-mcp-server for the installation command.

Installation via npm Registry

You can also run the eRegulations MCP Server directly using npx with the published npm package:

# Set environment variables and run with npx
export EREGULATIONS_API_URL=https://example.com/api && export NODE_ENV=production && npx -y @unctad-ai/eregulations-mcp-server@latest

Configuration

The server can be configured using command-line arguments (preferred) or environment variables:

Command-line Arguments

  • --api-url: URL of the eRegulations API to connect to

Environment Variables

  • EREGULATIONS_API_URL: URL of the eRegulations API to connect to (fallback if --api-url is not provided)

Note: Command-line arguments take precedence over environment variables.

Available Tools

The MCP server provides the following tools:

listProcedures

Lists all available procedures in the eRegulations system.

getProcedureDetails

Gets detailed information about a specific procedure by its ID.

Parameters:

  • procedureId: ID of the procedure to retrieve

getProcedureStep

Gets information about a specific step within a procedure.

Parameters:

  • procedureId: ID of the procedure

  • stepId: ID of the step within the procedure

Prompt Templates

The server provides prompt templates to guide LLMs in using the available tools correctly. These templates explain the proper format and parameters for each tool. LLM clients that support the MCP prompt templates capability will automatically receive these templates to improve their ability to work with the API.

Development

# Run in development mode
npm run start

# Run tests
npm test

# Run tests with watch mode
npm run test:watch

# Run test client
npm run test-client

Available Tools

3 tools
getProcedureDetailsA

Get detailed information about a specific procedure by ID.

ParametersJSON Schema
NameRequiredDescriptionDefault
procedureIdYesID of the procedure to retrieve

TDQS

A3.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must fully disclose behavioral traits. It only states 'Get detailed information' without mentioning error cases, access requirements, or what differentiates 'detailed' from other procedure endpoints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded sentence with no redundant content. It immediately communicates the operation without unnecessary detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple single-param retrieval tool, the description covers the core intent, but with no output schema or annotations, it does not explain what 'detailed information' includes or how it differs from getProcedureStep. More context would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% with procedureId described as 'ID of the procedure to retrieve'. The description's 'by ID' adds no further meaning or constraints beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Get') and resource ('detailed information about a specific procedure by ID'), clearly distinguishing it from sibling tools: listProcedures (which lists all) and getProcedureStep (which targets a single step).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when/when-not guidance or alternative mentions. The phrase 'a specific procedure' implies this is for targeted retrieval, not listing, but that is implicit rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

getProcedureStepB

Get information about a specific step within a procedure.

ParametersJSON Schema
NameRequiredDescriptionDefault
stepIdYesID of the step within the procedure
procedureIdYesID of the procedure

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the full burden of behavioral disclosure. It only states 'Get information', implying a read operation, but does not describe what information is returned, whether there are any side effects, permissions, or error conditions. This is minimal and lacks behavioral context beyond the verb.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence with no redundant words. It is front-loaded and immediately conveys the tool's purpose, making it highly concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read operation with two well-specified parameters, the description is adequate but not complete. There is no output schema, so the description should have explained the return format or what information is included for the step. It also lacks usage guidance and behavioral details, leaving some context gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the parameters are fully documented. The description does not add meaning beyond the schema, but since the schema already explains 'procedureId' and 'stepId', the baseline of 3 applies. No additional parameter semantics are provided.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves information about a specific step within a procedure, distinguishing it from the sibling tools listProcedures (which lists procedures) and getProcedureDetails (which likely gets procedure-level info). It uses the specific verb 'get' and identifies the resource precisely, though it does not explicitly name alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It does not mention context such as 'use this when you need step-level details' or exclude cases. With sibling tools available, the lack of usage guidance is a clear gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

listProceduresA

List all available procedures in the eRegulations system.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses that the tool lists 'all' procedures, implying no filtering or pagination. However, it does not mention return format, ordering, or any read-only guarantees. For a simple list operation, this is acceptable but not rich in behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence that states exactly what the tool does with no extraneous words. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity (no parameters, no output schema), the description is nearly complete. It clearly states scope ('all available'). A minor gap is that it doesn't explicitly note that the result can be used with sibling tools for details, but this is a slight enhancement rather than a necessity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the schema fully documents that there is nothing to configure. The baseline for 0-parameter tools is 4 per guidelines. The description adds no parameter-specific semantics because none are needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action: 'List all available procedures' in the 'eRegulations system.' The use of 'all' distinguishes this from sibling tools that target specific procedures (getProcedureDetails, getProcedureStep). The verb 'list' is precise and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies its use case: when you need an overview of all procedures. However, it does not explicitly mention when to use alternatives or exclude cases (e.g., 'for details on a single procedure, use getProcedureDetails'). The guidance is not misleading, but it is implicit rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 3 tool updatesv0.1.0
    • First observedgetProcedureDetails
    • First observedgetProcedureStep
    • First observedlistProcedures

TDQS

A3.7/5.0
Disambiguation5/5

Each tool has a distinct purpose: listing all procedures, retrieving a specific procedure's details, and getting a specific step within a procedure. There is no overlap or confusion between these operations.

Naming Consistency5/5

All tool names follow a consistent camelCase verb_noun pattern: listProcedures, getProcedureDetails, getProcedureStep. The naming is uniform and predictable.

Tool Count4/5

Three tools is slightly on the lower end but reasonable for a focused read-only procedures lookup server. Each tool serves a clear purpose, and the count is not thin enough to feel incomplete.

Completeness4/5

The server covers the essential read operations for procedures and steps. A minor gap is the lack of a search or list steps function, but the core lookup workflow is supported.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    D
    quality
    Not graded
    maintenance
    A Model Context Protocol server implementation that provides structured, AI-friendly access to eRegulations data, making it easier for AI models to answer user questions about administrative procedures.
    4
    19
    -
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to search and retrieve executive orders, presidential documents, rules, and agency information from the Federal Register API through natural language queries.
    12
    74
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables interaction with the Regulations.gov API to search federal rulemaking dockets, proposed and final rules, public comments, and comment periods. Supports tracking FAR/DFARS case histories and monitoring open comment periods across federal agencies with optional API key authentication for higher rate limits.
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mcpflow/eregulations-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server