- Home
- MCP servers
- Moroccan Law
Moroccan 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.
Moroccan Law MCP provides a dedicated MCP server that offers full-content search, precise article-level retrieval, citation validation, and currency verification for Moroccan legislation, enabling secure, scalable access for compliance workflows.
How to use
You can access the Moroccan Law MCP server either through a remote MCP URL or by running the server locally. Use the remote URL when you want a hosted, ready-to-use endpoint. Use the local option when you prefer to run the server on your own infrastructure for development or private deployments.
How to install
Prerequisites you need before installing:
- • Ensure Node.js is installed (recommended LTS version).
- • npm is included with Node.js.
Option A: Run the MCP locally using npm and npx
npx @ansvar/moroccan-law-mcp
Option B: Connect to the remote MCP URL using an MCP client
claude mcp add moroccan-law --transport http https://moroccan-law-mcp.vercel.app/mcp
Available tools
full_text_search
Provides full-text search across legislation provisions using BM25 ranking to surface relevant results quickly.
article_retrieval
Supports article-level retrieval to fetch specific legal provisions with precise references.
citation_validation
Validates citations to prevent hallucinated or incorrect references in outputs.
currency_check
Verifies whether laws are still in force and checks for changes in status over time.