mcp-service-public-bj
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-service-public-bjwhat documents do I need for a passport renewal?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Service Public BJ
An MCP (Model Context Protocol) server that provides AI assistants with access to Benin's public service information from service-public.bj.
What it does
This server enables AI assistants to help citizens find information about Beninese government services, procedures, and requirements. It provides:
Service search: Find government and finance services by keywords
Category browsing: Explore services by thematic areas across enabled providers
Detailed procedures: Get step-by-step instructions, required documents, and contact information
Real-time data: Live scraping ensures information stays current
Smart provider routing: Queries are routed automatically using provider coverage tags, then priority and fallback logic
Related MCP server: mcp-canada
Example Usage
Here's how an AI assistant can help users find information about Beninese public services:


Example: AI assistant helping a user find information about passport renewal procedures using the MCP server
Quick Start
Prerequisites
Python 3.10+
Virtual environment (recommended)
Installation
# Clone and setup
git clone https://github.com/hpfpv/mcp-service-public-bj.git
cd mcp-service-public-bj
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install
pip install -e .Basic Usage
# Start MCP server (stdio mode)
mcp-service-public-bj serve
# Start HTTP server
mcp-service-public-bj serve-http --host 0.0.0.0 --port 8000
# Test with a search
mcp-service-public-bj scrape --query "passeport" --limit 5Integration with MCP clients
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"service-public-bj": {
"command": "/path/to/your/.venv/bin/python",
"args": ["-m", "server.main"]
}
}
}VS Code with MCP
Add to ~/Library/Application Support/Code/User/mcp.json:
{
"servers": {
"service-public-bj": {
"type": "stdio",
"command": "/path/to/your/.venv/bin/python",
"args": ["-m", "server.main"]
}
}
}Docker
# Pull from GitHub Container Registry
docker pull ghcr.io/hpfpv/mcp-service-public-bj:latest
# Run HTTP mode (default)
docker run --rm -p 8000:8000 ghcr.io/hpfpv/mcp-service-public-bj:latest
# Run stdio mode
docker run --rm -i ghcr.io/hpfpv/mcp-service-public-bj:latest serveAvailable Tools
Tool | Purpose | Example |
| Discover available providers, coverage tags, priority and supported tools | Inspect routing candidates |
| Browse service categories | Get all thematic areas |
| Find services by keywords (auto-routing between providers) | Search "autorisation change" |
| Get complete procedure info | Full passport renewal guide |
| Check per-provider health and registry counters | Cache stats, provider status |
When a tool call omits provider_id, the server automatically routes the request using provider coverage tags (fuzzy match between query and tags). Providers whose tags best match the query are attempted first; ties fall back to priority ordering. If a provider fails or returns no results, the server transparently falls back to the next candidate and reports the attempted providers in the warnings field. Clients can preload routing hints via list_providers and send provider_id explicitly to pin a source.
Configuration
Copy .env.example to .env and customize:
# Base URL (default: https://service-public.bj/)
MCP_SP_BASE_URL=https://service-public.bj/
# Cache directory
MCP_SP_CACHE_DIR=/path/to/cache
# Performance tuning
MCP_SP_CONCURRENCY=2
MCP_SP_TIMEOUT=30
MCP_SP_CACHE_TTL=300
# Enable providers (comma-separated)
MCP_ENABLED_PROVIDERS=service-public-bj,finances-bj
# Override finances.bj base URL if required
MCP_FINANCES_BASE_URL=https://finances.bj/
# Optional priority overrides (higher = earlier fallback)
# MCP_PROVIDER_PRIORITIES=service-public-bj:100,finances-bj:80Documentation
Developer Guide - Technical details, architecture, testing
Release Guide - Deployment and release process
Operational runbooks (cache rotation, provider onboarding) are covered in the Developer Guide
License
MIT License - see LICENSE file.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceMCP Server that gives AI assistants access to comprehensive country data from 250+ countries.1MIT
- AlicenseAqualityBmaintenanceMCP server giving AI agents structured access to Canadian federal, provincial, and municipal government data.556MIT
- AlicenseAqualityBmaintenanceA French administration MCP server that enables AI agents to access official public data including communes, geocoding, property risks, and energy performance certificates (DPE) for real estate evaluation.4MIT
- Alicense-qualityCmaintenanceAn MCP server that gives AI assistants access to a multi-agent business operations platform with specialized AI services covering real estate, legal, translation, research, content creation, training, and more.40MIT
Related MCP Connectors
Hosted MCP server exposing US hospital procedure cost data to AI assistants
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/hpfpv/mcp-service-public-bj'
If you have feedback or need assistance with the MCP directory API, please join our Discord server