home / mcp / singapore law mcp server
Query Singapore legislation from Claude, Cursor, or any MCP-compatible client.
Configuration
View docs{
"mcpServers": {
"ansvar-systems-singapore-law-mcp": {
"url": "https://singapore-law-mcp.vercel.app/mcp"
}
}
}You can query Singapore law provisions directly from an MCP client such as Claude, Cursor, or any MCP-compatible tool. This server hosts a verified, searchable database of Singapore statutes and related materials, enabling you to retrieve exact provisions, check current status, and cross-reference EU implementations with ease.
Connect to the Singapore Law MCP Server using a remote HTTP endpoint or run the server locally. When connected, you can ask natural language queries like, “What does the Personal Data Protection Act say about consent?” or “Is this statute still in force?” The server returns exact provisions and allows building legal stances across statutes.
Prerequisites: Node.js installed on your machine. You will run either the remote MCP URL or start a local MCP server using npm.
# Option 1: Use the remote MCP server (no install required on your side)
# No local commands needed; simply connect your MCP client to the URL below.Option A: Use the remote MCP server (no install needed) connect to the following endpoint from your MCP client:
If you want to integrate with Claude Desktop or GitHub Copilot, you can add the MCP server configuration to your client settings.
Claude Desktop and Copilot configuration snippets are shown below. Use these exact configurations in your client to connect to the remote MCP URL.
{
"mcpServers": {
"singapore-law": {
"type": "url",
"url": "https://singapore-law-mcp.vercel.app/mcp"
}
}
}To run the server locally using npm, install dependencies, build, and start the server with the provided commands.
npx @ansvar/singapore-law-mcp
```
```json
{
"mcpServers": {
"singapore-law": {
"command": "npm",
"args": ["run", "dev"]
}
}
}Remote usage requires no local installation; you connect your MCP client to the hosted endpoint. Local usage involves starting the server on your machine and pointing your MCP client to the local process. The local option is useful for privileged or confidential work where data should not leave your environment.
Once connected, you can ask questions like: - What does the Singapore data protection law say about consent? - Search for cybersecurity requirements in Singapore legislation - Is this statute still in force? - Find provisions about personal data in Singapore law - What EU directives does this Singapore law implement? - Which Singapore laws implement the GDPR? - Validate this legal citation - Build a legal stance on data breach notification requirements.
All statute text is loaded from official sources and returned as-is from the database. No additional AI summarization or paraphrasing is applied to the statute text. Client connections to the MCP server are subject to standard security practices of the host deployment.
Content is sourced from authoritative Singapore government databases. Citations are validated against official sources, with zero reliance on generated content.
This tool is a research aid, not legal advice. Use professional counsel for critical citations and ensure verification against primary sources for court filings.
Development commands shown here help you run and test the server locally. You can build and test in your environment to contribute improvements.
If you reuse this MCP server in academic work, cite the project with the recommended bibliographic entry.
Full-text search across all provisions using FTS5 with BM25 ranking to quickly locate relevant statutes and provisions.
Retrieve a specific provision by statute, including chapter and section identifiers.
Check whether a statute is in force, amended, or repealed.
Validate a citation against the database to ensure accuracy and supportability.
Aggregate citations from multiple statutes to form a legal stance on a topic.
Format citations per Singapore conventions, including full, short, and pinpoint formats.
List all available statutes with metadata such as act, year, and significance.
Provide server information, capabilities, and coverage summary.
Retrieve EU directives or regulations relevant to a Singapore statute.
Find Singapore laws that implement a given EU act.
Search EU documents with counts of Singapore implementations.
Get EU law references for a specific provision.
Check the implementation status of EU directives in Singapore law.