eRegulations MCP Server
Overview
The eRegulations MCP Server is a Model Context Protocol (MCP) server implementation designed to provide structured, AI-friendly access to eRegulations API data, facilitating easier responses to user inquiries about administrative procedures.
To use the eRegulations MCP Server, clone the repository, install the dependencies, and run the server in either Standard I/O mode or HTTP Server mode, depending on your integration needs.
- Access eRegulations data through a standardized protocol. - Query procedures, steps, requirements, and costs. - Search for procedures by name or criteria. - Support for both standard I/O and HTTP connections.
- Integrating with AI models to answer questions about administrative procedures.
- Providing a structured interface for querying regulatory information.
- Facilitating the development of applications that require access to eRegulations data.
Add to your AI client
Use these steps to connect eRegulations MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"eregulations-mcp-server-benmoumen": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-eregulations-mcp-server-benmoumen"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"eregulations-mcp-server-benmoumen": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-eregulations-mcp-server-benmoumen"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"eregulations-mcp-server-benmoumen": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-eregulations-mcp-server-benmoumen"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"eregulations-mcp-server-benmoumen": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-eregulations-mcp-server-benmoumen"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"eregulations-mcp-server-benmoumen": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-eregulations-mcp-server-benmoumen"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"eregulations-mcp-server-benmoumen": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-eregulations-mcp-server-benmoumen"
]
}
}
}FAQ
What is the default API URL for the server?
The default API URL is `https://api-tanzania.tradeportal.org`.
How can I run the server?
You can run the server using `npm start` for Standard I/O mode or `node dist/sse.js` for HTTP Server mode.
What tools are available in the MCP server?
The server provides tools like `listProcedures`, `getProcedureDetails`, `getProcedureStep`, and `searchProcedures`.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2959,"uuid":"ee5684f2-63b9-4f17-807b-f78f953fad9f","name":"eregulations-mcp-server","title":"eRegulations MCP Server","description":"","avatar_url":"https://avatars.githubusercontent.com/u/21047121?v=4","created_at":"$D2025-03-16T05:46:24.794Z","updated_at":"$D2025-03-16T06:11:00.320Z","status":"created","author_name":"benmoumen","author_avatar_url":"https://avatars.githubusercontent.com/u/21047121?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/benmoumen/eregulations-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-18 10:16:52\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]