eu.ansvar/malawi-law-mcp
Malawi legislation via MCP -- full-text search across statutes and provisions
★ 0NOASSERTIONsearch
Install
Config snippet generator goes here (5 client tabs)
README
# Malawi Law MCP Server
**The Malawi Law Commission alternative for the AI age.**
[](https://www.npmjs.com/package/@ansvar/malawi-law-mcp)
[](https://registry.modelcontextprotocol.io)
[](https://opensource.org/licenses/Apache-2.0)
[](https://github.com/Ansvar-Systems/Malawi-law-mcp)
[](https://github.com/Ansvar-Systems/Malawi-law-mcp/actions/workflows/ci.yml)
[](https://github.com/Ansvar-Systems/Malawi-law-mcp/actions/workflows/check-updates.yml)
[](https://github.com/Ansvar-Systems/Malawi-law-mcp)
[](https://github.com/Ansvar-Systems/Malawi-law-mcp)
Query **545 Malawian Acts** -- from the Electronic Transactions and Cybersecurity Act and the Penal Code to the Employment Act, Companies Act, and more -- directly from Claude, Cursor, or any MCP-compatible client.
If you're building legal tech, compliance tools, or doing Malawian legal research, this is your verified reference database.
Built by [Ansvar Systems](https://ansvar.eu) -- Stockholm, Sweden
---
## Why This Exists
Malawian legal research means navigating malawilii.org, the Malawi Law Commission site (lawcom.mw), and parliament.gov.mw -- scattered across multiple sources with inconsistent formatting. Whether you're:
- A **lawyer** validating citations in a brief or contract
- A **compliance officer** checking obligations under the Electronic Transactions and Cybersecurity Act or the Competition and Fair Trading Act
- A **legal tech developer** building tools on Malawian law
- A **researcher** tracing legislative provisions across 545 Acts
...you shouldn't need dozens of browser tabs and manual cross-referencing. Ask Claude. Get the exact provision. With context.
This MCP server makes Malawian law **searchable, cross-referenceable, and AI-readable**.
---
## Quick Start
### Use Remotely (No Install Needed)
> Connect directly to the hosted version -- zero dependencies, nothing to install.
**Endpoint:** `https://malawi-law-mcp.vercel.app/mcp`
| Client | How to Connect |
|--------|---------------|
| **Claude.ai** | Settings > Connectors > Add Integration > paste URL |
| **Claude Code** | `claude mcp add malawi-law --transport http https://malawi-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`:
```json
{
"mcpServers": {
"malawi-law": {
"type": "url",
"url": "https://malawi-law-mcp.vercel.app/mcp"
}
}
}
```
**GitHub Copilot** -- add to VS Code `settings.json`:
```json
{
"github.copilot.chat.mcp.servers": {
"malawi-law": {
"type": "http",
"url": "https://malawi-law-mcp.vercel.app/mcp"
}
}
}
```
### Use Locally (npm)
```bash
npx @ansvar/malawi-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`
```json
{
"mcpServers": {
"malawi-law": {
"command": "npx",
"args": ["-y", "@ansvar/malawi-law-mcp"]
}
}
}
```
**Cursor / VS Code:**
```json
{
"mcp.servers": {
"malawi-law": {
"command": "npx",
"args": ["-y", "@ansvar/malawi-law-mcp"]
}
}
}
```
---
## Example Queries
Once connected, just ask naturally:
- *"What does the Electronic Transactions and Cybersecurity Act say about data protection?"*
- *"Find provisions in the Penal Code about fraud and forgery"*
- *"Search for labour rights under the Employment Act"*
- *"What does the Companies Act say about director duties?"*
- *"Is the Competition and Fair Trading Act still in force?"*
- *"Find provisions about consumer protection in Malawian law"*
- *"Build a legal stance on data breach notification obligations in Malawi"*
- *"Validate the citation 'Section 5 of the Electronic Transactions and Cybersecurity Act 2016'"*
---
## What's Included
| Category | Count | Details |
|----------|-------|---------|
| **Acts** | 545 statutes | Comprehensive Malawian legislation |
| **Provisions** | 14,392 sections | Full-text searchable with FTS5 |
| **Legal Definitions** | Included | Extracted from Act texts |
| **Database Size** | ~25 MB | Optimized SQLite, portable |
| **Freshness Checks** | Automated | Monitoring against malawilii.org |
**Verified data only** -- every citation is val