Less manual copying
Ask your client to find a held instrument and retrieve a specific passage. Source and version references travel with the result.
Request pilot access or ask about setup →
Bring Pakistan’s source-linked legislation, reviewed case relationships and evidence records into the tools you already use.
One research service, multiple clients. Connect through Claude Code, Claude’s API, Grok’s API, VS Code, or another compatible MCP client. Each connection uses its own access key.
Hosted access is an operator-issued pilot. Paid subscriptions and self-service sign-in are not open. The public website remains available for reading and research. View planned membership.
MCP—the Model Context Protocol—is a standard way for an AI application to call an external service’s tools. The Legis-Intel Pakistan connector lets a compatible client retrieve our held legal records and mapped evidence during your research conversation. You can follow the returned links back to the reader.
Ask your client to find a held instrument and retrieve a specific passage. Source and version references travel with the result.
Retrieve the passages behind a reviewed mapping, then ask your AI to explain the connection while retaining the source editions and qualifications.
Request coverage gaps or organise supplied evidence against a research checklist before deciding what further legal research is needed.
These examples describe supported research workflows, not saved AI answers. The client must call the relevant tools and preserve their limitations.
Nine read-only tools for held-title search, draft-heading search, exact passage retrieval, reviewed relationships, research checklists and coverage gaps. Access uses an operator-issued key.
Self-service ChatGPT browser connection, account-linked sign-in, paid entitlements, comprehensive version comparison and executable legal outcomes. A second historical version is not currently held for comparison.
US$5 monthly or US$50 annually. Institutional licensing by quotation. Payments and paid activation remain coming soon; an AI provider’s own charges are separate.
Membership and institutional plans →The connector gives the AI access to specific research evidence; it does not guarantee the AI’s interpretation or establish that a law is current. Check the returned sources before relying on an answer. Read the official MCP overview.
View pilot connection options → · Explore the Law as Code programme →
https://www.jusnrem.legal/mcpStreamable HTTP · Bearer access key · Nine read-only research tools
This is a client connection address. Opening it in a browser without credentials returns an access error.
Merge this server entry into your project’s .mcp.json. Set QANUN_ACCESS_TOKEN privately in the environment used to start Claude Code, then use /mcp to check the connection.
Download Claude Code configuration
{
"mcpServers": {
"qanun-maps": {
"type": "http",
"url": "https://www.jusnrem.legal/mcp",
"headers": {
"Authorization": "Bearer ${QANUN_ACCESS_TOKEN}"
}
}
}
}Merge this into .vscode/mcp.json. VS Code will prompt for your Legis-Intel Pakistan key. Start the server from the MCP configuration and inspect its tools.
Download VS Code configuration
{
"inputs": [
{
"type": "promptString",
"id": "qanun-token",
"description": "Legis-Intel Pakistan access key",
"password": true
}
],
"servers": {
"qanun-maps": {
"type": "http",
"url": "https://www.jusnrem.legal/mcp",
"headers": {
"Authorization": "Bearer ${input:qanun-token}"
}
}
}
}Use the Messages API MCP connector. The sample reads your model name, provider API key and Legis-Intel Pakistan key from environment variables and enables only legislation search initially.
Download Claude API Python sample
# Python 3. Set ANTHROPIC_API_KEY, ANTHROPIC_MODEL and QANUN_ACCESS_TOKEN privately.
import json, os, urllib.request
payload = {
"model": os.environ["ANTHROPIC_MODEL"], "max_tokens": 1200,
"messages": [{"role": "user", "content": "Find Health Care Commission legislation. Preserve source links and coverage limitations."}],
"mcp_servers": [{"type": "url", "name": "qanun_maps",
"url": "https://www.jusnrem.legal/mcp",
"authorization_token": os.environ["QANUN_ACCESS_TOKEN"]}],
"tools": [{"type": "mcp_toolset", "mcp_server_name": "qanun_maps",
"default_config": {"enabled": False},
"configs": {"find_legislation": {"enabled": True}}}]
}
request = urllib.request.Request("https://api.anthropic.com/v1/messages",
data=json.dumps(payload).encode(), headers={"Content-Type": "application/json",
"x-api-key": os.environ["ANTHROPIC_API_KEY"], "anthropic-version": "2023-06-01",
"anthropic-beta": "mcp-client-2025-11-20"})
with urllib.request.urlopen(request, timeout=90) as response:
print(response.read().decode())
Use xAI’s Responses API remote MCP tool. Set XAI_MODEL, XAI_API_KEY and QANUN_ACCESS_TOKEN privately before running the sample.
Download Grok API Python sample
# Python 3. Set XAI_API_KEY, XAI_MODEL and QANUN_ACCESS_TOKEN privately.
import json, os, urllib.request
payload = {
"model": os.environ["XAI_MODEL"],
"input": "Find Health Care Commission legislation. Preserve source links and coverage limitations.",
"tools": [{"type": "mcp", "server_label": "qanun_maps",
"server_url": "https://www.jusnrem.legal/mcp",
"headers": {"Authorization": "Bearer " + os.environ["QANUN_ACCESS_TOKEN"]},
"allowed_tools": ["find_legislation"]}]
}
request = urllib.request.Request("https://api.x.ai/v1/responses",
data=json.dumps(payload).encode(), headers={"Content-Type": "application/json",
"Authorization": "Bearer " + os.environ["XAI_API_KEY"]})
with urllib.request.urlopen(request, timeout=90) as response:
print(response.read().decode())
For a client that launches stdio MCP servers, use Node.js 22 or later and the Legis-Intel Pakistan bridge. Replace both paths in the example. The private token file contains only your issued key.
{
"mcpServers": {
"qanun-maps": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/bridge.mjs"
],
"env": {
"QANUN_TOKEN_FILE": "/ABSOLUTE/PRIVATE/PATH/client.token"
}
}
}
}Clients with native Streamable HTTP and custom authorization headers can use the endpoint directly.
ChatGPT and Claude browser-chat setup are not enabled by these access-key examples. OAuth sign-in and account-linked access are a separate release step. The Grok example is for its API, not a claim of a connector installed in grok.com.
Provider accounts have not been connected or charged by publishing these samples. API calls you run may incur charges under your provider plan.
The service searches held records, returns source and version references, retrieves reviewed relationships, and identifies evidence gaps. It does not determine current legal force or issue legal conclusions. Rule assessments remain UNDETERMINED as legal outcomes.
find_legislationfind_provisionsget_provisionfind_casesget_ruleget_mapping_evidencecompare_versionscoverage_gapsassess_rulePrivate manuscript chapters and unpublished authority mappings are outside this hosted corpus.
401: the access key is missing, invalid, revoked or expired. 403: the browser origin is not permitted. 405: use a compatible MCP client rather than a browser GET request. A tool error may mean that the requested source version or passage is not held.
Use a separate key for each client. The operator can remove its grant and redeploy to revoke access. Pilot access has no billing or subscription quota attached.
Download the complete setup notes · Explore the legislation library
Examine institutional development, adaptation and correction.
Examine authority, purpose and the choices before institutions.
Explore emerging consequences and the safeguards they require.