mcp-service-public-togo

denisakp/mcp-service-public-togo

3.2

If you are the rightful owner of mcp-service-public-togo and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

A Model Context Protocol (MCP) server that provides search and retrieval capabilities for Togo public service information from service-public.gouv.tg.

Tools
5
Resources
0
Prompts
0

Service Public Gouv TG MCP Server

A Model Context Protocol (MCP) server that provides search and retrieval capabilities for Togo public service information from service-public.gouv.tg

Description

This MCP server enables AI assistants to search and retrieve official Togo administrative procedures and information. Built with TypeScript/Node.js and powered by Cheerio.js, a powerful web scraping package, it provides five main capabilities:

service-public.gouv.tg Tools

  • search_procedures: Find relevant public service procedures and articles.
  • get_article: Retrieve complete information from a specific service-public.gouv.tg page.
  • list_categories: Browse available categories of public service information.
  • search_directory: Find contact information in the administration directory.
  • get_faq: Get answers from the official Frequently Asked Questions.

Installation

Using Docker (Recommended)

Pull and run the official image from Docker public registry.

docker pull denisakp/mcp-service-public-togo:latest
docker run -i denisakp/mcp-service-public-togo:latest

Available Tools

The server provides five MCP tools across three domains:

1. search_procedures

Search for procedures on service-public.gouv.tg.

Input:

  • query (string): Search query for procedures.
  • category (string, optional): The specific category to search within (e.g., "Papiers & Citoyenneté").
  • limit (int, optional): Maximum number of results to return (1-50, default: 5).

Output:

  • results: Array of matching procedures with title, URL, and description.

2. get_article

Retrieve detailed information from a specific article URL on service-public.gouv.tg.

Input:

  • url (string): URL of the article to retrieve.

Output:

  • title: Article title.
  • content: Full article content, cleaned and formatted.
  • url: Article URL.

3. list_categories

List the main available categories of public service information. Input:

  • None

Output:

  • categories: Array of available categories, e.g., { name: "Papiers & Citoyenneté", description: "Etat civil, Nationalité, Passeport..." }.

4. search_directory

Search the official Annuaire de l'administration (Admin Directory). Input:

  • query (string): The name of the ministry, service, or person to find.

Output:

  • results: Array of directory listings, e.g., { name: string, phone: string, email: string, address: string }.

5. get_faq

Search the Questions - Réponses (FAQ) section of the site.

Input:

  • query (string, optional): A search query to find relevant FAQs. If omitted, returns the top 5 most common questions.

Output:

  • results: Array of Q&A pairs, e.g., { question: string, answer: string, url: string }.