Senegal legislation via MCP -- full-text search across statutes and provisions
Senegal legislation via MCP -- full-text search across statutes and provisions
Valid MCP server (2 strong, 2 medium validity signals). 4 known CVEs in dependencies (1 critical, 3 high severity) Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (179/181 approved).
4 files analyzed · 5 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Add this to your MCP configuration file:
{
"mcpServers": {
"eu-ansvar-senegalese-law-mcp": {
"args": [
"-y",
"@ansvar/senegalese-law-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
The Journal Officiel du Sénégal alternative for the AI age.
Interrogez 71 lois sénégalaises -- de la Loi n° 2008-12 sur la protection des données personnelles au Code Pénal, au Code du Travail, et plus encore -- directement depuis Claude, Cursor, ou tout client compatible MCP.
If you're building legal tech, compliance tools, or doing Senegalese legal research, this is your verified reference database.
Built by Ansvar Systems -- Stockholm, Sweden
La recherche juridique sénégalaise est dispersée entre jo.gouv.sn, servicepublic.gouv.sn, senelex.com, et les publications de la Primature. Que vous soyez :
...vous ne devriez pas avoir besoin de dizaines d'onglets de navigateur et de recherches manuelles en PDF. Posez la question à Claude. Obtenez la disposition exacte. Avec le contexte.
Ce serveur MCP rend le droit sénégalais consultable, référençable et lisible par l'IA.
Connect directly to the hosted version -- zero dependencies, nothing to install.
Endpoint: https://senegalese-law-mcp.vercel.app/mcp
| Client | How to Connect |
|---|---|
| Claude.ai | Settings > Connectors > Add Integration > paste URL |
| Claude Code | claude mcp add senegalese-law --transport http https://senegalese-law-mcp.vercel.app/mcp |
| Claude Desktop | Add to config (see below) |
| GitHub Copilot | Add to VS Code settings (see below) |
Claude Desktop -- add to claude_desktop_config.json:
{
"mcpServers": {
"senegalese-law": {
"type": "url",
"url": "https://senegalese-law-mcp.vercel.app/mcp"
}
}
}
GitHub Copilot -- add to VS Code settings.json:
{
"github.copilot.chat.mcp.servers": {
"senegalese-law": {
"type": "http",
"url": "https://senegalese-law-mcp.vercel.app/mcp"
}
}
}
npx @ansvar/senegalese-law-mcp
Claude Desktop -- add to claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"senegalese-law": {
"command": "npx",
"args": ["-y", "@ansvar/senegalese-law-mcp"]
}
}
}
Cursor / VS Code:
{
"mcp.servers": {
"senegalese-law": {
"command": "npx",
"args": ["-y", "@ansvar/senegalese-law-mcp"]
}
}
}
Une fois connecté, posez simplement vos questions naturellement :
| Category | Count | Details |
|---|---|---|
| Lois | 71 lois | Législation sénégalaise officielle |
| Dispositions | 4,946 sections | Recherche plein texte avec FTS5 |
| Database Size | ~11 MB | Optimized SQLite, portable |
| Language | French | Langue officielle du droit sénégalais |
| Freshness Checks | Automated | Drift detection against official sources |
Verified data only -- every citation is validated against official sources (jo.gouv.sn, primature.sn). Zero LLM-generated content.
Verbatim Source Text (No LLM Processing):
Smart Context Management:
Technical Architecture:
Journal Officiel / Primature --> Parse --> SQLite --> FTS5 snippet() --> MCP response
^ ^
Provision parser Verbatim database query
| Approche traditionnelle | Ce serveur MCP |
|---|---|
| Rechercher sur jo.gouv.sn par numéro de loi | Rechercher en français : "protection données personnelles" |
| Naviguer dans les codes manuellement | Obtenir la disposition exacte avec son contexte |
| Références croisées manuelles entre lois | build_legal_stance agrège depuis plusieurs sources |
| "Cette loi est-elle toujours en vigueur ?" -- vérification manuelle | Outil check_currency -- réponse en secondes |
| Trouver le cadre CEDEAO -- fouiller les bases de données | get_eu_basis -- cadres internationaux liés instantanément |
| Pas d'API, pas d'intégration | Protocole MCP -- natif IA |
Traditionnel : Chercher sur jo.gouv.sn --> Télécharger PDF --> Ctrl+F --> Références croisées --> Vérifier sur OHADA.com --> Recommencer
Ce MCP : "Quelles sont les obligations de notification de la Loi n° 2008-12 et comment s'alignent-elles avec les cadres CEDEAO ?" --> Terminé.
| Tool | Description |
|---|---|
search_legislation | FTS5 full-text search across 4,946 provisions with BM25 ranking. Supports French full-text queries |
get_provision | Retrieve specific provision by law identifier + article number |
check_currency | Check if a law is in force, amended, or repealed |
validate_citation | Validate citation against database -- zero-hallucination check |
build_legal_stance | Aggregate citations from multiple laws for a legal topic |
format_citation | Format citations per Senegalese conventions (full/short/pinpoint) |
list_sources | List all available laws with metadata, coverage scope, and data provenance |
about | Server info, capabilities, dataset statistics, and coverage summary |
| Tool | Description |
|---|---|
get_eu_basis | Get international frameworks (ECOWAS/CEDEAO, AU, OHADA) that a Senegalese law aligns with |
get_senegalese_implementations | Find Senegalese laws implementing a specific international instrument |
search_eu_implementations | Search international documents with Senegalese implementation counts |
get_provision_eu_basis | Get international law references for a specific provision |
validate_eu_compliance | Check alignment status of Senegalese laws against international frameworks |
Le Sénégal n'est pas membre de l'UE. Le droit sénégalais s'aligne avec les cadres internationaux à travers :
The international bridge tools allow you to explore these alignment relationships -- checking which Senegalese provisions correspond to ECOWAS or OHADA requirements, and vice versa.
Note: Les références internationales reflètent des relations d'alignement et d'obligation conventionnelle, pas une transposition formelle. Le Sénégal adopte sa propre approche législative.
All content is sourced from authoritative Senegalese legal databases:
| Field | Value |
|---|---|
| Authority | Journal Officiel du Sénégal |
| Language | French (official language of Senegalese law) |
| Coverage | 71 laws across all legislative areas |
| Last ingested | 2026-02-28 |
A GitHub Actions workflow monitors all data sources:
| Check | Method |
|---|---|
| Law amendments | Drift detection against known provision anchors |
| New laws | Comparison against official gazette index |
| Repealed laws | Status change detection |
Verified data only -- every citation is validated against official sources. Zero LLM-generated content.
This project uses multiple layers of automated security scanning:
| Scanner | What It Does | Schedule |
|---|---|---|
| CodeQL | Static analysis for security vulnerabilities | Weekly + PRs |
| Semgrep | SAST scanning (OWASP top 10, secrets, TypeScript) | Every push |
| Gitleaks | Secret detection across git history | Every push |
| Trivy | CVE scanning on filesystem and npm dependencies | Daily |
| Socket.dev | Supply chain attack detection | PRs |
| Dependabot | Automated dependency updates | Weekly |
See SECURITY.md for the full policy and vulnerability reporting.
THIS TOOL IS NOT LEGAL ADVICE
Statute text is sourced from the Journal Officiel du Sénégal and associated official databases. However:
- This is a research tool, not a substitute for professional legal counsel
- Court case coverage is not included -- do not rely solely on this for case law research
- Verify critical citations against primary sources (jo.gouv.sn) for official proceedings
- International cross-references reflect alignment relationships, not formal transposition
- For professional legal advice in Senegal, consult a member of the Ordre des Avocats du Sénégal
Before using professionally, read: DISCLAIMER.md | SECURITY.md
Queries go through the Claude API. For privileged or confidential matters, use on-premise deployment.
git clone https://github.com/Ansvar-Systems/Senegalese-law-mcp
cd Senegalese-law-mcp
npm install
npm run build
npm test
npm run dev # Start MCP server
npx @anthropic/mcp-inspector node dist/index.js # Test with MCP Inspector
npm run ingest # Ingest laws from official sources
npm run build:db # Rebuild SQLite database
npm run check-updates # Check for amendments and new laws
This server is part of Ansvar's Compliance Suite -- MCP servers that work together for end-to-end compliance coverage:
Query 49 EU regulations directly from Claude -- GDPR, AI Act, DORA, NIS2, MiFID II, eIDAS, and more. Full regulatory text with article-level search. npx @ansvar/eu-regulations-mcp
Query 261 security frameworks -- ISO 27001, NIST CSF, SOC 2, CIS Controls, SCF, and more. npx @ansvar/security-controls-mcp
Offline-capable sanctions screening -- OFAC, EU, UN sanctions lists. pip install ansvar-sanctions-mcp
70+ national law MCPs covering Australia, Brazil, Canada, China, Denmark, Finland, France, Germany, Ghana, Iceland, India, Ireland, Israel, Italy, Japan, Kenya, Netherlands, Nigeria, Norway, Singapore, Slovenia, South Korea, Sweden, Switzerland, Thailand, UAE, UK, and more.
Contributions welcome! See CONTRIBUTING.md for guidelines.
Priority areas:
If you use this MCP server in academic research:
@software{senegalese_law_mcp_2026,
author = {Ansvar Systems AB},
title = {Senegalese Law MCP Server: AI-Powered Legal Research Tool},
year = {2026},
url = {https://github.com/Ansvar-Systems/Senegalese-law-mcp},
note = {71 Senegalese laws with 4,946 provisions in French}
}
Apache License 2.0. See LICENSE for details.
We build AI-accelerated compliance and legal research tools for the global market. This MCP server started as our internal reference tool -- turns out everyone building compliance tools has the same research frustrations.
So we're open-sourcing it. Navigating 71 Senegalese laws across the Journal Officiel and OHADA databases shouldn't take hours.
ansvar.eu -- Stockholm, Sweden
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.