home / mcp / kenyan law mcp server
Queries Kenyan statutes and EU cross-references from MCP clients via a hosted or local server.
Configuration
View docs{
"mcpServers": {
"ansvar-systems-kenya-law-mcp": {
"url": "https://kenya-law-mcp.vercel.app/mcp"
}
}
}The Kenyan Law MCP Server provides a searchable, AI-readable reference for Kenyan legislation. You can query statutes such as data protection, cybersecurity, corporate law, and more from MCP-compatible clients like Claude or Cursor, enabling quick access to exact provisions with context. It’s useful for legal research, compliance checks, and developing Kenyan-law focused tools.
Connect to the MCP server from an MCP client to perform full-text search, retrieve exact provisions, verify currency, and build legal stances across Kenyan law. You can use remote hosted access for zero installation or run a local instance for private deployments. When connected, you can ask natural-language questions like 1What does the data protection law say about consent?1 or 1Is this statute still in force?1 and receive precise provisions or status updates.
Follow these concrete steps to set up the MCP server locally. You will use Node.js tooling to install dependencies, build, and run the server.
This server ships with an HTTP endpoint for remote usage and also supports local execution via standard package managers. Use the HTTP endpoint for quick, zero-install connections, or run locally to keep data private and under your control. The project includes example configurations for Claude Desktop and GitHub Copilot that show how to connect to the MCP endpoint. Remember to treat statute text as a primary reference and verify critical citations against official sources.
The system relies on authoritative Kenyan government sources and returns provisions verbatim from a local database. It does not perform LLM-based paraphrasing on statute text. For sensitive or privileged matters, prefer a local deployment and follow your organization’s data handling policies.
Full-text search across all provisions with BM25 ranking.
Retrieve a specific provision by statute, chapter, and section.
Check whether a statute is in force, amended, or repealed.
Validate a citation against the database to reduce errors.
Aggregate citations from multiple statutes to form a legal stance on a topic.
Format citations per Kenyan conventions (full/short/pinpoint).
List all available statutes with metadata.
Provide server information, capabilities, and coverage summary.
Retrieve EU directives/regulations referenced by a Kenyan statute.
Find Kenyan laws that implement a given EU act.
Search EU documents with counts of Kenyan implementations.
Get EU law references for a specific provision.
Check the implementation status of EU directives.