- Home
- MCP servers
- Rwandan Law
Rwandan Law
- javascript
0
GitHub Stars
javascript
Language
3 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Rwandan Law MCP provides centralized access to Rwanda’s cybersecurity legislation, enabling full-text search, article-level retrieval, citation validation, and currency checks through a Model Context Protocol (MCP) server. It helps you quickly locate provisions, verify references, and confirm laws are still in force across Rwanda’s legal framework.
How to use
You can access this MCP server either remotely via the HTTP endpoint or locally through a standard npm-based runner. Use the remote endpoint when you want a hosted service, or run the local server on your machine for private queries. In both modes, you can search across legislation, retrieve specific articles, validate citations, and check whether laws remain in force.
To search, provide your query to the MCP client you are using. You will receive matching provisions, article-level results, and context to help you verify compliance with Rwanda’s cybersecurity statutes. For more precise work, you can request specific articles or browse by data source types such as AKN article extractions or PDF text extractions.
How to install
Prerequisites: ensure you have Node.js installed on your system. You can confirm by running node -v and npm -v in your terminal.
Option 1: Run a remote MCP server (no local installation needed) — use the hosted endpoint provided by the project.
Option 2: Run the local MCP server with npm. This uses the official npm package to start a local MCP instance.
Install and run locally
1) Install the package and start the server
npx @ansvar/rwandan-law-mcp
2) Access the local MCP endpoint as instructed by the tool output, then begin querying your data
Additional content
Key features you can rely on include full-text search with BM25 ranking, article-level retrieval for precise provisions, citation validation to reduce hallucinated references, and currency checks to ensure laws are up to date.
Data provenance comes from RwandaLII law catalog, supporting direct article extraction from AKN HTML and PDF text extraction for multilingual gazette documents.
Tools and capabilities
- Full-text search across legislation provisions
- Article-level retrieval for specific legal provisions
- Citation validation to prevent incorrect references
- Currency checks to verify if laws remain in force
- Multiform data ingestion including AKN article extraction and PDF text parsing
Available tools
Full-text search
Performs comprehensive searches across enacted legislation using BM25 ranking to prioritize relevant provisions.
Article retrieval
Retrieves specific legal provisions at the article level for precise reference.
Citation validation
Checks citations to reduce hallucinations and ensure references point to official sources.
Currency checks
Verifies whether laws are currently in force and applicable.
Data ingestion
Ingests data from sources like AKN HTML and PDF documents to build searchable provisions.