- Home
- MCP servers
- Zimbabwe Law
Zimbabwe 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.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"ansvar-systems-zimbabwe-law-mcp": {
"command": "npx",
"args": [
"-y",
"@ansvar/zimbabwe-law-mcp"
]
}
}
}You can deploy and run the Zimbabwe Law MCP Server to perform fast full-text searches and structured access to Zimbabwean legislation, including the Cyber and Data Protection Act and other key acts. This MCP server is designed to let you query acts, provisions, and related instruments efficiently, making it useful for legal research, compliance workflows, and policy analysis.
How to use
To use the Zimbabwe Law MCP Server, start one or more MCP instances and connect a client that supports MCP endpoints. You will be able to search across Acts, retrieve specific provisions by act and section, and cross-reference provisions to related instruments such as GDPR or international conventions where supported. Use the search function to locate relevant clauses, then fetch exact provisions or the act structure for context.
How to install
Prerequisites: you need Node.js and npm installed on your system.
Install the MCP server globally using npm.
npm install -g @ansvar/zimbabwe-law-mcp
Alternatively, you can run the MCP server directly with npx without installing it.
npx @ansvar/zimbabwe-law-mcp
If you prefer to configure the server through Claude Desktop, add a MCP server entry with the command and arguments shown in the configuration example.
{
"mcpServers": {
"zimbabwe-law": {
"command": "npx",
"args": ["-y", "@ansvar/zimbabwe-law-mcp"]
}
}
}
If you build the server from source, follow these steps to compile and run it locally.
git clone https://github.com/Ansvar-Systems/zimbabwe-law-mcp.git
cd zimbabwe-law-mcp
npm install
npm run build
npm run build:db # Build the full database
npm start # Start the server
How to install
Step-by-step commands to get you up and running quickly.
Additional notes
The Zimbabwe Law MCP Server ships with a bundled database suitable for small deployments. It provides access to major Acts including the Cyber and Data Protection Act, Postal and Telecommunications Act, AIPPA, Criminal Law Act, Companies Act, and related instruments. Use the included tools to search, retrieve provisions, view act structures, and cross-reference provisions with international instruments.
Data sources and scope
The server aggregates data from multiple sources including ZimLII, the Parliament of Zimbabwe, and Veritas Zimbabwe. Data is updated on a weekly or event-driven basis depending on the source, and all data is provided under open or government licenses where applicable.
Tools and capabilities
The MCP exposes a set of functions to interact with Zimbabwean law data. You can retrieve a specific provision, perform full-text searches, list available Acts, obtain an Act’s structure, and cross-reference provisions with related EU or international instruments.
Security and compliance
Follow standard security practices for running an MCP server in your environment. Keep dependencies up to date and review vulnerability disclosures as they arise.
Troubleshooting
If you encounter issues starting the server, verify Node.js and npm versions, ensure the environment has network access for dependencies, and confirm you are using the correct start command for your installation method (npm start for local builds or npx for on-demand execution). Check logs for errors related to database building or provisioning.
Available tools
get_provision
Retrieve a specific section or article from a Zimbabwean Act by its law identifier and article number.
search_legislation
Perform a full-text search across all Zimbabwean legislation in the MCP database.
list_acts
List all Acts of Parliament available in the database.
get_act_structure
Retrieve the table of contents or structure for a specific Act.
get_provision_eu_basis
Cross-reference a Zimbabwean provision with related EU or international instruments (such as GDPR or Budapest Convention).