home / mcp / nigerian law mcp server

Nigerian Law MCP Server

Queries Nigerian law data via MCP clients with full-text search and EU cross-references.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "ansvar-systems-nigeria-law-mcp": {
      "url": "https://nigeria-law-mcp.vercel.app/mcp"
    }
  }
}

You can query Nigerian legislation directly from compatible MCP clients to search, verify, and cross-reference statutes with AI-assisted context. This server provides a fast, verifiable Nigerian legal database that supports data protection, cybersecurity, corporate law, and more, enabling lawyers, compliance officers, researchers, and legal tech developers to access precise provisions and stay current.

How to use

Connect to the Nigerian Law MCP Server using a compatible MCP client such as Claude, Cursor, or GitHub Copilot. You can access the hosted instance or configure a local client to run against a remote or local MCP server.

How to install

Prerequisites you need before installation: a computer with Node.js and npm installed, or access to a compatible MCP client that supports remote servers.

# Use remotely hosted MCP server
# No local installation required for the hosted endpoint
# Connect to the remote MCP server via your client using the provided URL

Additional configuration and usage notes

Quick access options include using the hosted endpoint, or running a local instance via npm. The hosted endpoint provides the MCP interface at the path /mcp. If you run locally, you can start a local MCP server using the npm workflow shown in the steps below.

Deployment and connection options

HTTP connection (remote server) provides a ready-to-use endpoint you can connect to from any MCP-compatible client. For this project, the hosted endpoint is available at the following URL.

Endpoint: https://nigeria-law-mcp.vercel.app/mcp

Usage patterns to accomplish common tasks

- Ask for provisions by topic or statute, for example, search for data protection provisions or cybercrime requirements. - Validate citations to confirm they align with current law. - Check whether a statute is still in force or has been amended. - Retrieve exact provisions by statute, chapter, and section. - Build aggregated legal stances by pulling multiple sources for a given topic.

Security and privacy considerations

Queries pass through the MCP server and may involve sensitive legal questions. For privileged or confidential matters, consider using an on-premise deployment or ensuring your client’s data policies align with your organization’s data handling standards.

Notes on data sources and freshness

This MCP server ingests content from authoritative Nigerian government sources and keeps provisions accessible in a verifiable, non-LLM format so you can trust the exact text returned by the database.

Available tools

search_legislation

Perform a full-text search across all provisions with BM25 ranking to quickly locate relevant statutes, sections, or topics.

get_provision

Retrieve a specific provision by statute identifier plus chapter and section for precise citation.

check_currency

Determine whether a statute is in force, amended, or repealed to ensure accuracy of references.

validate_citation

Check a given citation against the database to verify correctness and generate a compliant reference.

build_legal_stance

Aggregate and synthesize multiple provisions to form a legal stance on a topic, with cross-referencing.

format_citation

Format citations according to Nigerian conventions, including full, short, and pinpoint formats.

list_sources

List all available statutes with metadata such as act, year, and significance.

about

Provide server information, capabilities, and coverage summary.

get_eu_basis

Retrieve EU directives or regulations that inform Nigerian statutes.

get_nigerian_implementations

Find Nigerian laws that implement a given EU act.

search_eu_implementations

Search EU documents and count Nigerian implementations.

get_provision_eu_basis

Get EU law references that apply to a specific provision.

validate_eu_compliance

Check the implementation status of EU directives in Nigerian law.